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.

Bug 1705599

Summary: SELinux prevents D-bus communication between systemd-hostnamed and sosreport
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kyral <mkyral>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: low Docs Contact:
Priority: low    
Version: 7.6CC: jheger, kvolny, lvrabec, matt.castelein, mmalik, mniranja, ndehadra, peter.vreman, plautrba, sgoveas, ssekidde, tjaros, vmojzis, zpytela
Target Milestone: rcKeywords: Reopened
Target Release: 7.8   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-3.13.1-253.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-31 19:10:50 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:

Description Martin Kyral 2019-05-02 14:34:47 UTC
Description of problem:
There is a new AVC that occured when running the dumpdir_completedness ABRT test on RHEL-7.7:

http://beaker-archive.host.prod.eng.bos.redhat.com/beaker-logs/2019/04/34964/3496496/6784003/91615901/42


Version-Release number of selected component (if applicable):
selinux-policy-3.13.1-244.el7

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Zdenek Pytela 2019-05-02 14:59:05 UTC
This issue was not selected to be included in Red Hat Enterprise Linux 7.7 because it is seen either as low or moderate impact to a small number of use-cases. The next release will be in Maintenance Support 1 Phase, which means that qualified Critical and Important Security errata advisories (RHSAs) and Urgent Priority Bug Fix errata advisories (RHBAs) may be released as they become available.

We will now close this issue, but if you believe that it qualifies for the Maintenance Support 1 Phase, please re-open; otherwise, we recommend moving the request to Red Hat Enterprise Linux 8 if applicable.

Comment 2 Karel Volný 2019-06-04 08:10:38 UTC
*** Bug 1706740 has been marked as a duplicate of this bug. ***

Comment 3 Karel Volný 2019-06-04 08:19:55 UTC
I can observe the problem also on RHEL 7.6 and it breaks our testing (I mean, not just /CoreOS/abrt/Regression/Upstream )

dunno if it is a good bussiness justification, but let me try to reopen, as wasting QE and devel resources on reinvestigating random failures again and again (see bug #1706740) seems to me costlier than just fixing this ... not to speak about customer impact

p.s. note that the issue is not limited to 'dumpdir_completedness' variant, see e.g. here https://beaker.engineering.redhat.com/recipes/6870600#task92818708 or here https://beaker.engineering.redhat.com/jobs/3583693

Comment 4 Milos Malik 2019-06-06 12:25:06 UTC
Here is the SELinux denial which appeared in above-mentioned beaker jobs:
----
time->Wed May 15 23:22:47 2019
type=USER_AVC msg=audit(1557976967.559:2821): pid=5982 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=method_return dest=:1.829 spid=20113 tpid=20112 scontext=system_u:system_r:systemd_hostnamed_t:s0 tcontext=system_u:system_r:sosreport_t:s0-s0:c0.c1023 tclass=dbus  exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
----

Comment 5 Zdenek Pytela 2019-06-17 11:56:57 UTC
*** Bug 1718207 has been marked as a duplicate of this bug. ***

Comment 6 Lukas Vrabec 2019-07-16 13:53:21 UTC
*** Bug 1730220 has been marked as a duplicate of this bug. ***

Comment 32 errata-xmlrpc 2020-03-31 19:10:50 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, 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-2020:1007