[Bug 1855318] Re: autofs tries to find .xdg-volume-info and autorun.inf
John W. Brown, Jr.
1855318 at bugs.launchpad.net
Wed May 13 03:20:29 UTC 2020
I have been trying to recreate in different permutations and I have come
to the conclusion that the 2 weird mounts aren't the primary issue.
Those are strange, but it appears to break when the autofs is started
and stopped multiple times as it would be if someone were trying to
troubleshoot there configuration.
It appears that the daemon does not clean up when it closes and can
sometimes leave open mounts That should be closed. I found that if I
stopped the daemon and restart, my configured mounts were not being
mounted automatically.
When this happens, the happy path only returns when I close the deamon
and manually release any held mounts.
To recreate the error:
1. I ran the daemon in debug mode in the foreground
2. navigated to OR did an "ls" on an automounted mount to verify that it was mounted
2.1 close any open file explorer windows
2.2 cd out of any mounted directories on the command line
3. After confirming the mount, I then manually close the running automount daemon
4. If I restart the automount daemon at this point, it does not consistently re-mount my configured mounts
This is where it is easy to assume that the 2 unconfigured mounts
initially reported are the symptoms of the failure. It appears that
automount does not cleanly close out in such a way that it can be
restarted without manual intervention. This may be known/inherited
bugginess of automount, and if so, maybe not a severe issue is being
reported here.
Still no explanation for the 2 unconfigured mounts though. That is still
valid unexpected behavior, whether the OS has autorun support or now.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autofs in Ubuntu.
https://bugs.launchpad.net/bugs/1855318
Title:
autofs tries to find .xdg-volume-info and autorun.inf
Status in autofs package in Ubuntu:
Confirmed
Bug description:
# automount -f -v
Starting automounter version 5.1.5, master map /etc/auto.master
using kernel protocol version 5.05
mounted indirect on /home/<user>/mnt with timeout 300, freq 75 seconds
attempting to mount entry /home/<user>/mnt/.xdg-volume-info
key ".xdg-volume-info" not found in map source(s).
failed to mount /home/<user>/mnt/.xdg-volume-info
attempting to mount entry /home/<user>/mnt/autorun.inf
key "autorun.inf" not found in map source(s).
failed to mount /home/<user>/mnt/autorun.inf
/etc/auto.master:
+dir:/etc/auto.master.d
/etc/auto.master.d:
-rw-r--r-- 1 root root 38 Dez 5 19:10 mnt.autofs
/etc/auto.master.d/mnt.autofs:
/home/<user>/mnt file:/etc/auto.mnt
/etc/auto.mnt:
G -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverA>/sg
L -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverB>/apps
M -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverC>/gs
O -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverF>/media
P -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverB>/pb
T -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverD>/ALLG
V -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverE>/SW2
W -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverD>/sw
X -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverB>/depot
Y -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverA>/sct-muc
Z -fstype=cifs,multiuser,cruid=$UID,sec=krb5i ://<serverB>/z
Could not find any file "autorun.inf" or ".xdg-volume-info" anywhere on my system. Where do these come from?
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: autofs 5.1.5-1ubuntu1
ProcVersionSignature: Ubuntu 5.3.0-24.26-generic 5.3.10
Uname: Linux 5.3.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
Date: Thu Dec 5 19:12:38 2019
InstallationDate: Installed on 2019-09-09 (87 days ago)
InstallationMedia: Xubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcEnviron:
LANGUAGE=de_DE
TERM=screen
PATH=(custom, no user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: autofs
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/1855318/+subscriptions
More information about the foundations-bugs
mailing list