Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem
======================
After upgrading from maximalistic installation RHEL-7 to RHEL-8, we're getting this AVC:
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max kernel policy version: 31
selinux-policy-3.14.3-41.el8_2.6.noarch
----
time->Tue Sep 15 21:50:29 2020
type=USER_AVC msg=audit(1600221029.501:41): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: denied { status } for auid=n/a uid=0 gid=0 path="/usr/lib/systemd/system/winbind.service" cmdline="" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:samba_unit_file_t:s0 tclass=service permissive=1 exe="/usr/lib/systemd/syst
audit2allow says:
allow NetworkManager_t samba_unit_file_t:service status;
Version-Release number of selected component
============================================
selinux-policy-3.14.3-41.el8_2.6
How reproducible
================
Not sure; seen several times
Steps to Reproduce
==================
1. Install maximalistic set of packages on RHEL-7
2. Upgrade to RHEL-8 using leapp
3. ausearch ..
Actual results
==============
AVC
Expected results
================
no AVC
Additional info
===============
(Supposedly, maximalistic installation is not needed; just one
of the ~2500 packages is probably the culprit ;)).
Description of problem ====================== After upgrading from maximalistic installation RHEL-7 to RHEL-8, we're getting this AVC: SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: permissive Mode from config file: permissive Policy MLS status: enabled Policy deny_unknown status: allowed Memory protection checking: actual (secure) Max kernel policy version: 31 selinux-policy-3.14.3-41.el8_2.6.noarch ---- time->Tue Sep 15 21:50:29 2020 type=USER_AVC msg=audit(1600221029.501:41): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='avc: denied { status } for auid=n/a uid=0 gid=0 path="/usr/lib/systemd/system/winbind.service" cmdline="" scontext=system_u:system_r:NetworkManager_t:s0 tcontext=system_u:object_r:samba_unit_file_t:s0 tclass=service permissive=1 exe="/usr/lib/systemd/syst audit2allow says: allow NetworkManager_t samba_unit_file_t:service status; Version-Release number of selected component ============================================ selinux-policy-3.14.3-41.el8_2.6 How reproducible ================ Not sure; seen several times Steps to Reproduce ================== 1. Install maximalistic set of packages on RHEL-7 2. Upgrade to RHEL-8 using leapp 3. ausearch .. Actual results ============== AVC Expected results ================ no AVC Additional info =============== (Supposedly, maximalistic installation is not needed; just one of the ~2500 packages is probably the culprit ;)).