Bug 709319 - [regression] 'mount -a' mounts already mounted directories
Summary: [regression] 'mount -a' mounts already mounted directories
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux-ng
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 711748 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-31 11:29 UTC by Enrico Scholz
Modified: 2011-07-05 10:06 UTC (History)
3 users (show)

Fixed In Version: util-linux-2.19.1-1.2.fc15
Clone Of:
Environment:
Last Closed: 2011-07-05 10:03:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2011-05-31 11:29:34 UTC
Description of problem:

having something like

| /dev/vg01/data          /srv/mnt/data           ext4    noatime,acl,user_xattr  1 2
| /srv/mnt/data/X /srv/X  none    bind

in /etc/fstab causes 'mount -a' to mount /srv/X everytime again:

# cat /proc/mounts  | grep /srv/X
# mount -a
# mount -a
# mount -a
# mount -a
# cat /proc/mounts  | grep /srv/X
/dev/mapper/vg01-data /srv/X ext4 rw,seclabel,noatime,barrier=1,data=ordered 0 0
/dev/mapper/vg01-data /srv/X ext4 rw,seclabel,noatime,barrier=1,data=ordered 0 0
/dev/mapper/vg01-data /srv/X ext4 rw,seclabel,noatime,barrier=1,data=ordered 0 0
/dev/mapper/vg01-data /srv/X ext4 rw,seclabel,noatime,barrier=1,data=ordered 0 0


This breaks the filesystem layout when other fs are mounted below /srv/X.

Things worked fine with Fedora 14.


Version-Release number of selected component (if applicable):

util-linux-2.19.1-1.fc15.x86_64

Comment 1 Karel Zak 2011-06-13 06:21:43 UTC
Fixed by upstream commit 0cac8948216a298deaf5fd30837ed9cc80618f80. The Fedora package will be updated ASAP.

Comment 2 Fedora Update System 2011-06-14 09:35:15 UTC
util-linux-2.19.1-1.1.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/util-linux-2.19.1-1.1.fc15

Comment 3 Fedora Update System 2011-06-15 18:30:47 UTC
Package util-linux-2.19.1-1.1.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing util-linux-2.19.1-1.1.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/util-linux-2.19.1-1.1.fc15
then log in and leave karma (feedback).

Comment 4 Michal Schmidt 2011-07-05 10:03:05 UTC
util-linux-2.19.1-1.1.fc15 was obsoleted.
util-linux-2.19.1-1.2.fc15 reached stable updates already.

Comment 5 Michal Schmidt 2011-07-05 10:06:24 UTC
*** Bug 711748 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.