| Summary: | SELinux is preventing /usr/sbin/tzdata-update from read, append access on the file /tmp/tmpKvxmqb. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nomnex <nomnex> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 13 | CC: | bugs2rl, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:2112b114822168d998e39912bfce62151b35047bb2da0e2c096a066d28c55fd1 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-08 11:48:31 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
What does the following output # ls -lZ /usr/libexec/packagekitd -rwxr-xr-x. root root system_u:object_r:rpm_exec_t:s0 /usr/libexec/packagekitd *** This bug has been marked as a duplicate of bug 612327 *** |
SELinux is preventing /usr/sbin/tzdata-update from read, append access on the file /tmp/tmpKvxmqb. ***** Plugin catchall (50.5 confidence) suggests *************************** If you believe that tzdata-update should be allowed read append access on the tmpKvxmqb 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 tzdata-update /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp ***** Plugin leaks (50.5 confidence) suggests ****************************** If you want to ignore tzdata-update trying to read append access the tmpKvxmqb file, because you believe it should not need this access. Then you should report this as a bug. You can generate a local policy module to dontaudit this access. Do # grep /usr/sbin/tzdata-update /var/log/audit/audit.log | audit2allow -D -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:tzdata_t:s0-s0:c0.c1023 Target Context system_u:object_r:initrc_tmp_t:s0 Target Objects /tmp/tmpKvxmqb [ file ] Source tzdata-update Source Path /usr/sbin/tzdata-update Port <Unknown> Host (removed) Source RPM Packages glibc-common-2.12.2-1 Target RPM Packages Policy RPM selinux-policy-3.7.19-80.fc13 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.34.7-66.fc13.i686 #1 SMP Wed Dec 15 07:40:25 UTC 2010 i686 i686 Alert Count 1 First Seen Tue 08 Mar 2011 01:59:43 PM JST Last Seen Tue 08 Mar 2011 01:59:43 PM JST Local ID 4e44c3d3-6a96-489a-b9c9-bb24a475b113 Raw Audit Messages type=AVC msg=audit(1299560383.775:21631): avc: denied { read append } for pid=6514 comm="tzdata-update" path="/tmp/tmpKvxmqb" dev=sda1 ino=8953 scontext=system_u:system_r:tzdata_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file type=AVC msg=audit(1299560383.775:21631): avc: denied { read append } for pid=6514 comm="tzdata-update" path="/tmp/tmpKvxmqb" dev=sda1 ino=8953 scontext=system_u:system_r:tzdata_t:s0-s0:c0.c1023 tcontext=system_u:object_r:initrc_tmp_t:s0 tclass=file type=SYSCALL msg=audit(1299560383.775:21631): arch=i386 syscall=execve success=yes exit=0 a0=b618088 a1=b618060 a2=eab1ff0 a3=0 items=0 ppid=6351 pid=6514 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=tzdata-update exe=/usr/sbin/tzdata-update subj=system_u:system_r:tzdata_t:s0-s0:c0.c1023 key=(null) Hash: tzdata-update,tzdata_t,initrc_tmp_t,file,read,append audit2allow #============= tzdata_t ============== allow tzdata_t initrc_tmp_t:file { read append }; audit2allow -R #============= tzdata_t ============== allow tzdata_t initrc_tmp_t:file { read append };