Dear OpenBSD folks :

I am not sure if this is a bug or not but if I am the root user trying to run "syspatch" based on what I see at :

    https://www.openbsdhandbook.com/upgrade/

I have the env var TMPDIR set to some place such as /tmp/root :

eris# uname -a
OpenBSD eris.bw.genunix.com 7.8 GENERIC.MP#54 amd64
eris# syspatch
syspatch: Can't open /tmp/root/syspatch.zOarCOZ7Ks/SHA256.sig: Permission denied
eris#

However even if I allow anyone on the system to access the root
users TMPDIR files :

eris# chmod 1777 $TMPDIR
eris# syspatch
Get/Verify syspatch78-001_syspatc... 100% |*****************************************************************| 8538 00:00
Installing patch 001_syspatch
syspatch: Read-only filesystem, aborting
eris#

    Well it seems the TMPDIR means nothing to syspatch :

eris# unset TMPDIR
eris# syspatch
Get/Verify syspatch78-001_syspatc... 100% |*****************************************************************| 8538 00:00
Installing patch 001_syspatch
syspatch: Read-only filesystem, aborting
eris#

Not sure what is going on here.

--
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken

Reply via email to