Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-39406

/etc/logrotate.d/rsyslog contain different way of reloading rsyslog

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-10.0.beta
    • rsyslog
    • None
    • None
    • None
    • rhel-sst-security-special-projects
    • ssg_security
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      logrotate rsyslog config containing different way of reloading service than previous version of RHEL.

       

      Please provide the package NVR for which bug is seen:

      rsyslog-8.2312.0-1.el10.x86_64

      How reproducible:

      Run rsyslog upstream test.

      Steps to reproduce

      1. $ git clone https://github.com/RedHat-SP-Security/rsyslog-tests.git 
      2. run  in working dir $ tmt --context distro=rhel-10.0 run plan --default -vvv prepare discover -h fmf -t /Regression/posixly-correct -vv provision -h connect --guest IP -u USER -p PASSWORD execute --how tmt --interactive login finish

      Expected results - RHEL-9.4

      /usr/bin/systemctl -s HUP kill rsyslog.service >/dev/null 2>&1 || true

      Actual results - RHEL-10.0

      /usr/bin/systemctl reload rsyslog.service >/dev/null 2>&1 || true

       

      Logs:

       

      https://artifacts.osci.redhat.com/testing-farm/5e40267c-2ecb-477c-a674-d62699cff4b9/work-general0e37vezf/Plans/general/execute/data/guest/default-0/Upstream_rsyslog_tests/Regression/posixly-correct-28/output.txt 

              rh-ee-alakatos Attila Lakatos
              pkoncity2 Patrik Končitý
              Attila Lakatos Attila Lakatos
              SSG Security QE SSG Security QE
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: