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: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/57103: ls prints error message with autofs
Date: Sun, 11 Dec 2022 10:09:02 -0000 (UTC)
kusumi.tomohiro%gmail.com@localhost (Tomohiro Kusumi) writes:
>> % 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 ?
This was to avoid listing the content and _only_ show the message.
The message occurs with and without -d.
>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.
The bug is that ls calls lpathconf() to identify ACL capabilities,
fails on autofs and prints this as an error.
>> >Fix:
>> Either filter this error message in ls or teach autofs a VOP_PATHCONF met=
>hod.
Either autofs should learn the pathconf operation or ls should learn
that the error EOPNOTSUPP for this operation should be handled silently.
Home |
Main Index |
Thread Index |
Old Index