> On Mon, May 22, 2017 at 02:00:51PM +0200, Jan Stary wrote: > > acpidump(8) wants kern.allowkmem. > > Does it make sense to put that into examples sysctl.conf?
On May 22 09:06:51, dera...@openbsd.org wrote: > No, in fact I want to kill that sysctl eventually, perhaps couple this > with securelevel=0, and never allow it otherwise. On May 22 14:09:57, sema...@online.fr wrote: > It should be rare to need to run acpidump(8) post-boot. The system > already runs it at startup and stock files under /var/db/acpi. On May 22 14:42:57, mark.kette...@xs4all.nl wrote: > The bootscript already runs acpidump ad stores the results in /var/db/acpi. > So there is no reason to run acpidump. Should the manpage say so? Index: acpidump.8 =================================================================== RCS file: /cvs/src/usr.sbin/acpidump/acpidump.8,v retrieving revision 1.17 diff -u -p -r1.17 acpidump.8 --- acpidump.8 26 Sep 2016 19:58:26 -0000 1.17 +++ acpidump.8 22 May 2017 17:41:03 -0000 @@ -71,9 +71,14 @@ requires the ability to open which may be restricted based upon the value of the .Ar kern.allowkmem .Xr sysctl 8 . +.Pp +.Nm +is run at startup and stores the results in +.Pa /var/db/acpi . .Sh FILES .Bl -tag -width /dev/mem .It Pa /dev/mem +.It Pa /var/db/acpi .El .Sh SEE ALSO .Xr pkg_add 1 ,