Bug 828622 - SELinux is preventing /usr/libexec/polkit-1/polkitd from 'search' accesses on the directory samba.
Summary: SELinux is preventing /usr/libexec/polkit-1/polkitd from 'search' accesses on...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:6c32323ae7055a50e5ef384e0d5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-05 02:59 UTC by Robert Foster
Modified: 2012-06-22 10:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-22 10:45:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Foster 2012-06-05 02:59:06 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc17.x86_64
time:           Tue 05 Jun 2012 12:58:49 PM EST

description:
:SELinux is preventing /usr/libexec/polkit-1/polkitd from 'search' accesses on the directory samba.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that polkitd should be allowed search access on the samba 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 polkitd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:policykit_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:smbd_var_run_t:s0
:Target Objects                samba [ dir ]
:Source                        polkitd
:Source Path                   /usr/libexec/polkit-1/polkitd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           polkit-0.104-6.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-128.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed)
:                              3.3.7-1.fc17.x86_64 #1 SMP Mon May 21 22:32:19 UTC
:                              2012 x86_64 x86_64
:Alert Count                   71
:First Seen                    Tue 05 Jun 2012 12:40:42 PM EST
:Last Seen                     Tue 05 Jun 2012 12:42:46 PM EST
:Local ID                      95446daf-d18e-4fc3-9880-6b97f9bd49eb
:
:Raw Audit Messages
:type=AVC msg=audit(1338864166.674:147): avc:  denied  { search } for  pid=757 comm="polkitd" name="samba" dev="tmpfs" ino=11212 scontext=system_u:system_r:policykit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:smbd_var_run_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1338864166.674:147): arch=x86_64 syscall=lstat success=no exit=EACCES a0=7f8c5cdeaa2c a1=7fff3601a900 a2=7fff3601a900 a3=248e008 items=0 ppid=1 pid=757 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=polkitd exe=/usr/libexec/polkit-1/polkitd subj=system_u:system_r:policykit_t:s0-s0:c0.c1023 key=(null)
:
:Hash: polkitd,policykit_t,smbd_var_run_t,dir,search
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:


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