Skip to content

bugfix: sudoloop not working with doas set as sudo executable#2786

Open
mossyguy wants to merge 4 commits intoJguer:nextfrom
mossyguy:next
Open

bugfix: sudoloop not working with doas set as sudo executable#2786
mossyguy wants to merge 4 commits intoJguer:nextfrom
mossyguy:next

Conversation

@mossyguy
Copy link
Copy Markdown

yay-git version used:
yay v12.5.7.r34.g23ee3d3f - libalpm v16.0.1

yays sudoloop does not work with doas set as the sudo executable

[mossyguy@archlinux ~]$  yay --sudo "doas" --sudoloop
doas: invalid option -- 'v'
usage: doas [-Lns] [-C config] [-u user] command [args]
 -> exit status 1

fixed by instead running true command with elevated privileges

@mossyguy mossyguy requested a review from Jguer as a code owner February 18, 2026 21:11
@Jguer
Copy link
Copy Markdown
Owner

Jguer commented Apr 8, 2026

I don't use doas, doesn't this also need the user to set persist in their doas config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants