Package: pbbuttonsd Version: 0.6.6-3 Severity: normal File: /etc/power/scripts.d/laptopmode.sh
Hello, I've got an ext3 filesystem with the "user" option in fstab. On AC unplug, laptopmode.sh tries to remount it with different options (increased commit time, etc.), and keep options provided by mount (in my case: rw,noexec,nosuid,nodev,noatime,user=fzt). Unfortunately, the "user=..." cannot be used with remount, and the script silently fails (no mount option is modified) to remount the filesystem, with the following error: mount: /mnt/secret not mounted already, or bad option Then on AC plug, the script remounts the filesystem without the commit, and atime options. But doing this as root makes as if the filesystem was mounted by root and the user cannot unmount it anymore. IMHO, mount doesn't permit to remount a filessystem and keep the initial user. And it is not possible to execute the "mount -o remount" command as the user indicated by "user=". Ignoring filesystems with the "user" option is acceptable for me if it's documented (I will then use the noatime and commit=600 whatever the AC state). BTW, the noatime option is added even if already specified. -- System Information: Debian Release: 3.1 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: powerpc (ppc) Kernel: Linux 2.6.9 Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Versions of packages pbbuttonsd depends on: ii eject 2.0.13deb-8 ejects CDs and operates CD-Changer ii hdparm 5.8-1 Tune hard disk parameters for high ii libc6 2.3.2.ds1-20 GNU C Library: Shared libraries an -- no debconf information Thanks in advance, -- Nekral -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]