Summary: | app-alternatives/sudo: new portage-managed symlink | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anna Vyalkova <cyber+gentoo> |
Component: | New packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Anna Vyalkova
2023-11-11 20:27:49 UTC
They're not compatible, indeed. Assuming that it's off the table to symlink not-sudo programs to /usr/bin/sudo, a package such as "app-alternatives/root-elevation-helper" might be more apropos. It wouldn't even be limited to sudo and doas, you can do the same thing with polkit via `pkexec`. The big problem is that you'd need to invent your own standard for a generic command. Debian does something similar with e.g. `editor` (and `sensible-editor`). Then you'd also need to edit every package that runs sudo, to run the wrapper thing instead (after making sure it doesn't use options incompatible with any providers). I wouldn't really consider this worth it. There aren't very many packages that use this to begin with, and personally I'm a bit suspicious of even that. Closing per above. I don't think we can do this. You may want a virtual or something where packages genuinely want trivial 'sudo' use. |