Bug#831396: procps: [ps] fails on kfreebsd

2016-12-04 Thread lumin
Hi, > Note that as a quick workaround you can set this on 10.3: > # sysctl -w compat.linux.osrelease=2.6.16 It worked for me, thanks! Debian/kfreebsd-amd64 sid with kfreebsd-10.3

Bug#831396: procps: [ps] fails on kfreebsd

2016-07-16 Thread Steven Chamberlain
Hello, I'm glad you both managed to figure out the cause of this... sorry for not filing a bug about it already. Carsten Leonhardt wrote: > $ more /proc/sys/kernel/osrelease > 2.6.32 This affects sid (kfreebsd 10.3) but not older kernel versions. Note that as a quick workaround you can set this

Bug#831396: procps: [ps] fails on kfreebsd

2016-07-16 Thread Carsten Leonhardt
> Ah ha, I think I know the problem. And it is related to the kernel version. > asdfasdf has this: > $ more /proc/sys/kernel/osrelease > 2.6.16 > I bet you have something else, something bigger than 2.6.27 > > The relevant procps code: > if (linux_version_code < LINUX_VERSION(2, 6, 27)) >

Bug#831396: procps: [ps] fails on kfreebsd

2016-07-16 Thread Craig Small
On Sat, Jul 16, 2016 at 7:20 PM Carsten Leonhardt wrote: > 3857 ps NAMI "/proc/sys/vm/min_free_kbytes" > 3857 ps RET open -1 errno 2 No such file or directory > Ah ha, I think I know the problem. And it is related to the kernel version. asdfasdf has this: $ more /proc/sys/kern

Bug#831396: procps: [ps] fails on kfreebsd

2016-07-16 Thread Carsten Leonhardt
Hi, > Could it be they have "improved" the procfs in some way from 9.x to 10.x? > Can you strace the ps command? I'm looking for opens under /proc that fail. this is the end of a ktrace: 3857 ps CALL open(0x80146de1b,0,0) 3857 ps NAMI "/proc/sys/vm/min_free_kbytes" 3857 ps

Bug#831396: procps: [ps] fails on kfreebsd

2016-07-15 Thread Craig Small
On Sat, Jul 16, 2016 at 1:21 AM Carsten Leonhardt wrote: > # ps > Error: /proc must be mounted > /proc must be mounted basically means "I tried opening a file under /proc and failed". I just compiled procps 3.3.12 on the Debian kfreebsd machine asdfasdf and worked fine. Unfortunately I am unable

Bug#831396: procps: [ps] fails on kfreebsd

2016-07-15 Thread Carsten Leonhardt
Package: procps Version: 2:3.3.12-2 Severity: normal User: debian-...@lists.debian.org Usertags: kfreebsd Dear Maintainer, ps fails on kfreebsd-amd64: # ps Error: /proc must be mounted To mount /proc at boot you need an /etc/fstab line like: proc /proc procdefaults In the meant