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

Imjournal module ignores $FileCreateMode parameter

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • rsyslog-8.2310.0-3.el9
    • None
    • Moderate
    • rhel-security-special-projects
    • ssg_security
    • None
    • QE ack, Dev ack
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • None
    • If docs needed, set a value
    • None
    • 57,005

      +++ This bug was initially created as a clone of Bug #2181552 +++

      Description of problem:

      The imjournal module is not checking the Legacy $FileCreateMode parameter, and in consequence the imjournal state file is being created with a different mode than the expected.

      Currently, defining the mode for this file is not possible.

      Version-Release number of selected component (if applicable):
      From at least rsyslog-8.2102.0-105.el9 to latest.

      How reproducible:
      Always

      Steps to Reproduce:
      1. Set $umask 0000
      2. Set the desired $FileCreateMode
      3. Configure the imjournal module and $imjournalStateFile
      4. Check the mode of the imjournal state file

      Actual results:
      The mode is not the expected because $FileCreateMode is not being checked.

      Expected results:
      The imjournal state file is created with the mode declared with $FileCreateMode.

              rh-ee-alakatos Attila Lakatos
              rhn-support-jeperez Jesus Perez
              Attila Lakatos Attila Lakatos
              Jiri Jaburek Jiri Jaburek
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated:
                Resolved: