NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57103: ls prints error message with autofs



> % ls -ld /a
> ls: /a: Operation not supported
> drwxr-xr-x  3 root  wheel  512 Dec 10 16:45 /a

Why do you want to use -d option in the first place ?
That's simply not how autofs vnops triggers userspace daemon to mount
target fs weather direct or indirect mapping...

So no, this isn't a bug.


2022年12月10日(土) 8:25 <mlelstv%netbsd.org@localhost>:
>
> >Number:         57103
> >Category:       bin
> >Synopsis:       ls prints error message with autofs
> >Confidential:   no
> >Severity:       serious
> >Priority:       low
> >Responsible:    bin-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Sat Dec 10 16:25:00 +0000 2022
> >Originator:     Michael van Elst
> >Release:        NetBSD 9.99.104
> >Organization:
>
> >Environment:
>
>
> System: NetBSD arnold 9.99.104 NetBSD 9.99.104 (EGGHED64) #63: Sun Oct 30 21:09:47 UTC 2022 mlelstv@slowpoke:/home/netbsd-current/obj.evbarm64-el/scratch/netbsd-current/src/sys/arch/evbarm/compile/EGGHED64 evbarm
> Architecture: aarch64
> Machine: evbarm
> >Description:
>
> /a is the mountpoint for autofs like:
>
> map /etc/auto_arnold on /a type autofs
>
> % ls -ld /a
> ls: /a: Operation not supported
> drwxr-xr-x  3 root  wheel  512 Dec 10 16:45 /a
>
> This is a failing lpathconf() call that isn't implemented for autofs.
>
> >How-To-Repeat:
> Try to list a autofs mountpoint.
> >Fix:
> Either filter this error message in ls or teach autofs a VOP_PATHCONF method.
>
> >Unformatted:
>
>


Home | Main Index | Thread Index | Old Index