Bug 2077473

Summary: tlog causing SSH to not reliably run commands [rhel-8.6.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: tlogAssignee: jstephen
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.6CC: aboscatt, briasmit, jstephen, lmiksik, mthacker, nhosoi, nikolai.kondrashov, rmeggins, spoore
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2070971 Environment:
Last Closed: 2022-05-10 17:15:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2070971    
Bug Blocks:    

Comment 11 Scott Poore 2022-04-27 15:41:19 UTC
Verified

Version ::

tlog-12.1-1.el8_6.x86_64

Results ::

Before update ansible-playbook hung on ssh connection.

$ ansible-playbook -i 127.0.0.1, test.yaml

PLAY [all] ********************************************************************************************

TASK [run a command] **********************************************************************************
^C [ERROR]: User interrupted execution


After update:

# cat /etc/sssd/conf.d/sssd-session-recording.conf 
[sssd]
enable_files_domain=true
services=nss

[session_recording]
scope=all
exclude_users=
exclude_groups=

# su - localuser1
Last login: Wed Apr 27 11:27:26 EDT 2022 on pts/0
Locale charset is ANSI_X3.4-1968 (ASCII)
Assuming locale environment is lost and charset is UTF-8

ATTENTION! Your session is being recorded!

$ cat ansible.cfg 
[ssh_connection]
pipelining=True

$ cat test.yaml 
---
  - hosts: all
    gather_facts: false
    tasks:
      - name: run a command
        command: dmesg
      - name: copy a file
        copy:
          src: test.yaml
          dest: /tmp/test_file.yaml

$ ansible-playbook -i 127.0.0.1, test.yaml

PLAY [all] ********************************************************************************************

TASK [run a command] **********************************************************************************
changed: [127.0.0.1]

TASK [copy a file] ************************************************************************************
changed: [127.0.0.1]

PLAY RECAP ********************************************************************************************
127.0.0.1                  : ok=2    changed=2    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0

Comment 15 errata-xmlrpc 2022-05-10 17:15:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (tlog bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:2139