[Bug 232929] New: umount by LABEL fails for normal user
https://bugzilla.novell.com/show_bug.cgi?id=232929 Summary: umount by LABEL fails for normal user Product: openSUSE 10.2 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: opensuse@arvin.schnell-web.net QAContact: qa@suse.de I have entered my SD card-reader in fstab as follows: LABEL=NIKON_D50 /media/nikon msdos noauto,user 0 0 Mounting and unmounting work as root. But unmounting as normal user doesn't work. I get the error message: tcsh: mount /media/nikon/ tcsh: umount /media/nikon/ umount: /media/nikon mount disagrees with the fstab Changing fstab to use the new path /dev/disk/by-label/NIKON_D50 fixes the problem. But these new paths are not mentioned in the man-page of fstab. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232929 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |mkoenig@novell.com |screening@forge.provo.novell| |.com | Severity|Normal |Minor ------- Comment #1 from mhorvath@novell.com 2007-01-10 08:22 MST ------- So, it's the fstab man page bug. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232929 mkoenig@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232929 ------- Comment #2 from opensuse@arvin.schnell-web.net 2007-05-02 13:50 MST ------- One additional important detail: The underscore in the label name is originally a white space. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232929 ------- Comment #3 from mkoenig@novell.com 2007-05-04 07:24 MST ------- Yes, that's it. udev creates the by-label symlinks not with the real label but with a converted safe name. The conversion rules are: '/' gets skipped multiple spaces -> '_' To do a device-by-label lookup mount follows the /dev/disk/by_label symlink. But a label-by-device lookup is done by getting the LABEL tag via libvolume_id library, this returns the real label. I'm not really sure yet, how to fix this cleanly. I suppose when working with libvolume_id we always should use the safe label in mount, as there is no easy way to do device-by-label lookup with the library, other than following the symlinks. So, I think it will be best to patch the mount abstraction layer for volume handling to convert to real label to the safe label. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=232929#c4 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #4 from Matthias Koenig <mkoenig@novell.com> 2007-06-21 06:59:08 MST --- Fixed in stable -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com