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

Kurt Roeckx kurt at roeckx.be
Tue Feb 27 20:07:16 CET 2007


On Sat, Feb 10, 2007 at 05:37:00PM +0100, Kurt Roeckx wrote:
> 
> >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.

So,

I'm thinking about running this during upgrade:
update-rc.d -f ntp-server remove

Comment?

Kurt





More information about the pkg-ntp-maintainers mailing list