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

Re: enable/disable support in /usr/sbin/service

On Fri, Mar 4, 2011 at 12:35 PM, Stefano Zacchiroli <zack@debian.org> wrote:
> On Wed, Mar 02, 2011 at 11:54:05AM -0800, Steve Langasek wrote:
>> At present there *is* no reliable sysadmin interface for enabling/disabling
>> services.  update-rc.d is not it; many admins have been using 'update-rc.d
>> -f remove' for years, but this is /wrong/ and it is /documented/ that this
>> will cause the links to be readded on package upgrade.  policy-rc.d is not
>> it; the spec for this is bloated and I've never heard of an admin who's ever
>> bothered implementing anything more than a "don't start any services in a
>> chroot" policy using this.  And /etc/default/* isn't it; no consistent
>> variable naming, not implemented for all services (and shouldn't be), so
>> it's not scriptable, so it requires vi.
>> So the mv command above *is* the current method.  And we're in desperate
>> need of a better one.
> Right, this is the technical problem to solve: find one (handy) method
> to enable/disable services and "bless" it as the recommended one.




Reply to: