Index | Thread | Search

From:
Walter Alejandro Iglesias <wai@roquesor.com>
Subject:
Re: upd(4): add more sensors (load, power..)
To:
Miod Vallat <miod@online.fr>
Cc:
Landry Breuil <landry@openbsd.org>, stu@spacehopper.org, tech@openbsd.org
Date:
Thu, 21 Nov 2024 18:43:38 +0100

Download raw body.

Thread
On Thu, Nov 21, 2024 at 05:07:11PM +0000, Miod Vallat wrote:
> > After applying this diff this happened:
> > 
> >   $ sysctl hw.sensors
> >   sysctl: sensors dev 0: Cannot allocate memory
> 
> You need to at least do `make includes' in usr/src, then rebuild and
> reinstall sysctl and sensorsd.
> 

I don't understand why even running this as root I get "Permission
denied".

  /usr/src# make includes
  cd /usr/src/include &&  su build -c 'exec make prereq' &&  exec make includes
  preparing in /usr/src/include/../lib/libcrypto
  cat /usr/src/lib/libcrypto/objects/obj_mac.num > obj_mac.num.tmp
  /bin/sh: cannot create obj_mac.num.tmp: Permission denied
  *** Error 1 in lib/libcrypto (Makefile:725 'obj_mac.h')
  *** Error 2 in include (Makefile:81 'prereq': @for i in ../lib/libcrypto ../lib/librpcsvc; do  echo preparing in /usr/src/include/$i;  cd /u...)
  *** Error 2 in /usr/src (Makefile:55 'includes')

-- 
Walter