[Bug 204417] [autofs] automountd truncates some labels

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 10 04:08:05 UTC 2015


            Bug ID: 204417
           Summary: [autofs] automountd truncates some labels
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Keywords: needs-qa
          Severity: Affects Only Me
          Priority: ---
         Component: conf
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: jbeich at FreeBSD.org

$ uname -a
FreeBSD bar 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r290495M: Sat Nov  7 14:57:28
UTC 2015     foo at bar:/usr/obj/usr/src/sys/NONGENERIC  amd64

1. Download http://releases.ubuntu.com/14.04.3/ubuntu-14.04.3-desktop-amd64.iso
2. Either flash it on a USB drive or emulate with something like DriveDroid
3. Uncomment -media in /etc/auto_master
4. automount; automountd; or use service(8)

$ ls /media
ls: Ubuntu 14.04.3 LTS amd6: No such file or directory

$ /etc/autofs/special_media
Ubuntu 14.04.3 LTS amd64

$ /etc/autofs/special_media | vis -w

$ /etc/autofs/special_media 'Ubuntu 14.04.3 LTS amd6'
$ /etc/autofs/special_media 'Ubuntu 14.04.3 LTS amd64'
-fstype=cd9660,nosuid   :/dev/da0

$ automountd -d
automountd: waiting for request from the kernel
automountd: not forking due to -d flag; will exit after servicing a single
automountd: got request 14: from map -media, path /media/, prefix "/media", key
"Ubuntu 14.04.3 LTS amd6", options "nosuid"
automountd: parsing map "-media"
automountd: executing "/etc/autofs/special_media Ubuntu 14.04.3 LTS amd6" as
pid 5493
automountd: "/etc/autofs/special_media Ubuntu 14.04.3 LTS amd6", pid 5493,
terminated gracefully
automountd: map may contain wildcard entries
automountd: found node defined at [kernel request]:0; not a mountpoint
automountd: creating subtree at /media
automountd: nothing to mount; exiting
automountd: completing request 14 with error 0

Can you reproduce? If not I'll try to debug my environment more.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list