Re: [RFH] !!SOS!! totally hosed init system
On Fri, 3 Jan 2014, Roger Leigh wrote:
> If file-rc and/or the maintainer scripts somehow restored the links
> incorrectly, then insserv will ignore the header and preserve your
Hm. I can’t remember *ever* doing *any* customisations.
I normally just put an “exit 0” below the shebang to disable
an init script as, back then, nobody knew what the right way
was (now we know update-rc.d is supposed to be used).
But then, I migrated to file-rc *extremely* early, so it’d
obviously not got “all” links in its backup.
> "insserv -d" should revert to the defaults. And there's not usually
> any reason to deviate from them.
Hm, all it did for me was to emit all those warnings again.
> If not, you could remove the structure entirely and then try re-
> running "insserv -d" again.
Ah! So basically “rm -rf /etc/rc*.d” followed by “insserv -d”?
That may very well be the missing piece. I’ll try that on Monday
(not right now where I have only remote access), but thanks already.
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-314
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Boris Esser, Sebastian Mancke