Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Nov 2015 04:08:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 204417] [autofs] automountd truncates some labels
Message-ID:  <bug-204417-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204417

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org

$ uname -a
FreeBSD bar 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r290495M: Sat Nov  7 14:57:28
UTC 2015     foo@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
da0s2

$ /etc/autofs/special_media
da0s2
Ubuntu 14.04.3 LTS amd64

$ /etc/autofs/special_media | vis -w
da0s2\012Ubuntu\04014.04.3\040LTS\040amd64\012

$ /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
request
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-204417-8>