Bug 1172057 - Autofs with mounted CIFS shares --> systemd shutdown hangs
Summary: Autofs with mounted CIFS shares --> systemd shutdown hangs
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Goldwyn Rodrigues
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-25 14:42 UTC by S. B.
Modified: 2020-08-24 14:06 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
enabled systemd units (2.50 KB, text/plain)
2020-05-25 16:15 UTC, S. B.
Details
critical chain (990 bytes, text/plain)
2020-05-25 16:15 UTC, S. B.
Details
journalctl bootup (179.05 KB, text/plain)
2020-05-25 16:15 UTC, S. B.
Details
shutdown screenshot #1 (545.88 KB, image/jpeg)
2020-05-25 16:16 UTC, S. B.
Details
shutdown screenshot #2 (1.73 MB, image/jpeg)
2020-05-25 16:16 UTC, S. B.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. B. 2020-05-25 14:42:43 UTC
Hi there, I use autofs on Tumbleweed to mount two CIFS shares on a local NAS. This causes systemd to hang for 3 minutes on every shutdown. I even set `timeout = 5` in /etc/autofs.conf, but it doesn't help.

There was apparently a similar issue in the past when NFS shares were automounted, but this was supposedly fixed:
https://bugs.archlinux.org/task/40200
I confirm on Tumbleweed that the supplied autofs.service contains these lines:
-----------
After=network.target ypbind.service sssd.service network-online.target remote-fs.target rpc-statd.service rpcbind.service
Wants=network-online.target rpc-statd.service rpcbind.service
-----------
Comment 2 S. B. 2020-05-25 16:15:13 UTC
Created attachment 838115 [details]
enabled systemd units
Comment 3 S. B. 2020-05-25 16:15:34 UTC
Created attachment 838116 [details]
critical chain
Comment 4 S. B. 2020-05-25 16:15:57 UTC
Created attachment 838117 [details]
journalctl bootup
Comment 5 S. B. 2020-05-25 16:16:19 UTC
Created attachment 838118 [details]
shutdown screenshot #1
Comment 6 S. B. 2020-05-25 16:16:40 UTC
Created attachment 838119 [details]
shutdown screenshot #2
Comment 7 S. B. 2020-05-25 16:50:15 UTC
For some reason the `\\192.198.1.6 Cancelling wait for...` thing started working after about ten seconds.  Much better than 3 minutes, but still clunky.