Re: [chrony-dev] Upstream systemd change to PIDFile location in service unit

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


On Thu, Apr 11, 2019 at 11:05:37AM -0500, Troy Engel wrote:
> Understood - in my humble opinion, it's a disservice to have the built-in
> compiled directory be different than the example unit file, as if you just
> compile it with the defaults but then change only the systemd unit the
> process hangs when trying to (re)start it, as the app is creating the PID
> file in a location different than where systemd is trying to look for it.

If there is the /var/run -> /run compatibility symlink, I think it
should work even in the default configuration.

> Here's me changing just the unit file without the compiled-in directory:
> 
> ====================
> Apr 11 10:07:55 garage chronyd[6230]: chronyd version 3.4 starting (+CMDMON
> +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6>
> Apr 11 10:07:55 garage chronyd[6230]: Frequency -13.439 +/- 0.532 ppm read
> from /var/lib/chrony/drift
> Apr 11 10:07:55 garage systemd[1]: chronyd.service: Can't open PID file
> /run/chronyd.pid (yet?) after start: No such file or directory

Shouldn't it be opening /run/chrony/chronyd.pid?

-- 
Miroslav Lichvar

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/