Bug 711403

Summary: ISO images are not loop mounted at boot
Product: [Fedora] Fedora Reporter: Cristian Ciupitu <cristian.ciupitu>
Component: systemdAssignee: Lennart Poettering <lpoetter>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-29 22:49:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/etc/fstab none

Description Cristian Ciupitu 2011-06-07 12:21:02 UTC
Created attachment 503468 [details]
/etc/fstab

Description of problem:
My /etc/fstab has a couple of ISO images which should be loop mounted at boot time, for example:

  /mnt/extra/Software/Linux/Fedora/Fedora-14-x86_64-DVD/Fedora-14-x86_64-DVD.iso	/mnt/misc/Fedora-14-x86_64-DVD	iso9660	loop,ro,context=system_u:object_r:public_content_t:s0	0	0

Also these mount points are bind mounted under /srv/nfs in order to share them over NFSv4. For the previous ISO image I'm using the following fstab entry:

  /mnt/misc/Fedora-14-i386-DVD    /srv/nfs/Fedora-14-i386-DVD     none    bind    0       0

When I start the computer the ISO images are not mounted. Though the NFS shares are mounted:

  /dev/mapper/hermesVG-Fedora--rootVol on /srv/nfs/Fedora-14-x86_64-DVD type ext4 (rw,relatime,seclabel,barrier=1,data=ordered)

Version-Release number of selected component (if applicable):
systemd-26-2.fc15.x86_64.rpm
systemd-sysv-26-2.fc15.x86_64.rpm
systemd-units-26-2.fc15.x86_64.rpm

How reproducible:
Every time

Steps to Reproduce:
1. Use a fstab similar to the attached one and reboot.

Actual results:
No ISO images mounted. Though /srv/nfs shares are mounted.

Expected results:
ISO images should be mounted and then the NFS shares should be mounted as well.

Additional info:
If I remember correctly the ISO images get mounted if I remove the last lines for the NFS shares.
It also worked fine under Fedora 14.

Comment 1 Michal Schmidt 2011-06-29 22:49:20 UTC
The fstab has the bind mounts pattern that is now known to be handled incorrectly by "/bin/mount /mount/point":
/device  /mount/point ...
/mount/point  /other/mount/point  none bind ...

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