[Bug 1771994] Re: postrm "systemctl start" call ignores policy-rc.d
Andreas Hasenack
andreas at canonical.com
Mon May 21 17:28:27 UTC 2018
I created a dummy /usr/sbin/policy-rc.d file that echoed to /tmp/andreas
the command line arguments it got, and no /tmp file was created when I
ran "systemctl restart systemd-timesyncd".
With "invoke-rc.d systemd-timesyncd restart", however, I got:
root at nsnx:~# cat /tmp/andreas
/usr/sbin/policy-rc.d invoked
arguments: systemd-timesyncd restart 5
So systemctl bypassed policy-rc.d, whereas invoke-rc.d does not.
--
You received this bug notification because you are a member of Ubuntu
Server, which is subscribed to chrony in Ubuntu.
https://bugs.launchpad.net/bugs/1771994
Title:
postrm "systemctl start" call ignores policy-rc.d
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1771994/+subscriptions
More information about the Ubuntu-server-bugs
mailing list