Bug 726016

Summary: abrtd does not start in enforcing mode
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: anton, dfediuck, dvlasenk, iprikryl, jmoskovc, kklic, mlichvar, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-07 14:57:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nicolas Mailhot 2011-07-27 10:28:29 UTC
Description of problem:

Jul 27 12:23:43 arekh kernel: [ 3541.519643] type=1400 audit(1311762223.412:8): avc:  denied  { setattr } for  pid=3616 comm="abrtd" name="abrt" dev=tmpfs ino=14877 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_run_t:s0 tclass=dir
Jul 27 12:23:43 arekh abrtd: Can't set mode 755 on '/var/run/abrt': Permission non accordée
Jul 27 12:23:43 arekh systemd[1]: abrtd.service: main process exited, code=exited, status=1
Jul 27 12:23:43 arekh systemd[1]: Unit abrtd.service entered failed state.
Jul 27 12:23:55 arekh abrtd: Init complete, entering main loop
Jul 27 12:24:11 arekh abrtd: Got signal 2, exiting



Jul 27 12:25:08 arekh kernel: [ 3626.212984] type=1404 audit(1311762308.105:10): enforcing=0 old_enforcing=1 auid=500 ses=1
Jul 27 12:25:08 arekh dbus[1736]: avc:  received setenforce notice (enforcing=0)
Jul 27 12:25:08 arekh dbus[1155]: avc:  received setenforce notice (enforcing=0)
Jul 27 12:25:10 arekh kernel: [ 3628.823278] type=1400 audit(1311762310.715:11): avc:  denied  { unlink } for  pid=3812 comm="abrtd" name="abrt.socket" dev=tmpfs ino=619612 scontext=system_u:system_r:abrt_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=sock_file
Jul 27 12:25:10 arekh abrtd: Init complete, entering main loop


abrt-2.0.4-1.fc16.x86_64
abrt-addon-ccpp-2.0.4-1.fc16.x86_64
abrt-addon-kerneloops-2.0.4-1.fc16.x86_64
abrt-addon-python-2.0.4-1.fc16.x86_64
abrt-cli-2.0.4-1.fc16.x86_64
abrt-desktop-2.0.4-1.fc16.x86_64
abrt-gui-2.0.4-1.fc16.x86_64
abrt-libs-2.0.4-1.fc16.x86_64
selinux-policy-3.10.0-10.fc16.noarch
selinux-policy-targeted-3.10.0-10.fc16.noarch

Comment 1 Miroslav Lichvar 2011-09-07 14:57:13 UTC
abrtd shouldn't need to change the mode, this is a packaging bug.

*** This bug has been marked as a duplicate of bug 725974 ***