Re: Debian in a changeroot
Joerg Platte <jplatte@jako.ping.de> writes:
> Am Montag, 18. August 2003 18:10 schrieb Aaron M. Ucko:
>> If you have sysvinit 2.80 or newer, you should be able to suppress the
>> init scripts entirely by creating an /usr/sbin/policy-rc.d that always
>> returns 101. (Just don't forget to make sure the target machines kill
>> that file....)
>
> Does that really work? I found a proposal from 2002 but no real ducumentation.
I haven't actually tested it, but my reading of /usr/sbin/invoke-rc.d
suggests that it should work. (For that matter, you can also just
divert invoke-rc.d away and replace it with a dummy program...)
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.
Reply to: