Bug 722678

Summary: halt doesn't shutdown system when nfs mount exists
Product: Red Hat Enterprise Linux 6 Reporter: Aleš Mareček <amarecek>
Component: kernelAssignee: Jeff Layton <jlayton>
Status: CLOSED WONTFIX QA Contact: Red Hat Kernel QE team <kernel-qe>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2CC: jlayton, nfs-maint, steved
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-28 14:05:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Aleš Mareček 2011-07-16 11:33:33 UTC
Description of problem:
I was trying to shutdown my laptop when suspend failed. I used "halt -p" command as root to force shutdown but shutdown freeze on NFS.
Whole situation was: I was connected via VPN, had some NFS mounts. I closed the VPN connection but NFS mounts were still there. Shutdown didn't success thus I use "halt -p" command as root to shutdown my laptop. Laptop did SOMETHING for a two hours and then died because of battery.
It is very unpleasant that root can't switch the system dirrectly and must renew vpn connection then unmout all NFS, close VPN connection and at last he/she is able to switch the system off.

Version-Release number of selected component (if applicable):
kernel: 2.6.32-167.el6.x86_64
upstart-0.6.5-10.el6.x86_64
Laptop: Lenovo T61

How reproducible:
Almost always.

Steps to Reproduce:
1. create VPN connection
2. create some RH NFS mounts in your computer
2. close the vpn connection
3. halt -p
  
Actual results:
I belive it's the similar / same problem as: https://bugzilla.redhat.com/show_bug.cgi?id=702630 but strange is that "halt" can't force the shutdown.

Expected results:


Additional info:

Comment 1 RHEL Program Management 2011-10-07 15:41:14 UTC
Since RHEL 6.2 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 2 Jeff Layton 2012-01-30 13:22:27 UTC
That is odd, especially the part where halt -p didn't work. It's probably worth testing with the patches for bug 702630. If those don't fix it, then what I'd probably need is a core or sysrq-t dump of the tasks when the machine is in this state. In particular, it would be interesting to see what the stack of the
halt -p process looks like.

Comment 3 Aleš Mareček 2012-01-30 14:23:00 UTC
Jeff, I remeber the "freeze" but I am not able to reproduce it right now because I'm on RHEL-6.2.
I promised to test also "suspend" issue but I'm a little bit busy now I also need to get additional laptop to do so...

Comment 4 Jeff Layton 2012-01-31 14:36:31 UTC
Ok, so it was fixed in 6.2? Should we then just close this since it's not a
problem in the current release? Or did I misunderstand what you were saying?

Comment 6 RHEL Program Management 2012-02-28 14:05:07 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.