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@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 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs