Bug 997 - Shutdown/reboot fails when using NFS root
Summary: Shutdown/reboot fails when using NFS root
Status: RESOLVED FIXED
Alias: None
Product: System Startup
Classification: Runtime
Component: system-startup (show other bugs)
Version: 1.0
Hardware: Netbook x86
: Medium major
Target Milestone: 1.1
Assignee: Paul Eggleton
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-04-20 09:55 UTC by Paul Eggleton
Modified: 2011-05-13 11:14 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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