Public bug reported:
Accidentally I have removed symlinks to mountkernfs.sh from /etc/rcS.d/
directory. So I have created them back with update-rc.d command. update-
rc.d is creating symlinks with sequence number 20. As a result my root
partition was mounted read only at a boot time.
Here is how to reproduce this situation:
[EMAIL PROTECTED]:~# update-rc.d -f mountkernfs.sh remove
Removing any system startup links for /etc/init.d/mountkernfs.sh ...
/etc/rc0.d/K01mountkernfs.sh
/etc/rc1.d/K01mountkernfs.sh
/etc/rc6.d/K01mountkernfs.sh
/etc/rcS.d/S01mountkernfs.sh
[EMAIL PROTECTED]:~# update-rc.d mountkernfs.sh defaults
Adding system startup for /etc/init.d/mountkernfs.sh ...
/etc/rc0.d/K20mountkernfs.sh -> ../init.d/mountkernfs.sh
/etc/rc1.d/K20mountkernfs.sh -> ../init.d/mountkernfs.sh
/etc/rc6.d/K20mountkernfs.sh -> ../init.d/mountkernfs.sh
/etc/rcS.d/S20mountkernfs.sh -> ../init.d/mountkernfs.sh
Working workaround is to run update-rc.d with sequence number 01:
[EMAIL PROTECTED]:~# update-rc.d mountkernfs.sh defaults 01
Adding system startup for /etc/init.d/mountkernfs.sh ...
/etc/rc0.d/K01mountkernfs.sh -> ../init.d/mountkernfs.sh
/etc/rc1.d/K01mountkernfs.sh -> ../init.d/mountkernfs.sh
/etc/rc6.d/K01mountkernfs.sh -> ../init.d/mountkernfs.sh
/etc/rcS.d/S01mountkernfs.sh -> ../init.d/mountkernfs.sh
I'm using Ubuntu 8.10 with sysv-rc-2.86.ds1-59ubuntu13.
** Affects: sysvinit (Ubuntu)
Importance: Undecided
Status: New
--
update-rc.d is creating wrong symlinks in /etc/rcS.d/
https://bugs.launchpad.net/bugs/304952
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs