Bug 14891

Summary: sudo: group setup fails since commit 9b7f8da96b
Product: buildroot Reporter: Matthias Hardt <mhardt>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot, yann.morin.1998
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Matthias Hardt 2022-07-05 15:54:44 UTC
Hi guys,

using the buildroot master branch, sudo group setup fails since commit 9b7f8da96b, which updated sudo to v1.9.11p2.

The fix is trivial, an adjustment for the sed pattern matching is needed in SUDO_ENABLE_SUDO_GROUP_RULE because the sudoers file changed.

Best regards,
Matthias
Comment 1 Thomas Petazzoni 2022-07-18 21:53:03 UTC
Thanks for the bug report and investigation! I have submitted a patch at https://patchwork.ozlabs.org/project/buildroot/patch/20220718215158.2167845-1-thomas.petazzoni@bootlin.com/ to fix this.
Comment 2 Yann E. MORIN 2022-07-18 22:07:24 UTC
Matthias, All,

Thanks for your report.

We believe this has been fixed with commit 079fccdee5a2 (package/sudo:
fix SUDO_ENABLE_SUDO_GROUP_RULE following version bump), as provided by
Thomas.

In case there is still an issue, do not hesitate to reopen and provide
more information.

Regards,
Yann E. MORIN.