Re: [chrony-dev] create_dir in util.c - permissions

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


> On 23/11/2015, at 9:59 PM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
> 
> On Mon, Nov 23, 2015 at 09:44:19PM +1300, Bryan Christianson wrote:
>> /var/run isn't really the problem because reboot does clean all that up. Its logdir, dumpdir and drigtfile that have problems and the non-privileged daemon is unable to update them. And the error is easily missed because its not a show stopper, just a warning message in the syslog. (I wondered why my graphs stopped updating after switching to non-privileged mode)
> 
> Yeah, I can see how can that be a problem and I occasionally hit it
> too. Still, I'm not sure if it would be safe for chronyd to assume the
> directories are its own and not shared with some other daemon for
> instance.

I agree. Best thing for now is probably to just add comments/warnings to the sample configuration file(s) and possibly also in the documentation of the 'user' directive.

B


--
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/