pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/56483: doas /sbin/reboot hangs

>Number:         56483
>Category:       pkg
>Synopsis:       doas /sbin/reboot hangs
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 03 20:30:00 +0000 2021
>Originator:     Don Allen
>Release:        9.2
NetBSD 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021 amd64
I have installed doas on a system running NetBSD 9.2. /usr/pkg/etc/doas.conf includes the line:

permit nopass dca as root cmd /sbin/reboot

If I do

doas /sbin/reboot

from a shell in my account, the system hangs and fails to reboot.

On the other hand, I also have sudo installed, with this line in the sudoers file:

dca     giovanni = NOPASSWD: /sbin/reboot

and I do

sudo /sbin/reboot

the system reboots properly.

I have used the identical doas.conf on openbsd and freebsd and 'doas /sbin/reboot' works properly.
See full description.

Home | Main Index | Thread Index | Old Index