>In message <[email protected]>you write:
>>On Thu, May 04, 2017 at 09:43:07AM -0400, [email protected] 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?

Regards,

John
--
John DiMarco  <[email protected]>  http://www.cs.toronto.edu/~jdd
IT Director, Department of Computer Science, University of Toronto  
Office: SF3302  1-416-978-5300  Fx:1-416-946-5464  Skype:jddimarco

Reply via email to