pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sysutils/lsof stopped working for non-root user
whereas fstat still works on OpenBSD:
---
$ doas pkg_add lsof
doas (xci%o62.lorien.lan@localhost) password:
quirks-2.367 signed on 2017-10-03T11:21:28Z
Can't find lsof
Obsolete package: lsof (ancient software that doesn't work)
<<=================
$ fstat|head -5
USER CMD PID FD MOUNT INUM MODE R/W SZ|DV
xci ksh 13960 text / 35860 -r-xr-xr-x r 563936
xci ksh 13960 wd /home 25984 drwxr-xr-x r 512
xci ksh 13960 0 pipe 0x0 state:
xci ksh 13960 1 / 566 crw--w---- rw ttyp2
$ uname -a
OpenBSD o62.lorien.lan 6.2 GENERIC#9 amd64
$ id
uid=1000(xci) gid=1000(xci) groups=1000(xci), 0(wheel)
---
(I haven't tried OpenBSD 6.3 yet).
So while the loss of lsof shouldn't be that big of a cause for lament,
there is some issue.
On Fri, 28 Sep 2018 at 10:38, <maya%netbsd.org@localhost> wrote:
>
> On Thu, Sep 27, 2018 at 07:34:25PM -0700, John Nemeth wrote:
> > On Sep 27, 2:56pm, Christos Zoulas wrote:
> > } On Sep 27, 8:51am, ci4ic4%gmail.com@localhost (Chavdar Ivanov) wrote:
> > }
> > } | So is this expected and intended consequence, bug or still unfinished
> > } | part of the project? Just curious (it runs on FreeBSD-current, latest
> > } | CentOS, NetBSD-8).
> > }
> > } I think it is unexpected, but maybe intended. I need to examine why it fails.
> >
> > lsof is known to be a kvm groveller.
> >
> > Does fstat, which comes as part of the NetBSD base install, work?
> >
> > }-- End of excerpt from Christos Zoulas
>
> Nope, it returns empty results unless run as root.
--
----
Home |
Main Index |
Thread Index |
Old Index