init.d scripts disappeared in 10.04

Nils Kassube kassube at
Sun Dec 25 13:04:02 UTC 2011

Barry wrote:
> At some point, the machine wouldn't shut down gracefully. I had to
> hold down the power button to get it stopped. I didn't pay too much
> attention in the beginning, but finally looked at the console before
> hitting the power button and the avahi daemon was complaining that
> /etc/init.d/rc didn't exist. I meant to look into it but never did.

> What might have happened and how do I fix it -- short of
> re-installing?

I have no idea what happened, but you might get the file /etc/init.d/rc 
back if you reinstall the package "sysv-rc". Are there more files 
missing in "/etc/init.d/"?


More information about the ubuntu-users mailing list