> >In message <20170504150753.GH72850@t430s.bluhm.invalid>you write:
> >>On Thu, May 04, 2017 at 09:43:07AM -0400, j...@cs.toronto.edu wrote:
> >>>   However in OpenBSD 6.1, attempting to run config in this way fails,
> >>>   with the message:
> >>>   config: kvm_openfiles: /dev/mem: Operation not permitted
> >>
> >>Putting kern.allowkmem=1 into /etc/sysctl.conf and reboot should help.
> >
> >Yes, that workaround does the trick, thanks.
> 
> Played with it a bit more.  Instead of kern.allowkmem=1 in /etc/sysctl.conf,
> a better workaround appears to be to boot into single-user mode and run
> config from there.  It's better in that leaving kern.allowkmem at 0 is a
> more secure setting.  This is a completely acceptable workaround.
> 
> Perhaps mention in the config man page to use single-user mode when
> kern.allowkmem is 0?

yes, singleuser use is better.

To be frank, I want to kill kern.allowkmem eventually.

Reply via email to