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 smbfs: Shutdown & Reboot scripts try umount CIFS but CIFSD is killed 
first
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: smbfs
Version: 3.0.28a-1
Severity: important

mount -t smbfs -o username=USER,passwd=PASSWORD -o iocharset=utf8 //192.168.1.11 /mnt/MS_SHARED

$df -Th (only relevants output is showed):
File System     Type    Size    Used    Avalilable      Mounted at
//192.168.1.11  cifs    223Gb   156Gb   68Gb            /mnt/MS_SHARED

If you shutdown or reboot, you can see (after 30s timeout):

CIFS VFS: Server not responding
CIFS VFS: No response for cmd <number> mid <number>

Maybe this is happening because CIFSD is killed by shutdwon/reboot script *before* umount command.

Correct is:
- Umount shared cifs
- Kill cifs daemon


Regards,
Renato S. Yamane
BRAZIL


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages smbfs depends on:
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  netbase                       4.32       Basic TCP/IP networking system
ii samba-common 3.0.28a-1 Samba common files used by both th

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