Hide Forgot
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.1.0-7.fc16.i686 reason: SELinux is preventing /bin/loadkeys from using the 'sys_admin' capabilities. time: mer. 07 mars 2012 16:58:12 CET description: :SELinux is preventing /bin/loadkeys from using the 'sys_admin' capabilities. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that loadkeys should have the sys_admin 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 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 /bin/loadkeys :Port <Inconnu> :Host (removed) :Source RPM Packages kbd-1.15.2-3.fc16.i686 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 : 21:00:16 UTC 2011 i686 i686 :Alert Count 3 :First Seen mer. 07 mars 2012 16:53:58 CET :Last Seen mer. 07 mars 2012 16:53:58 CET :Local ID 33984ff4-8a84-4408-8e40-03165973db72 : :Raw Audit Messages :type=AVC msg=audit(1331135638.902:86): avc: denied { sys_admin } for pid=5154 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(1331135638.902:86): arch=i386 syscall=ioctl success=no exit=EPERM a0=7 a1=4b47 a2=bf9c7b7c a3=c items=0 ppid=5153 pid=5154 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=/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; :
This app should not need this priv. Was this machine running out of resources when this happened?
AFAIK there is a bug for this.
*** This bug has been marked as a duplicate of bug 786761 ***