Bug 351760

Summary: yast partitioner shows wrong mount points
Product: [openSUSE] openSUSE 10.2 Reporter: Dominik Platz <psikodad>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 10.2   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs

Description Dominik Platz 2008-01-04 20:53:33 UTC
Created attachment 189404 [details]
yast logs

the yast partitioner shows wrong mount points for two entries.

see yast logs at time 2008-01-04 20:46

the mount points of
/dev/md0 on /srv/ftp/mp3 
/dev/md1 on /srv/ftp/video
are wrong.

correct is:
/dev/md0 on /home
/dev/md1 on /home/dom/video

The reason could be that I'm executing two --bind mount commands at start up:

mount -r --bind /home/dom/video/Nina /srv/ftp/video
mount -r --bind /home/dom/MP3 /srv/ftp/mp3


the output of mount shows
-----------
dom@alone:~> mount
/dev/hda3 on / type reiserfs (rw,noatime,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hdc5 on /windows/160GB type reiserfs (rw,noatime,acl,user_xattr)
usbfs on /proc/bus/usb type usbfs (rw,default)
/dev/md0 on /home type reiserfs (rw,noatime)
/dev/md1 on /home/dom/video type reiserfs (rw,noatime)
/home/dom/video/Nina on /srv/ftp/video type none (ro,bind)
nfsd on /proc/fs/nfsd type nfsd (rw)
/home/dom/MP3 on /srv/ftp/mp3 type none (ro,bind)
--------------

after umounting /srv/ftp/mp3 and /srv/ftp/video everything is OK.
YaST shows now the correct mount points for /dev/md0 and /dev/md1.
(see yast logs at 2008-01-04 21:31)

I guess the --bind confuses YaST, isn't it?

regards
Dominik

PS: the yast logs are 2MB big and I removed already some old log files. The original save_y2logs file is 10MB big.
If you need the full file, just ask for them...
Comment 1 Thomas Fehr 2008-01-14 12:10:58 UTC
Yes, you are right the bind mounts confuse YaST2.
I think I made some adaptions of code that should prevent this in newer releases.


*** This bug has been marked as a duplicate of bug 271720 ***