Bug 805041

Summary: usb stick mouted twice
Product: [openSUSE] openSUSE 12.3 Reporter: Harald Koenig <koenig>
Component: BasesystemAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: wstephenson
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Harald Koenig 2013-02-21 17:40:32 UTC
runing 12.3-RC1 plus updates with XFCE4 desktop, an usb stick with vfat got automagically mounted twice:

$ df
/dev/sdb1                      31250016     52224  31197792   1% /run/media/harald/CB74-6460
/dev/sdb1                      31250016     52224  31197792   1% /var/run/media/harald/CB74-6460

$ grep sdb1 /proc/mounts
/dev/sdb1 /run/media/harald/CB74-6460 vfat rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
/dev/sdb1 /var/run/media/harald/CB74-6460 vfat rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro 0 0
Comment 1 Will Stephenson 2013-02-22 09:53:52 UTC
The kernel can't indicate bind mounts clearly to the user.

/var/run and /run are the same tmpfs bind mounted, and as a result any removable media mounted underneath that appear twice in /proc/mounts.  

We'll add something to the release notes.