Bug 845584 - SELinux is preventing /usr/sbin/smbd from 'getattr' accesses on the file /home/roddy/.esd_auth.
Summary: SELinux is preventing /usr/sbin/smbd from 'getattr' accesses on the file /hom...
Keywords:
Status: CLOSED DUPLICATE of bug 845582
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:d571d66394e825a347611dfb2fb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-03 14:00 UTC by roddy
Modified: 2012-08-06 09:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-06 09:05:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description roddy 2012-08-03 14:00:16 UTC
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.5.0-2.fc17.x86_64
time:           ven. 03 août 2012 17:59:47 RET

description:
:SELinux is preventing /usr/sbin/smbd from 'getattr' accesses on the file /home/roddy/.esd_auth.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that smbd should be allowed getattr access on the .esd_auth file 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 smbd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:smbd_t:s0
:Target Context                unconfined_u:object_r:pulseaudio_home_t:s0
:Target Objects                /home/roddy/.esd_auth [ file ]
:Source                        smbd
:Source Path                   /usr/sbin/smbd
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           samba-3.6.6-91.fc17.1.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-142.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Permissive
:Host Name                     (removed)
:Platform                      Linux (removed) 3.5.0-2.fc17.x86_64 #1
:                              SMP Mon Jul 30 14:48:59 UTC 2012 x86_64 x86_64
:Alert Count                   2
:First Seen                    ven. 03 août 2012 17:50:36 RET
:Last Seen                     ven. 03 août 2012 17:50:36 RET
:Local ID                      d15a59e4-ae4e-4792-9dd1-502c4a5bb91d
:
:Raw Audit Messages
:type=AVC msg=audit(1344001836.209:118): avc:  denied  { getattr } for  pid=2642 comm="smbd" path="/home/roddy/.esd_auth" dev="dm-2" ino=129947 scontext=system_u:system_r:smbd_t:s0 tcontext=unconfined_u:object_r:pulseaudio_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1344001836.209:118): arch=x86_64 syscall=stat success=yes exit=0 a0=7f48bf4c4fb0 a1=7fffc29a35d0 a2=7fffc29a35d0 a3=7f48bec009b3 items=0 ppid=1085 pid=2642 auid=4294967295 uid=0 gid=0 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=4294967295 comm=smbd exe=/usr/sbin/smbd subj=system_u:system_r:smbd_t:s0 key=(null)
:
:Hash: smbd,smbd_t,pulseaudio_home_t,file,getattr
:
:audit2allow
:
:#============= smbd_t ==============
:#!!!! This avc can be allowed using one of the these booleans:
:#     samba_export_all_ro, samba_enable_home_dirs, samba_export_all_rw
:
:allow smbd_t pulseaudio_home_t:file getattr;
:
:audit2allow -R
:
:#============= smbd_t ==============
:#!!!! This avc can be allowed using one of the these booleans:
:#     samba_export_all_ro, samba_enable_home_dirs, samba_export_all_rw
:
:allow smbd_t pulseaudio_home_t:file getattr;
:

Comment 1 Miroslav Grepl 2012-08-06 09:05:11 UTC

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


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