Bug 806954 - SELinux is preventing systemctl from 'search' accesses on the directory log.
Summary: SELinux is preventing systemctl from 'search' accesses on the directory log.
Keywords:
Status: CLOSED DUPLICATE of bug 794771
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:409d730534bb1c16302863ea24b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-26 15:22 UTC by Frank Murphy
Modified: 2012-03-27 06:36 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 06:36:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Frank Murphy 2012-03-26 15:22:55 UTC
libreport version: 2.0.8
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.3.0-1.fc17.i686
reason:         SELinux is preventing systemctl from 'search' accesses on the directory log.
time:           Mon 26 Mar 2012 16:21:47 IST

description:
:SELinux is preventing systemctl from 'search' accesses on the directory log.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that systemctl should be allowed search access on the log directory by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep systemctl /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:dhcpc_t:s0
:Target Context                system_u:object_r:syslogd_var_run_t:s0
:Target Objects                log [ dir ]
:Source                        systemctl
:Source Path                   systemctl
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-106.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.0-1.fc17.i686 #1
:                              SMP Mon Mar 19 03:19:22 UTC 2012 i686 i686
:Alert Count                   3
:First Seen                    Mon 26 Mar 2012 10:49:46 IST
:Last Seen                     Mon 26 Mar 2012 16:13:04 IST
:Local ID                      21cbec9a-3803-41b5-95c6-e68930890ec0
:
:Raw Audit Messages
:type=AVC msg=audit(1332774784.40:349): avc:  denied  { search } for  pid=13750 comm="systemctl" name="log" dev="tmpfs" ino=9026 scontext=system_u:system_r:dhcpc_t:s0 tcontext=system_u:object_r:syslogd_var_run_t:s0 tclass=dir
:
:
:Hash: systemctl,dhcpc_t,syslogd_var_run_t,dir,search
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:

Comment 1 Miroslav Grepl 2012-03-27 06:36:43 UTC

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


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