[Pkg-sysvinit-devel] Bug#552104: initscripts: sendsigs is executed before remote file systems (cifs) are disconnected

Teodor mteodor at gmail.com
Fri Oct 23 12:30:11 UTC 2009


Package: initscripts
Version: 2.87dsf-6
Severity: normal

Hi,

After I've enabled network-manager to control the network (ifupdown) the system waits for a
long time at shutdown/reboot due to the fact that remote file systems (cifs) cannot be 
disconnected probably because the network is down, thus it waits for a timeout.

I've suspected the 'network-manager' from the very beginning and disabled it for stopping at
0/6 by changing the LSB headers, but it didn't worked because it is killed by sendsigs.
I've tried to make sendsigs script to be executed before 'halt' but with no luck. Even if
the script is configured like this:
  # Required-Stop:     hwclock.sh rsyslog umountnfs.sh umountfs
it still calculated by insserv with a higher priority:
r2:~# ls -l /etc/rc0.d/
lrwxrwxrwx 1 root root  26 2009-10-06 16:08 K02cryptdisks-early -> ../init.d/cryptdisks-early
lrwxrwxrwx 1 root root  18 2009-10-23 00:22 K03sendsigs -> ../init.d/sendsigs
lrwxrwxrwx 1 root root  17 2009-10-08 21:55 K04rsyslog -> ../init.d/rsyslog
lrwxrwxrwx 1 root root  20 2009-10-17 22:37 K05hwclock.sh -> ../init.d/hwclock.sh
lrwxrwxrwx 1 root root  22 2009-10-08 21:55 K05umountnfs.sh -> ../init.d/umountnfs.sh
lrwxrwxrwx 1 root root  18 2009-10-21 17:45 K06ifupdown -> ../init.d/ifupdown
lrwxrwxrwx 1 root root  18 2009-10-21 17:45 K07umountfs -> ../init.d/umountfs
lrwxrwxrwx 1 root root  20 2009-10-21 17:45 K08umountroot -> ../init.d/umountroot
lrwxrwxrwx 1 root root  14 2009-10-21 17:45 K09halt -> ../init.d/halt

I'm not sure if this is a bug in initscript, insserv or network-manager. Please reassign
to the appropriate package if you consider it's not a problem in 'initscripts'.
I'm openned to perform any tests to make this work.

Thanks

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages initscripts depends on:
ii  coreutils                     7.4-2      The GNU core utilities
ii  debianutils                   3.2.1      Miscellaneous utilities specific t
ii  libc6                         2.9-25     GNU C Library: Shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip
ii  mount                         2.16.1-4   Tools for mounting and manipulatin
ii  sysv-rc                       2.87dsf-6  System-V-like runlevel change mech
ii  sysvinit-utils                2.87dsf-6  System-V-like utilities

Versions of packages initscripts recommends:
ii  e2fsprogs                     1.41.9-1   ext2/ext3/ext4 file system utiliti
ii  psmisc                        22.8-1     utilities that use the proc file s

initscripts suggests no packages.

-- no debconf information





More information about the Pkg-sysvinit-devel mailing list