You are not logged in.

#1 2014-07-29 20:18:57

hutou
Member
Registered: 2012-03-01
Posts: 11

Systemd 215-4 breaks automount shares

Hi,
I use systemd automount feature to mount samba shares at boot with the following entry in /etc/fstab :

//nas/partage /home/hubert/nas cifs noauto,x-systemd.automount,x-systemd.device-timeout=10,credentials=/home/hubert/.smbcredentials 0 0

This worked fine until I upgraded to systemd-215-4.

Now, automount fails with the following error :
systemd[1]: home-hubert-nas.mount mount process exited, code=exited status=32

Downgrading to systemd 214-2 solves the mount problem, but on shutdown, a 90s timeout occurs on unmounting  with the following message : "A stop job is running for /home/hubert/nas

Any idea ?


Dell laptop XPS M1530 running Linux 3.15.7-1-ARCH and gnome 3.12.1

Offline

#2 2014-08-02 17:12:53

hutou
Member
Registered: 2012-03-01
Posts: 11

Re: Systemd 215-4 breaks automount shares

After some digging, I answer to myself :

  • The "mount" issue has been declared on bugzilla  bug #81529 and a workaround is also described by the author (thanks)

  • The "unmount" issue occurs only for network shares and Wifi network connection (unmounting network share is ok on wired connection)


Dell laptop XPS M1530 running Linux 3.15.7-1-ARCH and gnome 3.12.1

Offline

Board footer

Powered by FluxBB