<118>sysctl: unknown oid 'sysctl compat.linux.osrelease' at line 11: No such file or directory

Anton Shterenlikht mexas at bris.ac.uk
Fri Mar 13 09:42:13 UTC 2015


>From kob6558 at gmail.com Thu Mar 12 19:19:32 2015
>
>spaces. The real question is why "sysctl -a" is trying to execute "sysctl
>'sysctl compat.linux.osrelease'" or some shell specific equivalent. Is
>"sysctl" aliased to a script or something like it?
>What do you get for the output of "sysctl -a > somefile"?

http://eis.bris.ac.uk/~mexas/sysctl-a

This was a good suggestion.
I think I get it now.
It seems I mistakenly set
"sysctl compat.linux.osrelease=2.6.18"
at some point in /etc/sysctl.conf.
I later corrected this to
"compat.linux.osrelease=2.6.18"

The correct option is now in use.
However, because sysctl -a reports
information from several previous boots,
I still get the error message from when
/etc/sysctl.conf was incorrect.

Does this sould right?

Thank you

Anton



More information about the freebsd-ports mailing list