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

Re: enable/disable flags in /etc/default



Am 20.03.2011 16:14, schrieb Timo Juhani Lindfors:
> Serafeim Zanikolas <sez@debian.org> writes:
>> On Thu, Mar 10, 2011 at 12:59:46AM +0200, Timo Juhani Lindfors wrote:
>>> If you want to make sure that only carefully chosen services are ever
>>> running then you still need to maintain your own /usr/sbin/policy-rc.d
>>
>> For symlink-based init systems, renaming init script symlinks to S*/K* should
>> be enough to ensure that only certain services ever run.
> 
> Hmm?. At least /var/lib/dpkg/info/avahi-daemon.postinst runs
> "invoke-rc.d avahi-daemon start" without consulting the symlinks which
> means that if I install the package the service is started regardless of
> the symlinks.

Not true. If a service has been disabled (by renaming S* to K*) invoke-rc.d
honours that and does not start the service.

Michael



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: