Bug 825812 - SELinux is preventing /usr/lib/systemd/systemd-logind from 'read' accesses on the directory keyring-BJuhZa.
SELinux is preventing /usr/lib/systemd/systemd-logind from 'read' accesses on...
Status: CLOSED ERRATA
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
17
x86_64 Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Miroslav Grepl
Fedora Extras Quality Assurance
abrt_hash:5de165732500108ff155b0d3b41...
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-28 10:18 EDT by Juan Orti
Modified: 2012-06-22 07:58 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-22 07:58:26 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Juan Orti 2012-05-28 10:18:53 EDT
libreport version: 2.0.10
executable:     /usr/bin/python2.7
hashmarkername: setroubleshoot
kernel:         3.3.7-1.fc17.x86_64
time:           lun 28 may 2012 16:18:19 CEST

description:
:SELinux is preventing /usr/lib/systemd/systemd-logind from 'read' accesses on the directory keyring-BJuhZa.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If cree que de manera predeterminada, systemd-logind debería permitir acceso read sobre  keyring-BJuhZa directory.     
:Then debería reportar esto como un error.
:Puede generar un módulo de política local para permitir este acceso.
:Do
:permita el acceso momentáneamente executando:
:# grep systemd-logind /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:systemd_logind_t:s0
:Target Context                xguest_u:object_r:gkeyringd_tmp_t:s0
:Target Objects                keyring-BJuhZa [ dir ]
:Source                        systemd-logind
:Source Path                   /usr/lib/systemd/systemd-logind
:Port                          <Desconocido>
:Host                          (removed)
:Source RPM Packages           systemd-44-12.fc17.x86_64
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-125.fc17.noarch
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.3.7-1.fc17.x86_64 #1
:                              SMP Mon May 21 22:32:19 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    lun 28 may 2012 16:17:29 CEST
:Last Seen                     lun 28 may 2012 16:17:29 CEST
:Local ID                      55793f26-5433-45e1-8e7c-da4112299220
:
:Raw Audit Messages
:type=AVC msg=audit(1338214649.104:260): avc:  denied  { read } for  pid=934 comm="systemd-logind" name="keyring-BJuhZa" dev="tmpfs" ino=80497 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=xguest_u:object_r:gkeyringd_tmp_t:s0 tclass=dir
:
:
:type=SYSCALL msg=audit(1338214649.104:260): arch=x86_64 syscall=openat success=no exit=EACCES a0=d a1=7fff61054e23 a2=f0800 a3=0 items=0 ppid=1 pid=934 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-logind exe=/usr/lib/systemd/systemd-logind subj=system_u:system_r:systemd_logind_t:s0 key=(null)
:
:Hash: systemd-logind,systemd_logind_t,gkeyringd_tmp_t,dir,read
:
:audit2allowunable to open /sys/fs/selinux/policy:  Permission denied
:
:
:audit2allow -Runable to open /sys/fs/selinux/policy:  Permission denied
:
:
Comment 1 Juan Orti 2012-05-28 10:20:55 EDT
I just tried to login as xguest in gdm, but I can't
Comment 2 Miroslav Grepl 2012-06-22 07:58:26 EDT
Should be fixed in the latest policy.

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