Re: [systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Andrei Borzenkov
02.07.2020 21:28, Thomas HUMMEL пишет: > > > On 02/07/2020 19:00, Andrei Borzenkov wrote: > >> After=syslog.socket will exist only if rsyslog.service is aliased to >> syslog.service and your problem was when you removed this alias. > > Correct (I did miss this simple thing) ! > > >> On boot

Re: [systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Thomas HUMMEL
On 02/07/2020 19:00, Andrei Borzenkov wrote: After=syslog.socket will exist only if rsyslog.service is aliased to syslog.service and your problem was when you removed this alias. Correct (I did miss this simple thing) ! On boot activation of syslog.socket happens much earlier than

Re: [systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Andrei Borzenkov
02.07.2020 18:57, Thomas HUMMEL пишет: > > > On 02/07/2020 16:44, Andrei Borzenkov wrote: > >> This is common misunderstanding. Dependencies are between jobs, not >> between units. Requires means systemd will submit additional job for >> dependent unit - nothing more nothing less. Unless

Re: [systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Thomas HUMMEL
On 02/07/2020 16:44, Andrei Borzenkov wrote: This is common misunderstanding. Dependencies are between jobs, not between units. Requires means systemd will submit additional job for dependent unit - nothing more nothing less. Unless systemd is also told to wait for result of this additional

Re: [systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Andrei Borzenkov
02.07.2020 16:09, Thomas HUMMEL пишет: > > [Unit] > Requires=syslog.socket > > [Install] > ;Alias=syslog.service > ... > > # systemctl start rsyslog > A dependency job for rsyslog.service failed. See 'journalctl -xe' for > details. > > BUT rsyslog service (and daemon) are actually running: >

Re: [systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Reindl Harald
Am 02.07.20 um 15:09 schrieb Thomas HUMMEL: > On CentOS Linux release 8.1.1911 (Core) x86_64 running systemd-239 and > rsyslog-8.37.0 I'm experiencing a sometime strange (to me) activation of > rsyslog.service when I would expect it to fail for a dependency reason. > > Note : I know how to

[systemd-devel] systemd-journald, syslog.socket and service activation

2020-07-02 Thread Thomas HUMMEL
Hello, On CentOS Linux release 8.1.1911 (Core) x86_64 running systemd-239 and rsyslog-8.37.0 I'm experiencing a sometime strange (to me) activation of rsyslog.service when I would expect it to fail for a dependency reason. Note : I know how to make rsyslog and systemd coexist and I did

Re: [systemd-devel] Antw: [EXT] Re: Child of daemon sending SIGCHLD to systemd

2020-07-02 Thread Reindl Harald
Am 02.07.20 um 07:39 schrieb Ulrich Windl: >> The daemon doesn't create PID file, and I'm certainly not going to add >> that functionality now. :-) > > How does you daemon detect that it's running already? ;-) why would you care about? systemd is not dumb sysvinit not knowing what his fired