Bug 145258

Summary: filesystems mounted twice
Product: [openSUSE] SUSE Linux 10.1 Reporter: Marcus Meissner <meissner>
Component: BasesystemAssignee: Ruediger Oertel <ro>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: hare, rw, werner
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: boot.msg
fstab

Description Marcus Meissner 2006-01-24 17:56:24 UTC
i have a seperate /abuild on /dev/hda12.

when booting i see :
mount: /dev/hda12 already mounted on /abuild

and on an earlier run it was already mounted as e2fsck was called.

i will attach /var/log/boot.msg.
Comment 1 Marcus Meissner 2006-01-24 17:57:19 UTC
Created attachment 64834 [details]
boot.msg
Comment 2 Dr. Werner Fink 2006-01-24 18:08:26 UTC
Please attach the /etc/fstab
Comment 3 Marcus Meissner 2006-01-24 18:10:12 UTC
Created attachment 64835 [details]
fstab
Comment 4 Raymund Will 2006-01-25 12:35:54 UTC
'udev' and 'boot.localfs' are racing for 'fsck' and 'mount'...

See bug #145400 -- but I don't think it's a simple duplicate.

Does anybody know, what happens if 'fsck.*' is halfway through
a filesystem, while somebody else blindly triggers a 'mount' ?
(on every "supported" file-system?)
Comment 5 Hannes Reinecke 2006-01-25 12:55:22 UTC
Shouldn't happen.
boot.localfs has a dependency on boot.udev.
boot.udev waits for all events to finish, ie also all fsck / mount calls triggered by events will be done once boot.udev finishes.

The only instance where this _might_ happen is when using USB disks, as USB detects devices asynchronously.
Comment 6 Ruediger Oertel 2006-01-30 15:47:06 UTC
boot.localfs mounts with "-noopts=hotplug", udev will only touch the hotplug
devices now.