Bug 14891 - sudo: group setup fails since commit 9b7f8da96b
Summary: sudo: group setup fails since commit 9b7f8da96b
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-05 15:54 UTC by Matthias Hardt
Modified: 2022-07-18 22:07 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.