insserv or update-rc.d or something else?

Berni Elbourn berni at elbournb.fsnet.co.uk
Mon Sep 19 11:04:28 UTC 2011


On 17/09/11 16:38, sktsee wrote:
>
> 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.
>>
>> https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/739007
>>
>> 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.
>

Thanks I think I will have a peek at the pre/pst scripts and try that on 
a test system first ;-)




More information about the ubuntu-users mailing list