Bug 1861771
Summary: | Cannot use the graphical user interface when pam_tty_audit.so is enabled | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Renaud Métrich <rmetrich> | |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> | |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 8.3 | CC: | abuckner, fkrska, kmoriguc, leonfauster, lvrabec, mmalik, plautrba, sgadekar, ssekidde, zpytela | |
Target Milestone: | rc | Keywords: | AutoVerified, Triaged, ZStream | |
Target Release: | 8.4 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | selinux-policy-3.14.3-67.el8 | Doc Type: | Bug Fix | |
Doc Text: |
Cause:
When the pam_tty_audit pam module is enabled for a user session, systemd needs the audit_control capability to be able to control kernel audit configuration and rules. This capability was not allowed,
Consequence:
The systemd user manager fails to start, errors are logged and AVC denials audited.
Graphical display managers do not work any longer as they use a systemd user session to spawn the greeter.
Fix:
The capability was added to the policy conditionally: it is required to turn on the new init_audit_control boolean which is off by default.
Result:
Uses can use the graphical user interface.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1938216 1962252 (view as bug list) | Environment: | ||
Last Closed: | 2021-05-18 14:57:54 UTC | Type: | Bug | |
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: | ||||
Bug Blocks: | 1938216, 1962252 |
Description
Renaud Métrich
2020-07-29 14:07:11 UTC
*** Bug 1912607 has been marked as a duplicate of this bug. *** *** Bug 1919402 has been marked as a duplicate of this bug. *** This bug has not been fully acknowledged by the subsystem to be resolved during the RHEL 8.4 development and testing phase, so it will be evaluated for inclusion into the next minor product update. If you still want to pursue this issue further, please attach information regarding severity of the bugzilla. I've submitted a Fedora PR to address the issue: https://github.com/fedora-selinux/selinux-policy/pull/643 *** Bug 1943477 has been marked as a duplicate of this bug. *** 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 (selinux-policy 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-2021:1639 |