Recent update to upstream sudo broke Archlinux template updates #9395
Labels
affects-4.2
This issue affects Qubes OS 4.2.
C: Arch Linux
The Arch Linux template
diagnosed
Technical diagnosis has been performed (see issue comments).
P: default
Priority: default. Default priority for new issues, to be replaced given sufficient information.
pr submitted
A pull request has been submitted for this issue.
T: bug
Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Qubes OS release
R4.2
Brief summary
Archlinux upstream decided to include secure_path by default in sudoers. It's a problem for us because we use set
/run/qubes/bin/pacman
in PATH so ourpacman
with set tinyproxy runs. The new update prevents Archlinux from updating by preventing PATH from being propagated duringsudo pacman -Syu
https://gitlab.archlinux.org/archlinux/packaging/packages/sudo/-/commit/e5e504db273b7b0a3990da6a8acf9d515d654ec6
Steps to reproduce
Update an Archlinux template so that it gets
sudo 1.9.15.p5-2
. Trysudo pacman -Syu
again.Expected behavior
The system updates.
Actual behavior
The system fails to upgrade because the
/usr/bin/pacman
is used, preventing it from using our updates proxy.The text was updated successfully, but these errors were encountered: