Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Two rhel-8 ws container scenario fixes #21223

Merged
merged 2 commits into from
Nov 6, 2024
Merged

Commits on Nov 6, 2024

  1. test: Fix RHEL 8 skip reason for TestLogin.testConversation

    The test fails in the ws container scenario as cockpit-tests and hence
    mock-pam-conv isn't installed on the host.
    martinpitt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    d848d0e View commit details
    Browse the repository at this point in the history
  2. test: Enable testSELinuxRestrictedUser on RHEL 8

    Logging in as sysadm_u fails by default in RHEL 8:
    
    > SELinux is preventing /usr/sbin/sshd from using the dyntransition access on a process.
    > If you want to allow ssh to sysadm login
    > Then you must tell SELinux about this by enabling the 'ssh_sysadm_login' boolean.
    > setsebool -P ssh_sysadm_login 1
    
    Follow its advice.
    martinpitt committed Nov 6, 2024
    Configuration menu
    Copy the full SHA
    5c406fe View commit details
    Browse the repository at this point in the history