aura icon indicating copy to clipboard operation
aura copied to clipboard

aura doesn't work with `doas`

Open adam-devel opened this issue 4 years ago • 8 comments

i use doas instead of sudo (and opendoas-sudo, which symlink sudo to doas) this have been working forever for all of my programs (including pacman).

aura seem to be the only program that complain

$ aura -Au
aura >>= You cannot perform this operation without using sudo.
$ doas aura -Au
aura >>= As of makepkg v4.2, building as root is no longer possible.

adam-devel avatar Dec 19 '20 21:12 adam-devel

#556 is probably related

adam-devel avatar Dec 19 '20 21:12 adam-devel

Should be rewritten to ask permissions on demand, rather than in advance. Related: https://github.com/fosskers/aura/issues/675#issuecomment-733394408.

ratijas avatar Dec 19 '20 22:12 ratijas

and/or giving users the ability to modify the sudo binary path to an arbitrary value in the configuration, or adding support for multiple ways to gain super user privileges, by choosing one of sudo, doas, or su in the configuration (this mean that aura have to manage that internally, the user doesn't have to prefix the command with sudo or doas or anything, like yay do it)

but i still prefer that it delay using superuser privileges until it's done building

adam-devel avatar Dec 20 '20 17:12 adam-devel

Aura's Rust rewrite already does permission-on-demand, so this will be an autofix once that (version 4.0) is released.

fosskers avatar Dec 21 '20 19:12 fosskers

Uhm, so for me the issue persists on AURA Version 3.2.7. Is this fix included?

zmrocze avatar Apr 17 '22 13:04 zmrocze

The current Aura 3.x series doesn't support doas, but it won't matter once Aura 4 is released.

fosskers avatar Apr 20 '22 16:04 fosskers

The current Aura 3.x series doesn't support doas, but it won't matter once Aura 4 is released.

Do you have an estimate as to when will that be?

GandelXIV avatar Dec 20 '22 14:12 GandelXIV

In the new year, thanks for your patience.

fosskers avatar Dec 21 '22 01:12 fosskers