Bug#410383: [pkg-ntp-maintainers] Bug#410383: stats unlinking - permission denied

Kurt Roeckx kurt at roeckx.be
Sat Feb 10 17:37:00 CET 2007


On Sat, Feb 10, 2007 at 12:59:18PM +0100, Peter Eisentraut wrote:
> Neil McGovern wrote:
> > 07:01:44 cheddar ntpd[32025]: can't open
> > /var/log/ntpstats/peerstats.20070210: Permission denied
> >
> > However, these files are read/write by the user ntp, as is the
> > directory.
> 
> selinux?

>From a discussion on IRC:
<Maulkin> Q_: Issue occurs when it's started with /etc/init.d/ntp-server, rather than /etc/init.d/ntp. Oddly, /etc/init.d/ntp-server wasn't ever disabled.
<Q_> ntp-server is from a removed package ...
<Manoj> but since the binary name remained the same, it never disables itself
<Maulkin> Yes, but still linked in and starting at boot time
<Maulkin> Prehaps a note in NEWS.Debian may suffice

I think the problem is that the files are owned by ntp:ntp, it's started
as root (with the one from ntp-server), it drops capabilities and then
gets a permission denied.


Kurt





More information about the pkg-ntp-maintainers mailing list