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

Imjournal module ignores $FileCreateMode parameter

    • Normal
    • sst_security_special_projects
    • ssg_security
    • False
    • Hide

      None

      Show
      None
    • If docs needed, set a value

      +++ 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-10.el8 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
            SSG Security QE SSG Security QE
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: