-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.10, rhel-8.10.z
-
None
-
sudo-1.9.5p2-1.el8_10.2
-
Yes
-
Low
-
rhel-idm-sssd
-
ssg_security
-
None
-
False
-
False
-
-
None
-
None
-
Pass
-
Automated
-
None
What were you trying to do that didn't work?
Processing /var/log/secure sudo logs.
What is the impact of this issue to you?
This change/regression breaks log processing.
Please provide the package NVR for which the bug is seen:
sudo-1.9.5p2-1.el8_9.x86_64
How reproducible is this bug?:
Always
Steps to reproduce
- # sudo --preserve-env=HOME,PATH sleep .1
- # journalctl -f
- CTRL-C
Expected results
Dec 19 17:09:28 r810 sudo[6537]: root : TTY=pts/0 ; PWD=/root ; USER=root ; ENV=HOME=/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin ; COMMAND=/bin/sleep .1
Actual results
Dec 19 17:07:58 r810 sudo[6494]: root : TTY=pts/0 ; PWD=/root ; USER=root ; ENV=HOME=/root PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/binCOMMAND=/bin/sleep .1
Additional information
downgrading to package sudo-1.8.29-10.el8.x86_64 does show the expected results which is a "<space><semicolon>" between ENV= and COMMAND= fields.
- links to
-
RHBA-2025:152646 sudo update