Package: opendoas
Version: 6.8.2-1+b1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

        I configure doas as instructed in the Debian wiki, then I try to update 
mirrors using "doas apt update", command runs as expected, but when I try to 
run commands like "doas reboot" or "doas poweroff" or "doas fdisk -l", it shows 
the output "doas: fdisk: command not found", so I thought it was a path issue, 
so I tried "doas /sbin/fdisk -l", command worked.

        I try to find solutions in debian wiki and online. I also try to 
configure doas.conf with setenv way found in the Arch Wiki, but whatever I try, 
doas gives me the same behavior as explained above. It seems doas is not able 
to find the command from path /sbin or /usr/sbin as I understand.

        Tried all these configurations with doas, but still gave me the same 
issue.

        1. First I try to configure doas as shown in debian wiki in 
/etc/doas.conf
        
        permit yyt as root

        2. Second, I try to configure doas as shown in 
/usr/share/doc/opendoas/examples/doas.conf

        permit :sudo

        3. Third, I use setenv options as shown in Arch Wiki to set the path, 
still giving me the same issue.

        permit setenv {PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin} 
:sudo

        if any other informations is needed, then let me know


   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 13.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.12.57+deb13-amd64 (SMP w/3 CPU threads; PREEMPT)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages opendoas depends on:
ii  libc6     2.41-12
ii  libpam0g  1.7.0-5

opendoas recommends no packages.

opendoas suggests no packages.

-- no debconf information

Reply via email to