[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Packages not removable because the `/etc/init.d/package stop' fails.



Le Fri, Jul 11, 2008 at 10:45:39PM -0700, Russ Allbery a écrit :
> Charles Plessy <plessy@debian.org> writes:
> 
> > As a result, if the daemon is not running, postrm fails and the package
> > can not be removed. See #489366 for example. Now I wonder how to deal
> > with that kind of problem. It could be solved at the package level,
> > except that such bug but is probably not grave enough for the package to
> > be updated in Etch.
> 
> Well, it's an RC bug (violation of the must in Policy 9.3.2) for the stop
> action of an init script to fail if the daemon is not running, which is
> fairly serious.

I eventually realised that the reason why peercast-servent fails to be
removed when the peercast daemon is not running is because the package
uses an /etc/init.d template from dh_make, that calls start-stop-daemon
without --oknodo.  The bug is fixed in Lenny and Sid.  I will raise the
priority to serious, and mark it as fixed in the relevant versions.  I
guess that similar bugs are around, but apparently this has been
discussed this month in a thread that I skipped reading because at that
time I was wondering if 'Oknodo' was the name of a tropical island.

Have a nice day,

-- 
Charles Plessy
Debian-Med packaging team,
Tsurumi, Kanagawa, Japan


Reply to: