Bug 1151030
Summary: | after a crash, SELinux is preventing sosreport to mkdir | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Martin Žember <mzember> | ||||||||
Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Martin Žember <mzember> | ||||||||
Severity: | urgent | Docs Contact: | |||||||||
Priority: | urgent | ||||||||||
Version: | 7.1 | CC: | dapospis, ebenes, mmalik | ||||||||
Target Milestone: | rc | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | selinux-policy-3.13.1-5.el7 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2015-03-05 10:45: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: | |||||||||||
Attachments: |
|
Description
Martin Žember
2014-10-09 12:51:08 UTC
Martin, are you getting more AVCs in permissive mode? Did it work correctly? I believe we can dontaudit it. Here is my reproducer, but it uses a different ABRT addon: # sleep 120 & [1] 2315 # kill -6 2315 # [1]+ Aborted (core dumped) sleep 120 # Here are suggestions produced by audit2allow (enforcing mode): allow sosreport_t NetworkManager_t:dbus send_msg; allow sosreport_t NetworkManager_var_run_t:sock_file write; allow sosreport_t self:netlink_audit_socket create; allow sosreport_t semanage_store_t:dir write; allow sosreport_t var_lib_nfs_t:dir write; Gathered AVCs will be attached. Created attachment 945427 [details]
AVCs caught in enforcing mode
Created attachment 945428 [details]
AVCs caught in permissive mode
Created attachment 945457 [details]
AVCs caught in permissive mode (original tshark crash)
commit a42d8becdd28570605c380d07a940c7284de4730 Author: Miroslav Grepl <mgrepl> Date: Fri Oct 10 12:29:56 2014 +0200 Make sosreport as unconfined domain. 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://rhn.redhat.com/errata/RHBA-2015-0458.html |