RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 747552 - rpc_pipefs is not re-mounted properly when using nfs root.
Summary: rpc_pipefs is not re-mounted properly when using nfs root.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: initscripts
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Lukáš Nykrýn
QA Contact: Jan Ščotka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 09:35 UTC by Ondrej Valousek
Modified: 2016-11-25 13:00 UTC (History)
7 users (show)

Fixed In Version: initscripts-9.03.43-1.el6
Doc Type: Bug Fix
Doc Text:
This allows to use root on NFS and reaonly root. But this setup is not supported.
Clone Of:
Environment:
Last Closed: 2014-10-14 06:26:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1448 0 normal SHIPPED_LIVE initscripts bug fix and enhancement update 2014-10-14 01:05:44 UTC

Description Ondrej Valousek 2011-10-20 09:35:26 UTC
Description of problem:
I am booting a diskless RHEL-6 environment using dracut this way:
[victim@data ~]$ cat /proc/cmdline
initrd=rhel6-ws-boot/initramfs.img console=ttyS0,115200 console=tty0
root=nfs4:192.168.60.50:/vol/vol1/OS/rhel6/root crashkernel=256M@16M nomodeset
vesa BOOT_IMAGE=rhel6-ws-boot/vmlinuz
The system boots up correctly with / mounted via nfs4 but rpc_pipefs is not
mounted correctly to /var/lib/nfs/rpc_pipefs.

Strangely enough, it "looks and feels" that it is mounted:

[root@data ~]# mount | grep rpc
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)

... but is not really:

[root@data ~]# umount /var/lib/nfs/rpc_pipefs
umount: /var/lib/nfs/rpc_pipefs not mounted

and no NFS4 ID mapping is working as well. After re-mounting manually this way:

[root@data ~]# mount -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs

and restarting rpc.idmapd, the ID mapping starts working again.

Version-Release number of selected component (if applicable):
[ondrejv@data ~]$ rpm -qi dracut
Name        : dracut                       Relocations: (not relocatable)
Version     : 004                               Vendor: Red Hat, Inc.
Release     : 33.2.el6_0                    Build Date: 

How reproducible:
always

Comment 1 Ondrej Valousek 2011-10-20 09:41:52 UTC
I originaly believed it is a dracut problem (see bug 701309), but it is obliously not.
The script /etc/rc.d/rc.sysinit goes through the /etc/rwtab and mount /var to tmpfs thus making the rpc_pipefs filesystem no longer accessible.

So I believe we should handle this in rc.sysinit script - after mounting all the stateless/persistent state files and directories, we should also make sure that /var/lib/nfs/rpc_pipefs is mounted correctly.

Comment 5 RHEL Program Management 2012-05-03 05:32:23 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 6 Harald Hoyer 2013-04-03 10:22:15 UTC
Well, IIRC we don't support root on NFS in RHEL officially.

But yes, you have a point here.

We could setup the new /var temporarily on $tmpdir and mount move over all mounts in /var to $tmpdir and then mount move $tmpdir to /var.

Comment 7 Václav Pavlín 2013-05-29 08:45:12 UTC
Fix commited upstream -> 718550312d46b9ef7b9aaa2d7ba020273a17adf7

Comment 9 Tore H. Larsen 2014-04-01 09:37:42 UTC
cc

Comment 14 errata-xmlrpc 2014-10-14 06:26:58 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1448.html


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