-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.5
-
None
-
sudo-1.9.5p2-12.el9
-
Yes
-
Low
-
ZStream
-
rhel-idm-sssd
-
ssg_security
-
17
-
5
-
QE ack, Dev ack
-
False
-
False
-
-
None
-
None
-
Regression Exception
-
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-10.el9_3.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:16:43 r95 sudo[32308]: root : TTY=pts/0 ; PWD=/root ; USER=root ; ENV=HOME=/root PATH=/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin ; COMMAND=/bin/sleep .1
Actual results
Dec 19 17:15:34 r95 sudo[32069]: root : TTY=pts/0 ; PWD=/root ; USER=root ; ENV=HOME=/root PATH=/root/.local/bin:/root/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/binCOMMAND=/bin/sleep .1
Additional information
downgrading to package sudo-1.9.5p2-9.el9.x86_64 does show the expected results which is a "<space><semicolon>" between ENV= and COMMAND= fields.