Public bug reported:
Binary package hint: laptop-mode-tools
laptop-mode's feature to remount filesystems when switching modes does
not work properly.
One problem is that wildcards in PARTITIONS do not work, so the default setting
of /dev/mapper/* is useless.
Another problem is that it fails to restore original mount options:
I made my setup easier for testing:
PARTITIONS="/boot"
CONTROL_MOUNT_OPTIONS=1
to be clean I stopped laptop_mode and removed /var/run/laptop-mode-nolm-
mountopts
[EMAIL PROTECTED]:~# mount | grep /boot
/dev/sda1 on /boot type ext3 (rw)
[EMAIL PROTECTED]:~# laptop_mode start
Laptop Mode Tools 1.32
On AC power: Activating, because ENABLE_LAPTOP_MODE_ON_AC is set.
Laptop mode enabled, active.
[...]
Remounting filesystems.
[...]
/dev/sda1 not found in PARTITIONS.
/boot found in PARTITIONS.
Original options: rw
Updating /var/run/laptop-mode-nolm-mountopts.
Reducing file system type.
Removing commit mount option from original options.
Executing: mount /dev/sda1 -t ext3 /boot -o remount,rw,commit=360,noatime
[...]
[EMAIL PROTECTED]:~# mount | grep /boot
/dev/sda1 on /boot type ext3 (rw,noatime,commit=360)
[EMAIL PROTECTED]:~# cat /var/run/laptop-mode-nolm-mountopts
/dev/sda1 rw
[EMAIL PROTECTED]:~# laptop_mode stop
Laptop Mode Tools 1.32
On AC power: Activating, because ENABLE_LAPTOP_MODE_ON_AC is set.
Laptop mode disabled, not active.
[...]
Remounting filesystems.
[...]
/dev/sda1 not found in PARTITIONS.
/boot found in PARTITIONS.
Original options: rw,noatime,commit=360
==> these are NOT the original options!
Reducing file system type.
No saved mount options, so apparently we never remounted this filesystem during
this session.
Not remounting.
[...]
[EMAIL PROTECTED]:~# mount | grep /boot
/dev/sda1 on /boot type ext3 (rw,noatime,commit=360)
[EMAIL PROTECTED]:~# cat /var/run/laptop-mode-nolm-mountopts
/dev/sda1 rw
[EMAIL PROTECTED]:~#
** Affects: laptop-mode-tools (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
laptop-mode remount does not work
https://bugs.launchpad.net/bugs/113207
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs