can't reboot when root fs mounted r/o
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
laptop-mode-tools (Debian) |
Fix Released
|
Unknown
|
|||
laptop-mode-tools (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
sysvinit (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: initscripts
Some init script is hanging when you try to execute reboot from a read only root fs.
This is especially problematic if you have errors on your root patition, and have booted to single user mode, where you ro,remount'd root and then fsck'd it (and fsck reported errors).
Details:
root@ganiodayo:/# mount | grep sda6
/dev/sda6 on / type ext3 (ro,relatime,
root@ganiodayo:/# reboot
root@ganiodayo:/# init: rcS-sulogin main process (5525) killed by TERM signal
* Stopping GNOME Display Manager... [ OK ]
* Stopping Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ]
* Stopping DHCP D-Bus daemon dhcdbd [ OK ]
* Stopping NFS commom utilities [ OK ]
* Stopping Postfix Mail Transport Agent postfix [ OK ]
* Stopping VirtualBox kernel module vboxdrv [ OK ]
Shutting down VirtualBox host networking...done
* Stopping MySQL database server mysqld [ OK ]
* Saving the system clock
hwclock: Could not open file with the clock adjstment parameters in it (/etc/adjtime) for writing, errno=30: Read-only file system.
Drift adjustment parameters not updated.
* Stopping firewall: ufw... [ OK ]
* Shutting down ALSA...
* warning: 'alsactl store' failed with error message 'alsactl: save_state:1278: Cannot open /var/lib/
* Unmounting any overflow tmpfs fro m/tmp... [ OK ]
mktemp: cannot create temp file /tmp/tmp.
* Disabling laptop mode:
/etc/rc6.
( hang )
Related branches
Changed in laptop-mode-tools: | |
status: | Unknown → New |
Changed in laptop-mode-tools: | |
status: | New → Fix Released |
Bump. This is urgent - people can't boot to single user mode, remount r/o, fsck, and then reboot.