pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkglint issue
On Wed, 3 Jan 2024 20:33:13 +0100, Roland Illig wrote:
> Am 02.01.2024 um 20:18 schrieb Hauke Fath:
>> Hi,
>>
>> for a while, I have been getting the following error when invoking
>> pkglint on netbsd-10:
>>
>> % pkglint
>> panic: Pkglint internal error: user.Current: user: lookup userid 100:
>> permission denied [recovered]
>
> At startup, pkglint determines the current username, to match it against
> the OWNER or MAINTAINER of a pkgsrc package. This fails here.
>
> To track this bug down, you can try the following minimal Go program:
> [...]
Thanks, that helped.
ktrace has
[...]
3136 3136 u MISC mbsoname: [127.0.0.1]
3136 3136 u GIO fd 3 wrote 80 bytes
"\M-d\ve\M^Q\0\0\0\0\0\0\0\^B\0\^A\M^F\M-$\0\0\0\^B\0\0\0\^C\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\vForstquelle\0\
\0\0\0\fpasswd.byuid\0\0\0\^C100\0"
3136 3136 u RET sendto 80/0x50
3136 3136 u CALL
__pollts50(0x7f7ff7a2f9c4,1,0x7f7fffffde50,0x7f7fffffde30)
3136 3136 u RET __pollts50 1
3136 3136 u CALL recvfrom(3,0x7f7ff7a2f9cc,0x2260,0,0,0)
3136 3136 u MISC msghdr: [name=0x0, namelen=0,
iov=0xffffd2887f354f20, iovlen=1, control=0x0, controllen=0, flags=0]
3136 3136 u GIO fd 3 read 88 bytes
"\M-d\ve\M^Q\0\0\0\^A\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\^A\0\0\08hauke:*:100:100:Hauke
Fath:/home/hauke:/usr/\
pkg/bin/tcsh"
3136 3136 u RET recvfrom 88/0x58
[...]
before the panic.
This is a NIS client, and looking around, I find that pkglint works
fine on my non-NISed machines.
It would seem that go121 has a problem with NIS, and so does go120.
OTOH, go118 runs the sample without an error.
Where to go from here?
Cheerio,
Hauke
--
Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Linnéweg 7
64342 Seeheim-Jugenheim
Germany
Home |
Main Index |
Thread Index |
Old Index