Hi folks,
I know runlevel is a out-of-date concept, but I am still a bit curious
about the current support of runlevel in systemd. If I understand
correctly, the runlevel is updated via "systemd-update-utmp". After I check
the source code, I think "systemd-update-utmp" has the following behavior:
can
expect that the next systemd version (v239) won't have the issue then.
John Lin
林自均 於 2018年5月23日 週三 下午10:32寫道:
> Hi John,
>
> I'm not sure whether this issue is because of
> https://github.com/systemd/systemd/pull/7158 or not. I will figure it
> out. Thanks.
>
>
Hi John,
I'm not sure whether this issue is because of
https://github.com/systemd/systemd/pull/7158 or not. I will figure it out.
Thanks.
John Lin
John Gallagher 於 2018年5月24日 週四 上午8:07寫道:
> If I have a unit file for a service that lives off the unit file
> search path, I can link it, and then
Hi Lennart,
Thanks for the quick response. I filed
https://github.com/systemd/systemd/issues/8860.
John Lin
Lennart Poettering 於 2018年4月30日 週一 下午7:40 寫道:
> On Mo, 30.04.18 10:47, 林自均 (johnl...@gmail.com) wrote:
>
> > Hi folks,
> >
> > According to tmpfiles.d(5), the t
Hi folks,
According to tmpfiles.d(5), the type "L" creates symbolic links. But I
can't find any type to create hard links. Did I miss anything? Thanks!
John Lin
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop
/stopped before systemctl exits.
Thank you all for solving my problems.
John Lin
Zbigniew Jędrzejewski-Szmek 於 2018年3月7日 週三 下午8:48寫道:
> On Tue, Mar 06, 2018 at 03:07:30AM +0000, 林自均 wrote:
> > Anyone?
> >
> > John Lin
> >
> > 林自均 於 2018年2月27日 週二 下午6:20寫道:
> >
Anyone?
John Lin
林自均 於 2018年2月27日 週二 下午6:20寫道:
> Hi Jérémy,
>
> Thank you, but I read the section "Mapping of unit properties to their
> inverses" in the man page
> https://www.freedesktop.org/software/systemd/man/systemd.unit.html and
> then found out
configured in a unit file. I was wondering why
PartOf= and ConsistsOf= are not the case. Thank you.
John Lin
Jérémy Rosen 於 2018年2月27日 週二 下午4:35寫道:
>
>
> On 27/02/2018 02:49, 林自均 wrote:
>
> Hi both Michal,
>
> Thank you for the quick responses! I think I will keep on using
Hi both Michal,
Thank you for the quick responses! I think I will keep on using the tedious
PartOf= directive.
However, may I ask why ConsistsOf= is readonly? If I can use it in my
"my-apps.target", that would be great.
John Lin
Michal Koutný 於 2018年2月26日 週一 下午7:28寫道:
>
>
> On 02/26/2018 11:0
Hi folks,
I would like to create a target unit to start and stop a group of services.
For example, I want a "my-apps.target" to start and stop "docker.service",
"sshd.service" and "mongodb.service". Here are my units and drop-ins:
# /etc/systemd/system/my-apps.target
[Unit]
Wants=dock
Hi Lennart,
Thank you, I will reconsider this design.
John Lin
Lennart Poettering 於 2018年1月24日 週三 19:41 寫道:
> On Di, 26.12.17 01:39, 林自均 (johnl...@gmail.com) wrote:
>
> > Hi folks,
> >
> > I am trying to achieve:
> >
> > # systemctl start sshd-shell.s
Hi Farzad,
It seems that you missed Lennart's comments? It's here:
https://lists.freedesktop.org/archives/systemd-devel/2018-January/040162.html
John
Farzad Panahi 於 2018年1月20日 週六 05:52 寫道:
> Hey guys. I really appreciate any comment on this issue. Please let me
> know if this question does no
uot;0" ] ; then /bin/systemctl stop sshd-core.service ; else /bin/systemctl
reload-or-restart sshd-core.service ; fi'
This version doesn't need to sleep 1 second to wait for sshd, so I guess it
makes more sense.
Is there any suggestion on that? Thanks!
John Lin
林自均 於 2017年12月26日 週二 上午9
Hi Lennart,
I've filed https://github.com/systemd/systemd/issues/7877 for this. Thanks
for explain the reason of not document this in the first place.
John Lin
2018-01-13 0:41 GMT+08:00 Lennart Poettering :
> On Do, 11.01.18 17:52, Uoti Urpala (uoti.urp...@pp1.inet.fi) wrote:
>
> > At boot, bot
週五 上午11:59寫道:
> 12.01.2018 03:47, 林自均 пишет:
> > How about adding an "--order" option to systemctl? With this option,
> > systemctl will sort those units by ordering dependencies before
> submitting
> > them.
>
> And why does it matter? If unit A can be star
How about adding an "--order" option to systemctl? With this option,
systemctl will sort those units by ordering dependencies before submitting
them. Although I personally wanted this to be the default behavior, I can
understand comparability matters.
John Lin
Reindl Harald 於 2018年1月12日 週五 上午4:5
Hi folks,
I have 2 service unist: first.service and second.service. I configured
"After=first.service" in second.service. Both services are "Type=oneshot".
If I execute:
# systemctl start first.service second.service
The ordering dependency will work, i.e. second.service will start after
first.
Hi Zbyszek and Mantas,
I got it. Thank you for the detailed answers.
John Lin
Mantas Mikulėnas 於 2018年1月9日 週二 下午4:23寫道:
> On Tue, Jan 9, 2018 at 10:10 AM, 林自均 wrote:
>
>> Hi folks,
>>
>> I saw the following lines in README:
>>
>> > REQUIREM
Hi folks,
I saw the following lines in README:
> REQUIREMENTS:
> Linux kernel >= 3.13
> Linux kernel >= 4.2 for unified cgroup hierarchy support
I guess it means that some part of the whole systemd project requires Linux
kernel 3.13. What if I don't need that part and only pid1 i
Hi folks,
I am trying to achieve:
# systemctl start sshd-shell.service (1)
# systemctl start sshd-sftp.service (2)
# systemctl stop sshd-shell.service (3)
# systemctl stop sshd-sftp.service (4)
Before the command (1), sshd is not running. By typing (1),
/etc/sshd_config is config
n the
swap.target be a passive target to avoid unnecessary sync point? I guess
there must be a reason not to do so, but I don't know what it is.
John
Lennart Poettering 於 2017年10月24日 週二 下午4:45寫道:
> On Mo, 16.10.17 15:15, 林自均 (johnl...@gmail.com) wrote:
>
> > Hi folks,
> >
> &
- rpcbind.target
- time-sync.target
Are they all related to early days initscripts?
Thanks.
John
Andrei Borzenkov 於 2017年10月18日 週三 00:58 寫道:
> 16.10.2017 18:15, 林自均 пишет:
> > Hi folks,
> >
> > I am reading systemd documents, and I find passive target units a little
> >
Hi Zbyszek,
Got it! I will file an RFE and a pull request for that. Thanks so much!
John
Zbigniew Jędrzejewski-Szmek 於 2017年10月17日 週二 22:40 寫道:
> On Tue, Oct 17, 2017 at 09:49:36AM +0000, 林自均 wrote:
> > Hi folks,
> >
> > I learned that [Install] section in a drop-in i
Hi folks,
I learned that [Install] section in a drop-in is not respected. This
behavior is documented, but I failed to see *why*.
I found this related GitHub issue:
https://github.com/systemd/systemd/issues/1774, and here is the quote from
"poettering commented on 5 Nov 2015":
> Well, this has b
Hi folks,
I am reading systemd documents, and I find passive target units a little
bit confusing.
Take "network.target" for example:
"systemd-networkd.service" specifies "Wants=network.target" and
"Before=network.target". That effectively makes starting
"systemd-networkd.service" brings up both
25 matches
Mail list logo