Bug 633101 - SELinux is preventing /usr/libexec/gsd-datetime-mechanism "unlink" access on localtime.
Summary: SELinux is preventing /usr/libexec/gsd-datetime-mechanism "unlink" access ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 14
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:ce231bfcbdb...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-12 21:31 UTC by Carl G.
Modified: 2010-09-25 05:37 UTC (History)
2 users (show)

Fixed In Version: selinux-policy-3.9.5-3.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-25 05:37:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Carl G. 2010-09-12 21:31:47 UTC
Summary:

SELinux is preventing /usr/libexec/gsd-datetime-mechanism "unlink" access on
localtime.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by gsd-datetime-me. It is not expected that this
access is required by gsd-datetime-me and this access may signal an intrusion
attempt. It is also possible that the specific version or configuration of the
application is causing it to require additional access.

Allowing Access:

You can generate a local policy module to allow this access - see FAQ
(http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Please file a bug
report.

Additional Information:

Source Context                system_u:system_r:initrc_t:s0
Target Context                system_u:object_r:locale_t:s0
Target Objects                localtime [ file ]
Source                        gsd-datetime-me
Source Path                   /usr/libexec/gsd-datetime-mechanism
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-settings-daemon-2.31.91-2.fc14
Target RPM Packages           
Policy RPM                    selinux-policy-3.9.3-4.fc14
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed) 2.6.35.4-12.fc14.x86_64 #1 SMP
                              Fri Aug 27 07:45:05 UTC 2010 x86_64 x86_64
Alert Count                   1
First Seen                    Sun 12 Sep 2010 05:28:37 PM EDT
Last Seen                     Sun 12 Sep 2010 05:28:37 PM EDT
Local ID                      e355aac0-987f-4903-b138-41542d8a6c46
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1284326917.897:196): avc:  denied  { unlink } for  pid=23139 comm="gsd-datetime-me" name="localtime" dev=dm-1 ino=2059 scontext=system_u:system_r:initrc_t:s0 tcontext=system_u:object_r:locale_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1284326917.897:196): arch=c000003e syscall=82 success=yes exit=0 a0=91da60 a1=405d79 a2=91caa0 a3=1 items=0 ppid=1 pid=23139 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="gsd-datetime-me" exe="/usr/libexec/gsd-datetime-mechanism" subj=system_u:system_r:initrc_t:s0 key=(null)



Hash String generated from  catchall,gsd-datetime-me,initrc_t,locale_t,file,unlink
audit2allow suggests:

#============= initrc_t ==============
allow initrc_t locale_t:file unlink;

Comment 1 Daniel Walsh 2010-09-13 13:53:59 UTC
Fixed in selinux-policy-3.9.4-1.fc14

Comment 2 Fedora Update System 2010-09-22 23:02:51 UTC
selinux-policy-3.9.5-3.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-3.fc14

Comment 3 Fedora Update System 2010-09-23 19:32:33 UTC
selinux-policy-3.9.5-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update selinux-policy'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/selinux-policy-3.9.5-3.fc14

Comment 4 Fedora Update System 2010-09-25 05:36:56 UTC
selinux-policy-3.9.5-3.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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