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 network-manager shuts down before CIFS is unmounted
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: 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

Attachment: umountcifs
Description: application/shellscript


--- 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