-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automount timeout doesn't notice service still using the mount when PrivateDevices=yes #3410
Comments
|
Hmm, this suggests that autofs gets confused by fs namespaces, which would be a kernel bug really. |
|
I have similar problems with automount (Archlinux, systemd 230, Kernel 4.6.1). I made this experience with remote filesystems like 'sshfs' and 'squashfs' but also with my local and permanently connected usb hdd on the same machine (ext4fs). Shortly said: Automount works several times correct (also with unmounts between) but suddenly it has this behaviour. Journal and log don't show anything which could help. I agree with argv-minus-one's remark: everything works fine with a process currently using the automount (opened files, 'PrivateDependencies=no'). EDIT: |
|
RaspberryPi with ArchlinuxARM and older Kernel 4.4.12 : same problem. 'daemon-reload' helped again. |
|
Just installed kernel 4.6.2 and now it works fine for my needs. Not testing "PrivateDependencies=yes" but it seems the now fixed lock/unlock kernel bug could also have been the reason. Whatever, for me it's solved. :) |
|
OK, closing then. Thanks for reporting back! |
Submission type
systemd version the issue has been seen with
Used distribution
In case of bug report: Expected behaviour you didn't see
In case of bug report: Unexpected behaviour you saw
In case of bug report: Steps to reproduce the problem
The text was updated successfully, but these errors were encountered: