Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 452776

Summary: sys-apps/openrc-0.11.*: system fails to shutdown with automount+nfs
Product: Gentoo Hosted Projects Reporter: Spooky Ghost <spookyghost>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: UNCONFIRMED ---    
Severity: normal CC: buddha
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Spooky Ghost 2013-01-18 08:55:29 UTC
scenario:
/home is an autofs mount with wildcarded values
/home/user is mounted after desktop (kde) login

shutdown does not complete and hangs at "saving dependency cache".  If the following command is executed before shutdown then it will complete successfully:

fuser -m -k /home/user

The issue seems to be that processes running on the nfs mount are not killed so the nfs filesystem remains mounted.  If there is no kde login then the system shuts down normally.

This has been a problem with all openrc 0.11 stable versions that have been installed.

Reproducible: Always

Steps to Reproduce:
1. have autofs mount for /home with wildcarded user entries
2. have a user login so that their /home/user directory is mounted via automount
3. leave some process running with a working directory /home/user
4. halt -p
Actual Results:  
System hangs during shutdown at "saving dependency cache"


Expected Results:  
System shuts down and powers off