Bug 747250

Summary: /run shows up twice in /proc/mounts
Product: [Fedora] Fedora Reporter: Harald Hoyer <harald>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: jonathan, karsten, kzak, rmy
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: util-linux-2.20.1-2.2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-27 22:24:44 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Bug Depends On:    
Bug Blocks: 718276    
Attachments:
Description Flags
Fix for /run mounted twice none

Description Harald Hoyer 2011-10-19 05:14:03 EDT
Created attachment 528944 [details]
Fix for /run mounted twice

/run shows up twice in /proc/mounts

$ fgrep ' /run' /proc/mounts
tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0
tmpfs /run tmpfs rw,nosuid,nodev,relatime,mode=755 0 0

/run is not handled by switch_root

Attached patch fixes it.
Comment 1 Karel Zak 2011-10-20 06:31:11 EDT
Fixed by upstream commit acb03ad46a0f5160fe7a1c9d9ec09c35494d3051. Thanks for the patch.

The bugfix will be available in v2.20.1.
Comment 2 Fedora Update System 2011-10-20 07:48:38 EDT
util-linux-2.20.1-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/util-linux-2.20.1-1.fc16
Comment 3 Fedora Update System 2011-10-24 23:45:44 EDT
util-linux-2.20.1-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 4 Ron Yorston 2012-01-05 16:40:38 EST
Well, I have util-linux-2.20.1-2.1.fc16 and /run appears twice in /proc/mounts:

[rmy@pegasus ~]$ rpm -q util-linux
util-linux-2.20.1-2.1.fc16.i686
[rmy@pegasus ~]$ grep /run /proc/mounts
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,relatime,mode=755 0 0
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,relatime,mode=755 0 0
[rmy@pegasus ~]$
Comment 6 Karel Zak 2012-01-10 07:01:40 EST
Ah, good point Harald. Thanks.
Comment 7 Fedora Update System 2012-01-23 09:10:21 EST
util-linux-2.20.1-2.2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/util-linux-2.20.1-2.2.fc16
Comment 8 Fedora Update System 2012-01-23 16:52:16 EST
Package util-linux-2.20.1-2.2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 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.20.1-2.2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0815/util-linux-2.20.1-2.2.fc16
then log in and leave karma (feedback).
Comment 9 Ron Yorston 2012-01-24 14:56:03 EST
Still not fixed for me:

[rmy@atlas ~]$ rpm -q util-linux
util-linux-2.20.1-2.2.fc16.i686
[rmy@atlas ~]$ cat /proc/mounts | grep /run
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,relatime,mode=755 0 0
tmpfs /run tmpfs rw,seclabel,nosuid,nodev,relatime,mode=755 0 0
[rmy@atlas ~]$ 

Yes, I rebooted after the update.
Comment 10 Karel Zak 2012-01-24 17:20:14 EST
Did you rebuild your initramfs? (man dracut)
Comment 11 Harald Hoyer 2012-01-25 04:24:30 EST
(In reply to comment #10)
> Did you rebuild your initramfs? (man dracut)

# dracut -f 

will override the old initramfs with new one for the current kernel.
Comment 12 Ron Yorston 2012-01-25 04:31:47 EST
No, I hadn't rebuilt the initramfs.  The sequence of events was: perform a normal 'yum update' that brought in kernel 3.2.1-3; perform a yum --enablerepo=updates-testing util-linux; reboot.  So there was a new initramfs but it didn't include the updated util-linux.

After I running dracut and rebooting again I can see that the fix works.
Comment 13 Fedora Update System 2012-01-27 22:24:44 EST
util-linux-2.20.1-2.2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.