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
The following reply was made to PR bin/57103; it has been noted by GNATS.
From: Tomohiro Kusumi <kusumi.tomohiro%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: bin/57103: ls prints error message with autofs
Date: Sun, 11 Dec 2022 01:49:05 -0800
> % 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=E5=B9=B412=E6=9C=8810=E6=97=A5(=E5=9C=9F) 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/sc=
ratch/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 met=
hod.
>
> >Unformatted:
>
>
Home |
Main Index |
Thread Index |
Old Index