The case for Groovy was removal of multiple square brackets from syslog output. rsyslog was working with identifiers output such as `be[DOMAIN.COM][1234]:` which is expected to be seen as `sssd_be[1234]:` following the change.
# # Install current SSSD from groovy-updates (2.3.1-3ubuntu3)
# journalctl -u sssd.service 'MESSAGE=Starting up'
-- Logs begin at Wed 2021-02-17 09:11:49 UTC, end at Wed 2021-02-17 09:17:01 UTC. --
Feb 17 09:12:23 groovy-sssd-test sssd[612]: Starting up
Feb 17 09:12:23 groovy-sssd-test be[EXAMPLE.COM][646]: Starting up
# grep -E '(sssd|be)\[' /var/log/syslog
Feb 17 09:12:23 groovy-sssd-test sssd[612]: Starting up
Feb 17 09:12:23 groovy-sssd-test be[EXAMPLE.COM][646]: Starting up
# # Clean up local log output to see only future logs for verification
# journalctl -u sssd.service 'MESSAGE=Starting up'
-- Logs begin at Wed 2021-02-17 09:21:39 UTC, end at Wed 2021-02-17 09:22:24 UTC. --
Feb 17 09:22:22 groovy-sssd-test sssd[1340]: Starting up
Feb 17 09:22:22 groovy-sssd-test sssd_be[1341]: Starting up
# grep -E '(sssd|be)\[' /var/log/syslog
Feb 17 09:22:22 groovy-sssd-test sssd[1340]: Starting up
Feb 17 09:22:22 groovy-sssd-test sssd_be[1341]: Starting up
This verifies the groovy-proposed package fixes the SYSLOG_IDENTIFIER/rsyslog format bug.
Performing verification on Groovy (20.10)
The case for Groovy was removal of multiple square brackets from syslog output. rsyslog was working with identifiers output such as `be[DOMAIN. COM][1234] :` which is expected to be seen as `sssd_be[1234]:` following the change.
# # Install current SSSD from groovy-updates (2.3.1-3ubuntu3)
# apt install -y sssd/groovy-updates archive. ubuntu. com/ubuntu groovy- proposed/ main amd64 Packages mirrors. digitalocean. com/ubuntu groovy-updates/main amd64 Packages dpkg/status mirrors. digitalocean. com/ubuntu groovy/main amd64 Packages
# apt policy sssd
sssd:
Installed: 2.3.1-3ubuntu3
Candidate: 2.3.1-3ubuntu3
Version table:
2.3.1-3ubuntu4 400
400 http://
*** 2.3.1-3ubuntu3 500
500 http://
100 /var/lib/
2.3.1-3 500
500 http://
# # Set up minimal SSSD.conf
# cat << EOF > /etc/sssd/sssd.conf file_version = 2
[sssd]
config_
domains = EXAMPLE.COM
services =
[nss]
[pam]
[sudo]
[domain/ EXAMPLE. COM]
id_provider = files
access_provider = permit
EOF
# chmod 600 /etc/sssd/sssd.conf
# systemctl restart sssd.service
# # Check SSSD logging output
# journalctl -o verbose -u sssd.service 'MESSAGE=Starting up' | grep SYSLOG_IDENTIFIER= IDENTIFIER= sssd IDENTIFIER= be[EXAMPLE. COM]
SYSLOG_
SYSLOG_
# journalctl -u sssd.service 'MESSAGE=Starting up' COM][646] : Starting up
-- Logs begin at Wed 2021-02-17 09:11:49 UTC, end at Wed 2021-02-17 09:17:01 UTC. --
Feb 17 09:12:23 groovy-sssd-test sssd[612]: Starting up
Feb 17 09:12:23 groovy-sssd-test be[EXAMPLE.
# grep -E '(sssd|be)\[' /var/log/syslog COM][646] : Starting up
Feb 17 09:12:23 groovy-sssd-test sssd[612]: Starting up
Feb 17 09:12:23 groovy-sssd-test be[EXAMPLE.
# # Clean up local log output to see only future logs for verification
# journalctl --rotate && journalctl --vacuum-time=1
# echo -n '' > /var/log/syslog
# # In-place upgrade to SSSD from groovy-proposed (2.3.1-3ubuntu4)
# apt install -y sssd/groovy- proposed archive. ubuntu. com/ubuntu groovy- proposed/ main amd64 Packages dpkg/status mirrors. digitalocean. com/ubuntu groovy-updates/main amd64 Packages mirrors. digitalocean. com/ubuntu groovy/main amd64 Packages
# apt policy sssd
sssd:
Installed: 2.3.1-3ubuntu4
Candidate: 2.3.1-3ubuntu4
Version table:
*** 2.3.1-3ubuntu4 400
400 http://
100 /var/lib/
2.3.1-3ubuntu3 500
500 http://
2.3.1-3 500
500 http://
# # Check SSSD logging output
# journalctl -o verbose -u sssd.service 'MESSAGE=Starting up' | grep SYSLOG_IDENTIFIER= IDENTIFIER= sssd IDENTIFIER= sssd_be
SYSLOG_
SYSLOG_
# journalctl -u sssd.service 'MESSAGE=Starting up'
-- Logs begin at Wed 2021-02-17 09:21:39 UTC, end at Wed 2021-02-17 09:22:24 UTC. --
Feb 17 09:22:22 groovy-sssd-test sssd[1340]: Starting up
Feb 17 09:22:22 groovy-sssd-test sssd_be[1341]: Starting up
# grep -E '(sssd|be)\[' /var/log/syslog
Feb 17 09:22:22 groovy-sssd-test sssd[1340]: Starting up
Feb 17 09:22:22 groovy-sssd-test sssd_be[1341]: Starting up
This verifies the groovy-proposed package fixes the SYSLOG_ IDENTIFIER/ rsyslog format bug.