Bug 882493 - SELinux is preventing /usr/bin/loadkeys from using the 'sys_admin' capabilities.
Summary: SELinux is preventing /usr/bin/loadkeys from using the 'sys_admin' capabilities.
Keywords:
Status: CLOSED DUPLICATE of bug 786761
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:aa6e3b28837270289a74b7062f3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-01 11:53 UTC by Jörg BUCHMANN
Modified: 2012-12-03 10:39 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-03 10:39:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-12-01 11:53 UTC, Jörg BUCHMANN
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-12-01 11:53 UTC, Jörg BUCHMANN
no flags Details

Description Jörg BUCHMANN 2012-12-01 11:53:06 UTC
Additional info:
libreport version: 2.0.17
kernel:         3.6.6-3.fc18.x86_64

description:
:SELinux is preventing /usr/bin/loadkeys from using the 'sys_admin' capabilities.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If vous pensez que loadkeys devrait avoir des capacités sys_admin par défaut.
:Then vous devriez rapporter ceci en tant qu'anomalie.
:Vous pouvez générer un module de stratégie local pour autoriser cet accès.
:Do
:autoriser cet accès pour le moment en exécutant :
:# grep loadkeys /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:loadkeys_t:s0
:Target Context                system_u:system_r:loadkeys_t:s0
:Target Objects                 [ capability ]
:Source                        loadkeys
:Source Path                   /usr/bin/loadkeys
:Port                          <Inconnu>
:Host                          (removed)
:Source RPM Packages           kbd-1.15.3-6.fc18.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.11.1-50.fc18.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.6.6-3.fc18.x86_64 #1 SMP Mon Nov
:                              5 16:26:34 UTC 2012 x86_64 x86_64
:Alert Count                   7
:First Seen                    2012-12-01 12:52:12 CET
:Last Seen                     2012-12-01 12:52:12 CET
:Local ID                      8937b60c-73f7-4edd-aaa8-f325e54b2750
:
:Raw Audit Messages
:type=AVC msg=audit(1354362732.835:324): avc:  denied  { sys_admin } for  pid=1939 comm="loadkeys" capability=21  scontext=system_u:system_r:loadkeys_t:s0 tcontext=system_u:system_r:loadkeys_t:s0 tclass=capability
:
:
:type=SYSCALL msg=audit(1354362732.835:324): arch=x86_64 syscall=ioctl success=no exit=EPERM a0=3 a1=4b47 a2=7fff48465760 a3=407143 items=0 ppid=1938 pid=1939 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=loadkeys exe=/usr/bin/loadkeys subj=system_u:system_r:loadkeys_t:s0 key=(null)
:
:Hash: loadkeys,loadkeys_t,loadkeys_t,capability,sys_admin
:
:audit2allow
:
:#============= loadkeys_t ==============
:allow loadkeys_t self:capability sys_admin;
:
:audit2allow -R
:
:#============= loadkeys_t ==============
:allow loadkeys_t self:capability sys_admin;
:

Comment 1 Jörg BUCHMANN 2012-12-01 11:53:11 UTC
Created attachment 655525 [details]
File: type

Comment 2 Jörg BUCHMANN 2012-12-01 11:53:15 UTC
Created attachment 655526 [details]
File: hashmarkername

Comment 3 Jörg BUCHMANN 2012-12-02 14:46:15 UTC
Changed the input from EN to FR

Package: (null)
OS Release: Fedora release 18 (Spherical Cow)

Comment 4 Miroslav Grepl 2012-12-03 10:39:03 UTC

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


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