Re: [chrony-users] chrony-3.4-pre1 released |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
On Fri, Aug 31, 2018 at 11:36:06AM +0200, Miroslav Lichvar wrote:
> * Change default pidfile to /var/run/chrony/chronyd.pid to allow
> chronyd without root privileges to remove it on exit
Please note that if you are using systemd, you will need to change the
PIDFile in the unit file in order to avoid systemd killing the daemon
when it doesn't find the PID in the expected location.
systemd needs to be told by "systemctl daemon-reload" that the unit
file has changed before restarting the service.
Downstream packagers, please consider fixing PIDFile in custom unit
files (in /etc/systemd/system) in upgrade scripts using a sed command
to minimize the breakage.
I'm sorry for the trouble this change will cause. It had to be done to
fix chronyd -q (aka ntpdate mode) to not break chronyd running as a
service.
--
Miroslav Lichvar
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.