Raphael Hertzog <hert...@debian.org> writes:
>> provided as a hook. You also might want to look at the
>> policyrcd-script-zg2 package.
>>
> Except for chroots that do not run the boot-time scripts, this mechanism
> is mostly useless. /etc/init.d/rc doesn't know about policy-rc.d and thus
> you can't use it to disable services that are installed on a real server.
>
> (Or I missed something and someone need to enlighten me.)

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

discusses a prototype that I internally use. It hooks to policy-rc.d to
prevent services from starting during package installation and to dpkg
post-invoke to detect new services and disable them before you reboot
for the next time.


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/841u9js1z9....@sauna.l.org

Reply via email to