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

Re: enable/disable flags in /etc/default



On 2011-03-02 20:54 +0100, Steve Langasek wrote:

> On Wed, Mar 02, 2011 at 03:42:28PM +0200, Faidon Liambotis wrote:
>
>> Also, while we're at update-rc.d's documentation, that particular
>> manpage says:
>> >        Example of disabling a service:
>> >           update-rc.d -f foobar remove
>> >           update-rc.d foobar stop 20 2 3 4 5 .
>> Have you tried that recently? It doesn't work in squeeze systems.
>
> Sounds like a bug; has anyone filed it?

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=606505

>> On the other hand, update-rc.d has enable/disable since squeeze, but
>> this is considered an unstable interface, AFAIK.
>
> Hmm.  I don't think update-rc.d is the right place for this anyway (we
> should fix things to have proper layering so that 'update-rc.d' is
> exclusively an internal package interface, and 'service' is exclusively an
> admin interface), but where do you see that update-rc.d enable/disable is an
> unstable interface?  It's not documented as such in the manpage.

See Kel's reply in the above bug report.

Cheers,
       Sven


Reply to: