Bug 874959 - SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from using the 'dac_override' capabilities.
Summary: SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from using the 'dac...
Keywords:
Status: CLOSED DUPLICATE of bug 706582
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:50d5957b14823eea44b1984eea5...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-09 08:02 UTC by Nick Coghlan
Modified: 2012-11-12 08:57 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-12 08:57:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-09 08:02 UTC, Nick Coghlan
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-09 08:02 UTC, Nick Coghlan
no flags Details

Description Nick Coghlan 2012-11-09 08:02:47 UTC
Description of problem:
Enabling time autoupdate from the public ntp pool in the KDE Date/Time settings

Additional info:
libreport version: 2.0.18
kernel:         3.6.5-1.fc17.x86_64

description:
:SELinux is preventing /usr/libexec/kde4/kcmdatetimehelper from using the 'dac_override' capabilities.
:
:*****  Plugin dac_override (91.4 confidence) suggests  ***********************
:
:If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
:Then turn on full auditing to get path information about the offending file and generate the error again.
:Do
:
:Turn on full auditing
:# auditctl -w /etc/shadow -p w
:Try to recreate AVC. Then execute
:# ausearch -m avc -ts recent
:If you see PATH record check ownership/permissions on file, and fix it, 
:otherwise report as a bugzilla.
:
:*****  Plugin catchall (9.59 confidence) suggests  ***************************
:
:If you believe that kcmdatetimehelper should have the dac_override capability 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 kcmdatetimehelp /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
:Target Context                system_u:system_r:gnomeclock_t:s0-s0:c0.c1023
:Target Objects                 [ capability ]
:Source                        kcmdatetimehelp
:Source Path                   /usr/libexec/kde4/kcmdatetimehelper
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           kde-workspace-4.9.2-6.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-156.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.5-1.fc17.x86_64 #1 SMP Wed Oct
:                              31 19:37:18 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-11-10 03:58:27 EST
:Last Seen                     2012-11-10 03:58:27 EST
:Local ID                      25f17e2f-9a1f-4acf-bc00-449913ae7724
:
:Raw Audit Messages
:type=AVC msg=audit(1352483907.694:65): avc:  denied  { dac_override } for  pid=1504 comm="kcmdatetimehelp" capability=1  scontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tcontext=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 tclass=capability
:
:
:type=SYSCALL msg=audit(1352483907.694:65): arch=x86_64 syscall=access success=no exit=EACCES a0=20c7a98 a1=2 a2=200 a3=7fffe4362410 items=0 ppid=1 pid=1504 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=kcmdatetimehelp exe=/usr/libexec/kde4/kcmdatetimehelper subj=system_u:system_r:gnomeclock_t:s0-s0:c0.c1023 key=(null)
:
:Hash: kcmdatetimehelp,gnomeclock_t,gnomeclock_t,capability,dac_override
:
:audit2allow
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t self:capability dac_override;
:
:audit2allow -R
:
:#============= gnomeclock_t ==============
:allow gnomeclock_t self:capability dac_override;
:


Potential duplicate bug: 706582

Comment 1 Nick Coghlan 2012-11-09 08:02:52 UTC
Created attachment 641331 [details]
File: type

Comment 2 Nick Coghlan 2012-11-09 08:02:55 UTC
Created attachment 641332 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-12 08:57:30 UTC

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


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