** Attachment added: "umountfs.patch"
   
https://bugs.launchpad.net/bugs/695804/+attachment/1779922/+files/umountfs.patch

** Description changed:

  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. :)
  
- 
- ls /mnt/auto.
- Initially I have posted a bug 694114 but i get to conlusion that it has been 
assign to wrong area thus rasing a new one. Someone please make that other bug 
link to this one.
- 
  I am attaching a patch that works for me.
- 
- P.S.
- 
- I would like to contribute to
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: initscripts 2.87dsf-4ubuntu17
  ProcVersionSignature: Ubuntu 2.6.32-24.43-server 2.6.32.15+drm33.5
  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
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  SourcePackage: sysvinit

** Description changed:

  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
  ProcVersionSignature: Ubuntu 2.6.32-24.43-server 2.6.32.15+drm33.5
  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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/695804

Title:
  Shutdown umount sequence crashing with SIGSEGV

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to