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

Unable to configure SysSock.Use parameter using rhel_system_roles.logging

    • None
    • None
    • rhel-sst-system-roles
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

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

      According to rsyslog documentation the parameter SysSock.Use="off" can be used to using rsyslog beside systemd.

      This can't be configured when logging is configured using ansible system-role

      Please provide the package NVR for which bug is seen:

       

      Collection               Version
      ------------------------ -------
      redhat.rhel_system_roles 1.22.0  

       

       

      How reproducible:

      always

      Steps to reproduce

      1. Apply the following playbook to a target system an check the resulting configuration file

       

      ---                                                
      - name: Reproducer configure rsyslog using rhel-system-roles 
        hosts: reproducer
        become: true
        
        collections:                
          - redhat.rhel_system_roles
          
        tasks:
          - name: Apply configuration role to target
            ansible.builtin.import_role:
              name: redhat.rhel_system_roles.logging
            vars:
              logging_inputs:
                - name: custom_basics
                  type: basics
                  use_imuxsock: true  

       

      Expected results

      A configuration in playbook should force the parameter to be off.

      SysSock.Use="off" 

      Actual results

       

      module(load="imuxsock"    # provides support for local system logging (e.g. via logger command)
             SysSock.RateLimit.Burst="200"
             SysSock.RateLimit.Interval="0"
             SysSock.Use="on")  # Turn on message reception via local log socket. 

       

       

              spetros@redhat.com Sergei Petrosian
              rhn-support-sfroemer Steffen Frömer
              Richard Megginson Richard Megginson
              David Jez David Jez
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: