This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Document using doas instead of sudo for Alpine Installation method #16391
Labels
A-Docs
things relating to the documentation
A-Packaging
Our Debian packages, docker images; or issues relevant to downstream packagers
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Tolerable
Minor significance, cosmetic issues, low or no impact to users.
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
synapse/docs/setup/installation.md
Line 163 in 11c6cc1
sudo
must be explicitly installed by the user (or through a dependency), so it will not be available. Alpine Linux actually usesdoas
instead ofsudo
.doas is part of the main repository, and sudo is only part of the community package. (See Repositories for difference between
main
andcommunity
repo)doas is installed when necessary (unprivileged user setup during
setup-alpine
), sudo is only installed either explicitly by the user or indirectly through a package that depends on it (2 of them), so sudo will not be available and will cause problems if the command is copied as is.I'd suggest changing
sudo
todoas
for the Alpine Linux install.Also, the community repository needs to be enabled explicitly too, which isn't part of the instruction.
The text was updated successfully, but these errors were encountered: