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

Re: Preserving admin runlevel modifications on upgrade?



Maximilian Wilhelm <max@rfc2324.org> schrieb:

> Am Montag, den  7. Februar hub Frank Küster folgendes in die Tasten:
>
>> Christian Hammers <ch@debian.org> schrieb:
>
>> > AFAIK the standard way of registering daemons is to run
>> >  update-rc.d foobar defaults
>> > in the postinst script. This sadly resets any changes the administrator
>> > made on every upgrade.
>
>> Only if the administrator didn't read the docs properly.
>
>> > What is the recommended?
>
>> read update-rc.d(8), section "INSTALLING INIT SCRIPT LINKS", second
>> paragraph. 
>
> OK, if I rearrange things no problem.
> But if I remove runleve-links because I e.g. want to be able to run
> apache/MySQL/Samba/openVPN/atftpd/dhcpd ... whatever on my laptop
> but do not want them to be run whenever I boot the maschine, I have to
> remove the links manually after every update of the services :-(
>
> So it would be really cool to do something like Christian suggested :-)
>
> Or did I miss any mechanism how to get this to work?

Just keep one ##K link around.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer



Reply to: