Bug 883940

Summary: Cannot boot after setting up NFS
Product: [Fedora] Fedora Reporter: Braden McDaniel <braden>
Component: dracutAssignee: dracut-maint
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 18CC: dracut-maint, harald, jonathan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-12 16:14:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Braden McDaniel 2012-12-05 15:46:51 UTC
Description of problem:
After setting up NFS on a fresh Fedora 18 Beta installation, boot halts on a screen with these error messages at the top of the screen:

dracut-cmdline[121]: /etc/locale.conf: line1: locale.LANG=en_US.UTF-8: command
dracut-pre-udev[193]: rpc.idmapd: Could not find group "nfsnobody"

... followed by a whole bunch that look like this:

[    2.160931] [drm:intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up

The first error message seems to be bug 870632 (and probably not the cause of the problem).  The last messages don't seem related, either.  (I've seen them before encountering this problem and I suspect they're related to my use of a DisplayPort-to-dual-link DVI adapter.)

So, the NFS bit is suspicious.

At the point that the boot halts, I'm not able to get any response to mouse or keyboard input.

Version-Release number of selected component (if applicable):
024-10.git20121121.fc18

Comment 1 Harald Hoyer 2012-12-05 16:42:38 UTC
$   egrep '^nfsnobody:' /etc/passwd 
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin

Comment 2 Harald Hoyer 2012-12-05 16:43:41 UTC
Can you check, that on the NFS root this is in passwd?

Comment 3 Braden McDaniel 2012-12-07 05:29:37 UTC
Booting using a LiveCD:

# egrep '^nfsnobody:' /mnt/root/etc/passwd
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin

Comment 4 Harald Hoyer 2012-12-11 12:44:05 UTC
Fedora does not support root on NFS officially, because NFS has no "capabilities", AFAIK.

Do you use NFSv4? Did you set your nfs domain via the kernel command line?

$ man dracut.cmdline

rd.nfs.domain=<NFSv4 domain name>
     Set the NFSv4 domain name. Will overwrite the settings in /etc/idmap.conf.

Comment 5 Braden McDaniel 2012-12-11 12:59:30 UTC
I'm not mounting / as NFS.  I'm mounting home directories using NFS.

Yes, I'm using NFSv4.

I have not set my NFS domain on the kernel command line.  Is that something I'd need to do when I'm not mounting / as NFS?

Comment 6 Braden McDaniel 2012-12-12 16:14:47 UTC
I started from scratch, reinstalling the F18 Beta from the LiveCD.  I have NFS working and I have not run into this again.

So, closing for now.  If I hit the problem again, I'll reopen (hopefully with more information).