Bug 742045 - SELinux is preventing /bin/systemd-tmpfiles from 'setattr' accesses on the diretório ksocket-claudio.
Summary: SELinux is preventing /bin/systemd-tmpfiles from 'setattr' accesses on the di...
Keywords:
Status: CLOSED DUPLICATE of bug 742043
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:de38027a48f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-28 20:51 UTC by Claudio Guimarães
Modified: 2011-09-29 07:54 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-29 07:54:40 UTC
Type: ---


Attachments (Terms of Use)

Description Claudio Guimarães 2011-09-28 20:51:00 UTC
SELinux is preventing /bin/systemd-tmpfiles from 'setattr' accesses on the diretório ksocket-claudio.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that systemd-tmpfiles should be allowed setattr access on the ksocket-claudio 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 systemd-tmpfile /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:systemd_tmpfiles_t:s0
Target Context                unconfined_u:object_r:user_home_dir_t:s0
Target Objects                ksocket-claudio [ dir ]
Source                        systemd-tmpfile
Source Path                   /bin/systemd-tmpfiles
Port                          <Desconhecido>
Host                          (removed)
Source RPM Packages           systemd-units-26-9.fc15
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.16-38.fc15
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug
                              30 14:38:32 UTC 2011 x86_64 x86_64
Alert Count                   2
First Seen                    Qua 28 Set 2011 10:19:08 BRT
Last Seen                     Qua 28 Set 2011 15:57:27 BRT
Local ID                      2bc2f586-9bea-499c-96a3-e896b18d51ef

Raw Audit Messages
type=AVC msg=audit(1317236247.821:44): avc:  denied  { setattr } for  pid=2506 comm="systemd-tmpfile" name="ksocket-claudio" dev=sda6 ino=6684697 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir


type=SYSCALL msg=audit(1317236247.821:44): arch=x86_64 syscall=utimensat success=yes exit=0 a0=6 a1=0 a2=7fffb62fe070 a3=0 items=0 ppid=1 pid=2506 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-tmpfile exe=/bin/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null)

Hash: systemd-tmpfile,systemd_tmpfiles_t,user_home_dir_t,dir,setattr

audit2allow

#============= systemd_tmpfiles_t ==============
allow systemd_tmpfiles_t user_home_dir_t:dir setattr;

audit2allow -R

#============= systemd_tmpfiles_t ==============
allow systemd_tmpfiles_t user_home_dir_t:dir setattr;

Comment 1 Miroslav Grepl 2011-09-29 07:54:40 UTC

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


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