Re: [arch-announce] Switch to the base-devel meta package requires manual intervention

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



Hey

On 15/02/2023 09:53, Óscar García Amor wrote:
El mié, 15-02-2023 a las 01:59 +0000, Polarian escribió:
I do not want sudo on my system

This is an issue that I have thought about a lot because I see that
there are many people (including me) who prefer to have a simple
executable (doas) to become root instead of a whole system that could
send another man (or woman) to the moon and the truth is that there is
no simple solution as the Arch Linux package system is set up.

If our system had something like Debian (I'm not saying I like it, but
it's a solution) with `update-alternatives`, you could choose `doas` as
an alternative and uninstall `sudo`. Unfortunately, since we don't have
it, there is no easy solution.

This has been discussed in pacman-devel, I am not sure if this is coming soon or planned.

A possible alternative would be to use `provides` in the packages, so
that `doas` would provide `sudo` and then the user could choose what he
wants. But this would cause `doas` and `sudo` to conflict with each
other, since it would be necessary for `doas` to create a
`/usr/bin/sudo -> doas` symbolic link so as not to break the
compatibility of packages that require `sudo`.

This is not an option as devtools which requires sudo is not compatible with doas (for usage outside of the build chroot). If it was then sudo could become optional potentially.

https://gitlab.archlinux.org/archlinux/devtools/-/merge_requests/131



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux