Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452776 - sys-apps/openrc-0.11.*: system fails to shutdown with automount+nfs
Summary: sys-apps/openrc-0.11.*: system fails to shutdown with automount+nfs
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
Depends on:
Reported: 2013-01-18 08:55 UTC by Spooky Ghost
Modified: 2013-02-16 13:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Spooky Ghost 2013-01-18 08:55:29 UTC
/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