Your message dated Tue, 24 Sep 2024 18:26:53 +0200
with message-id <[email protected]>
and subject line Re: network-manager shuts down before CIFS is unmounted
has caused the Debian Bug report #431966,
regarding initscripts: sendsigs is executed before remote file systems (cifs) 
are disconnected
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
431966: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=431966
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
The package no longer ships an SysV init script

Thus closing.

On Sat, 9 Mar 2019 02:44:30 +0000 (UTC) Pierre Ynard <[email protected]> wrote:
retitle 431966 network-manager shuts down before CIFS is unmounted
severity 477498 normal
merge 431966 477498 516733 481252 552104
reassign 431966 network-manager
thanks

After reading all these bug reports, I believe that the problem is most
likely tied to network-manager, whose init script is called before
/etc/init.d/umountfs.sh during the shutdown / reboot sequence. CIFS
network filesystems only need network access still available to be
properly unmounted by umountfs.sh; but since network-manager already cut
the network off, failures, timeouts and errors ensue.

Can any reporter comment on whether they still experience the issue?

Dear NM maintainers, could you please look at this and tell us if you
think this issue still persists today? And help us figure out how
dependencies or sendsigs exception should be adjusted to resolve this?

Thanks,

--
Pierre Ynard


Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---

Reply via email to