Bug 410411

Summary: NFS v.4 not available in diskless machines
Product: Red Hat Enterprise Linux 4 Reporter: Ondrej Valousek <ondrejv>
Component: system-config-netbootAssignee: Radek Vokál <rvokal>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 4.6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0672 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-07-24 19:33:14 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
proposed patch
none
new patch none

Description Ondrej Valousek 2007-12-04 14:01:13 UTC
Description of problem:
/var/lib/nfs/rpc_pipefs/ filesystem is not properly mounted in diskless machines.
Compare normal machine (booting from HDD):
/var/lib/nfs/rpc_pipefs/ directory is mounted via the sunrpc kernel module
Diskless machine (booting from net):
/var/lib/nfs/rpc_pipefs/ is mounted on NFS server, snapshot directory

Version-Release number of selected component (if applicable):
system-config-netboot-0.1.40-1_EL4

How reproducible:
always

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:
/var/lib/nfs/rpc_pipefs should be always mounted via sunrpc kernel module,
otherwise NFSv4 functionality (idmapd) is broken.

Additional info:

Comment 1 Ondrej Valousek 2007-12-05 18:14:24 UTC
As I stated before, I am stuck to the oficial system-config-netboot version
0.1.40 so I can not if this was not fixed in the latest version.
If not, the quick fix (or workaround) is to add the following:
sunrpc          /var/lib/nfs/rpc_pipefs         rpc_pipefs      defaults        0 0
in /etc/fstab for the diskless machines. I do not think it is the most "elegant"
solution though...

Comment 2 Radek Brich 2008-01-07 13:15:51 UTC
I think it should be mounted by modprobe rules, but this does not seem to work,
even if /var/lib/nfs/rpc_pipefs is empty.

Adding proper mount command to disklessrc works fine.


Comment 3 Radek Brich 2008-01-07 13:18:26 UTC
Created attachment 290950 [details]
proposed patch

Comment 4 RHEL Program Management 2008-01-07 13:36:55 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 5 Radek Brich 2008-01-31 15:48:20 UTC
Created attachment 293593 [details]
new patch

New patch without unnecessary lines.

The explicit mount command is needed because NFS modules are loaded too early,
even before the mount point (/var/lib/nfs/rpc_pipefs) is available. The normal
mount thus fails.

Comment 11 errata-xmlrpc 2008-07-24 19:33:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0672.html