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

Unable to configure SysSock.Use parameter using rhel_system_roles.logging

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhel-8.9.0.z
    • rhel-system-roles
    • None
    • sst_system_roles
    • False
    • Hide

      None

      Show
      None
    • x86_64

      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: