Bug 997

Summary: Shutdown/reboot fails when using NFS root
Product: [Runtime] System Startup Reporter: Paul Eggleton <bluelightning>
Component: system-startupAssignee: Paul Eggleton <bluelightning>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: Medium CC: kevin.tian, sgw
Version: 1.0   
Target Milestone: 1.1   
Hardware: Netbook   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Paul Eggleton 2011-04-20 09:55:02 UTC
When you shut down am NFS root-based system or reboot it, it gets all the way to the end and then hangs, with an error "nfs: server myserver not responding, still trying". I tracked this down to the -i option that is passed to the final call to shutdown and reboot which is supposed to shut down all network interfaces - if you remove this then it works fine.

This was previously discussed on the mailing list:
https://lists.yoctoproject.org/pipermail/poky/2011-April/005395.html

From the discussion it may be the best thing to remove -i from the options, but perhaps allow it to be added back in easily (by using a variable to control halt/reboot arguments - some other distributions have one called HALTARGS for this).
Comment 1 Paul Eggleton 2011-04-29 11:13:39 UTC
Patch submitted for this one:

https://lists.yoctoproject.org/pipermail/poky/2011-April/005656.html