[Pkg-sysvinit-devel] Bug#431966: sysvinit cannot unmount cifs filesystems

Sander Marechal s.marechal at jejik.com
Fri Jul 6 12:23:14 UTC 2007


Package: sysvinit
Version: 2.86.ds1-38
Severity: normal


Hello,

I have two cifs filesystems mounted under /media. When I shut down the machine I get errors
when /etc/init.d/umountnfs.sh tries to unmount them. I get the following errors after a long
delay:

  CIFS VFS: Server not responding
  CIFS VFS: No response for cmd 50 mid 17

Sometimes the cmd and mid are a different number, but most often it's this. I have tried giving
umountnfs.sh a higher priority (lower number) in /etc/rc0.d/ but that didn't help. I also tried
writing a custom init script that would unmount the filesystems manually for me. The script
works flawlessly when I run it as root, but when linked from rc0 it fails in the same way as,
no matter what priority I give it. Not even setting it all the way up to K00 works. sysvinit
always fails to unmount the cifs filesystems and gives the above error.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages sysvinit depends on:
ii  initscripts                 2.86.ds1-38  Scripts for initializing and shutt
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libselinux1                 1.32-3       SELinux shared libraries
ii  libsepol1                   1.14-2       Security Enhanced Linux policy lib
ii  sysv-rc                     2.86.ds1-38  System-V-like runlevel change mech
ii  sysvinit-utils              2.86.ds1-38  System-V-like utilities

sysvinit recommends no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: umountcifs
Type: application/x-shellscript
Size: 3221 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20070706/c2cc4a03/attachment.bin 


More information about the Pkg-sysvinit-devel mailing list