Working with doas instead of sudo #33
Labels
No labels
Compat/Breaking
Context/drive-by
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status/Fixed On Main
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lix-project/lix-installer#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The installer script tries to elevate privileges using
sudo. On systems that rundoas, the installation script fails. I used the specified install command on the website:curl -sSf -L https://install.lix.systems/lix | sh -s -- install. Would be great to have the script also trydoasifsudofails.I ran it on Gentoo.
This isn't actually an issue with the script (or at least, the one on
main); installer itself usessudo, in one place:let sudo_cstring = CString::new("sudo").wrap_err("Making C string of `sudo`")?;This makes for a very easy fix: just check if
sudois in PATH, and check fordoasif it's not.Does modern Debian installation come with
sudo, actually? When I tried it years ago, it only hadsu; that might also be something to check for.