umountfs init job crashes with SIGSEGV when autofs is in use
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
Invalid
|
Low
|
Chuck Short |
Bug Description
Binary package hint: autofs5
I have an autofs daemon running and mounting NFS shares over /mnt/auto directory. Whenever i perform restart of the system (using reboot command) i can see that during umountfs stage info about /mnt/auto is being busy is displayed, then information about remount in ro mode. Then i can see the Segmentation Fault message and none of the filesystems are cleanly umounted. The result is that during the boot fsck is being run on all fs and correct errors. I beieve this is quite critical bug because it may result with data loss.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: autofs 5.0.4-3.1ubuntu5.1
ProcVersionSign
Uname: Linux 2.6.32-24-server x86_64
Architecture: amd64
Date: Fri Dec 24 15:05:07 2010
InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: autofs5
tags: | added: patch |
I have fixed that issue by excluding autofs mounts from umounting during shutdown. I am attaching patch to this post.