insserv or update-rc.d or something else?

sktsee sktseer at
Sat Sep 17 15:38:38 UTC 2011

On 09/16/2011 03:03 PM, Berni Elbourn wrote:
> Hi,
> I have a 10.04 lts system which seems to have been a victim of the
> problem described here.
> I have used mv to alter the ordering of rc0.d, and rc6.d and the system
> no longer looses data on a clean halt/reboot.
> However, is there an official way to fix this please?

Try "sudo dpkg-reconfigure initscripts". Though since you've moved stuff 
around I'm not sure if the packaging scripts will handle setting up the 
service symlinks correctly. You may need to use the "--force" option.

You may have reinstall the initscripts package altogether if 
dpkg-reconfigure doesn't work. To reinstall use "sudo apt-get install 
--reinstall initscripts" If that fails, use the "--force=yes" option 
with that.

Standard caveat: You should backup your system before attempting to use 
any of the above commands since there is a potential to damage your setup.

If all else fails, you could fix the links manually by comparing them 
againt the rc*.d directories of a LiveCD.


More information about the ubuntu-users mailing list