On 2025-10-12, Martin Schröder <[email protected]> wrote:
> Am So., 12. Okt. 2025 um 17:16 Uhr schrieb Todd C. Miller 
> <[email protected]>:
>> At configure time sudo will use /run if it exists, but the OpenBSD
>> sudo package should be using /var/run.  It certainly does on my
>> systems.
>
> It does here:
>
>> doas rm -rf /run
> [20251012T18:08:25+0200(285/41)] ms@wyvern 1008:/
>> sudo ls /
> Password:
> .cshrc     altroot    boot       bsd.booted bsd.sp     etc        mnt
>       run        sys        usr
> .profile   bin        bsd        bsd.rd     dev        home       root
>       sbin       tmp        var
> [20251012T18:08:36+0200(285/41)] ms@wyvern 1009:/
>> sudo --version
> Sudo version 1.9.17p1
> Sudoers policy plugin version 1.9.17p1
> Sudoers file grammar version 50
> Sudoers I/O plugin version 1.9.17p1
> Sudoers audit plugin version 1.9.17p1
> [20251012T18:08:42+0200(285/41)] ms@wyvern 1010:/
>> uname -a
> OpenBSD wyvern.local.oneiros.de 7.7 GENERIC.MP#625 amd64

I guess you built sudo yourself on a system that had /run present
at configure time then?

Todd, perhaps it would be worth adding --with-rundir=/var/run
to the port?

Reply via email to