Bug 701286 - NFS4: rpc.idmapd does not seem to work in the diskless environment
Summary: NFS4: rpc.idmapd does not seem to work in the diskless environment
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: kernel
Version: 6.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Red Hat Kernel Manager
QA Contact: Red Hat Kernel QE team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-02 13:06 UTC by Ondrej Valousek
Modified: 2011-05-02 14:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-02 14:29:22 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Ondrej Valousek 2011-05-02 13:06:46 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 all files are reported to be owned by root:nobody. I restarted rpc.idmapd with verbose output and it seems that there is no activity whatsoever performed by this daemon:

[root@data .snapshot]# rpc.idmapd -vvvf
rpc.idmapd: libnfsidmap: using domain: dublin.ad.s3group.com

rpc.idmapd: libnfsidmap: processing 'Method' list

rpc.idmapd: libnfsidmap: loaded plugin /usr/lib64/libnfsidmap/nsswitch.so for method nsswitch

rpc.idmapd: Expiration time is 600 seconds.
rpc.idmapd: nfsdopenone: Opening /proc/net/rpc/nfs4.nametoid/channel failed: errno 2 (No such file or directory)
rpc.idmapd: New client: 0
rpc.idmapd: New client: 2

..it stays so for ever (no matter if I try to mount something via nfs4, list content...

Note that this setup worked fine with RHEL-5

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


How reproducible:
always

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


Expected results:


Additional info:

Comment 2 Ondrej Valousek 2011-05-02 14:20:04 UTC
Discovered that rpc_pipefs was not mounted in the diskless environment
Please close this bug - I will file up another one against dracut

Comment 3 Jeff Layton 2011-05-02 14:29:22 UTC
Ok, closing as requested...


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