On 2026-04-19, Dennis Clarke <[email protected]> wrote:
>
> 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/

btw this site is unofficial. it is also wrong in some places.

> 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#

syspatch runs fetches/hash checks as separate users, they will need
access to the dir

> 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.

looks like you have a filesystem that's mounted read-only.



-- 
Please keep replies on the mailing list.

Reply via email to