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

Re: RC levels



Tom Allison wrote:

> I don't know if I can modify rc2 and still keep my installations
> reasonable.  When debian installs packages (services like postfix) it
> will put rc links into rc2 through rc5.  Is there some way to block these?

As long as a linked script exists in one of the rc[x].d directories, the
links will not be updated. This is documented in the man page for
update-rc.d (which Debian packages use to add/remove those links).

However, IIRC Debian installations default to runlevel 2, so you will need
to change the default by modifying /etc/inittab, or use another runlevel
besides 2.

Runlevel 4 would be a good choice, because the SysV spec designates that
runlevel as unused, and the *nix vendors that use SysV actually all
followed it (at least, I don't know of any that haven't).

Adam



Reply to: