Bug#826512: [systemd] automount hangs after first unmount

Adrien CLERC bugs-debian at antipoul.fr
Sun Jun 5 21:29:03 BST 2016


Package: systemd
Version: 230-2
Severity: normal

--- Please enter the report below this line. ---
Hi,

Recently (maybe after upgrade to systemd 230?), my automount settings
only work for the first mount request.

E.g., I have in fstab:

belette:/nas/musique /home/adrien/Musique    nfs   
defaults,users,noauto,x-systemd.automount,x-systemd.idle-timeout=10s   
0    0

The 10s setting is for debugging purpose, I usually use 10m.

# systemctl start home-adrien-Musique.automount
# journalctl -u home-adrien-Musique.automount -u
home-adrien-Musique.mount -f
-- Logs begin at dim. 2016-06-05 08:11:02 CEST. --
juin 05 22:17:53 complexe systemd[1]: Set up automount
home-adrien-Musique.automount.
juin 05 22:17:53 complexe systemd[1]: home-adrien-Musique.automount: Got
automount request for /home/adrien/Musique, triggered by 1084
(gvfs-udisks2-vo)
juin 05 22:17:53 complexe systemd[1]: Mounting /home/adrien/Musique...
juin 05 22:17:53 complexe systemd[1]: Mounted /home/adrien/Musique.
juin 05 22:18:03 complexe systemd[1]: Unmounting /home/adrien/Musique...
juin 05 22:18:03 complexe systemd[1]: Unmounted /home/adrien/Musique.


After waiting for the unmount, I open another terminal, and try to 'll
/home/adrien/Musique'. The process is stalled and nothing shows up in
the log.

Starting the mount manually is working, so NFS seems out of the issue,
but I'm open for testing suggestions.

Adrien
--- System information. ---
Architecture: amd64
Kernel: Linux 4.5.0-2-amd64

Debian Release: stretch/sid
500 unstable ftp.fr.debian.org
1 experimental ftp.fr.debian.org

--- Package information. ---
Depends (Version) | Installed
====================================-+-==================
libacl1 (>= 2.2.51-8) | 2.2.52-3
libapparmor1 (>= 2.9.0-3+exp2) | 2.10-4
libaudit1 (>= 1:2.2.1) | 1:2.5.2-1
libblkid1 (>= 2.19.1) | 2.28-5
libcap2 (>= 1:2.10) | 1:2.25-1
libcryptsetup4 (>= 2:1.4.3) | 2:1.7.0-2
libgpg-error0 (>= 1.14) | 1.22-2
libkmod2 (>= 5~) | 22-1.1
libmount1 (>= 2.26.2) | 2.28-5
libpam0g (>= 0.99.7.1) | 1.1.8-3.3
libseccomp2 (>= 2.1.0) | 2.3.1-2
libselinux1 (>= 2.1.9) | 2.5-3
libsystemd0 (= 230-2) | 230-2
util-linux (>= 2.27.1) | 2.28-5
mount (>= 2.26) | 2.28-5
adduser | 3.114
libcap2-bin | 1:2.25-1


Package Status (Version) | Installed
=============================-+-===========
udev | 230-2


Recommends (Version) | Installed
=============================-+-===========
libpam-systemd | 230-2
dbus | 1.10.8-1


Suggests (Version) | Installed
================================-+-===========
systemd-ui |
systemd-container |



--- Output from package bug script ---



More information about the Pkg-systemd-maintainers mailing list