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 1032629 - sosreport started from abrtd produces plenty of AVCs
Summary: sosreport started from abrtd produces plenty of AVCs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: selinux-policy
Version: 7.0
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Miroslav Grepl
QA Contact: Milos Malik
URL:
Whiteboard:
: 1037460 1038877 (view as bug list)
Depends On:
Blocks: 782468 1032585
TreeView+ depends on / blocked
 
Reported: 2013-11-20 13:54 UTC by Jakub Filak
Modified: 2016-12-01 00:49 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.12.1-110.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:50:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The list of all AVCs (42.55 KB, text/plain)
2013-11-20 13:54 UTC, Jakub Filak
no flags Details

Description Jakub Filak 2013-11-20 13:54:13 UTC
Created attachment 826657 [details]
The list of all AVCs

Description of problem:
Upon a detected crash abrtd service runs sosreport and it produces plenty of AVCs.

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

Comment 2 Miroslav Grepl 2013-11-20 14:28:23 UTC
I added fixes.

Comment 9 Miroslav Grepl 2013-11-25 10:04:57 UTC
Ok so we have


allow sosreport_t init_t:system status;
allow sosreport_t init_t:unix_stream_socket connectto;
allow sosreport_t init_var_run_t:sock_file write;


These are access check.
allow sosreport_t lvm_lock_t:dir write;


allow sosreport_t rpm_t:dbus send_msg;
allow sosreport_t self:process signal;
allow sosreport_t setroubleshootd_t:process signull;

Comment 10 Miroslav Grepl 2013-11-25 10:30:43 UTC
I added fixes.

Comment 11 Miroslav Grepl 2013-12-03 09:40:55 UTC
*** Bug 1037460 has been marked as a duplicate of this bug. ***

Comment 18 Miroslav Grepl 2013-12-06 08:55:55 UTC
*** Bug 1038877 has been marked as a duplicate of this bug. ***

Comment 19 Miroslav Grepl 2013-12-06 10:15:07 UTC
commit dcbfc643807c5d1c24271de29f33c3ff93d614df
Author: Miroslav Grepl <mgrepl>
Date:   Fri Dec 6 11:13:43 2013 +0100

    Allow up2date running as rpm_t create up2date log file with rpm_log_t labeling

Comment 21 Miroslav Grepl 2013-12-10 15:04:31 UTC
commit 210346ac2995da8794234fbb39e5677cb1861120
Author: Miroslav Grepl <mgrepl>
Date:   Tue Dec 10 16:03:44 2013 +0100

    Fix rpm_named_filetrans_log_files() interface

diff --git a/rpm.if b/rpm.if
index 0c8576e..064712b 100644
--- a/rpm.if
+++ b/rpm.if
@@ -391,7 +391,7 @@ interface(`rpm_named_filetrans_log_files',`
                type rpm_log_t;
        ')
     logging_log_named_filetrans($1, rpm_log_t, file, "yum.log")
-    logging_log_named_filetrans($1, rpm_log_t, file, "upd2date")
+    logging_log_named_filetrans($1, rpm_log_t, file, "up2date")
 ')

Comment 23 Ludek Smid 2014-06-13 12:50:46 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


Note You need to log in before you can comment on or make changes to this bug.