[Pkg-samba-maint] Bug#1041843: cifs-utils: After hibernation, unmounting a cifs share hangs (or sigsegv)

Erwan David erwan at rail.eu.org
Mon Jul 24 09:14:18 BST 2023


Package: cifs-utils
Version: 2:7.0-2
Severity: normal

If laptop went to hibernation with share mounted, or with share in automount, unmounting after end of hibernation leads to hang (when manually mounted).

When share is automounted, logs show following errors

juil. 18 08:04:35 ot-port-145 systemd[1]: Unmounting mnt-ot-o.mount - /mnt/ot/o...
juil. 18 08:04:36 ot-port-145 systemd[1]: mnt-ot-o.mount: Mount process exited, code=killed, status=11/SEGV
juil. 18 08:04:36 ot-port-145 systemd[1]: mnt-ot-o.mount: Failed with result 'signal'.
juil. 18 08:04:36 ot-port-145 systemd[1]: Unmounted mnt-ot-o.mount - /mnt/ot/o.
juil. 18 08:04:36 ot-port-145 systemd[1]: mnt-ot-o.automount: Got automount request for /mnt/ot/o, triggered by 760>
juil. 18 08:06:05 ot-port-145 systemd[1]: mnt-ot-p.mount: Unmounting timed out. Terminating.
juil. 18 08:06:06 ot-port-145 systemd[1]: mnt-ot-o.mount: Mounting timed out. Terminating.
juil. 18 08:06:06 ot-port-145 systemd[1]: mnt-ot-o.mount: Mount process exited, code=killed, status=15/TERM
juil. 18 08:06:06 ot-port-145 systemd[1]: mnt-ot-o.mount: Failed with result 'timeout'.

and next mount leads to a CPU lock.

In both case, only solution is hardware stopping the laptop (normal shutdown/reboot hangs indefinitely)

-- System Information:
Debian Release: trixie/sid
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'testing'), (800, 'stable-security'), (500, 'proposed-updates'), (500, 'unstable'), (400, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_USER, TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cifs-utils depends on:
ii  libc6             2.37-6
ii  libcap-ng0        0.8.3-1+b3
ii  libgssapi-krb5-2  1.20.1-2
ii  libkeyutils1      1.6.3-2
ii  libkrb5-3         1.20.1-2
ii  libpam0g          1.5.2-6
ii  libtalloc2        2.4.0-f2
ii  libwbclient0      2:4.18.5+dfsg-1
ii  python3           3.11.4-5

Versions of packages cifs-utils recommends:
ii  keyutils  1.6.3-2

Versions of packages cifs-utils suggests:
ii  bash-completion  1:2.11-7
ii  smbclient        2:4.18.5+dfsg-1
pn  winbind          <none>

-- no debconf information



More information about the Pkg-samba-maint mailing list