Shutdown umount sequence crashing with SIGSEGV
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: initscripts
When i have host configured to automount NFS share on /mnt/auto during the restart or shutdown umountfs crashes with SIGSEGV. There is info saying that device is busy and then crash occurs. The result is that all filesystems are not clearly unmounted and fsck started to inspect drive. Eventually my system hangs during shutdown and login prompt is not available. I guess this is another bug that i should report in other area.
Steps to reproduce (just replace <host> with some real NFS server)
-------
# echo "/etc/auto.auto /mnt/auto --ghost --timeout=30 soft rsize=8192 wsize=8192" >> /etc/auto.master
# echo "NFS <host>:/NFS " >> /etc/auto.auto
# service autofs restart
# init 6
Result:
-------
During the shutdown crash occurs and after startup fsck should be triggered.
I have fixed that by adding autofs to exclusion list in umountfs init script. I am attaching a patch.
P.S.
initially i have filed a bug report 694114 but i figured out that i have chosen wrong package as a source. Let someone reassign that bug to proper package as seems i do not have appropriate privileges or appropriate knowledge. :)
I am attaching a patch that works for me.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: initscripts 2.87dsf-4ubuntu17
ProcVersionSign
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Thu Dec 30 21:06:59 2010
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: sysvinit