Bug 878593

Summary: SELinux is preventing /usr/lib64/realmd/realmd from 'create' accesses on the file user.
Product: [Fedora] Fedora Reporter: Amit Shah <amit.shah>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: amit.shah, dominick.grift, dwalsh, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a638409ebe8c3652d17f66cbffa08922410e42abbf389803bf5645108acd6f19
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 13:11:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: type
none
File: hashmarkername none

Description Amit Shah 2012-11-20 18:05:35 UTC
Description of problem:
Create a new online account for kerberos login

Additional info:
libreport version: 2.0.18
kernel:         3.6.7-1.fc18.x86_64

description:
:SELinux is preventing /usr/lib64/realmd/realmd from 'create' accesses on the file user.
:
:*****  Plugin catchall (100. confidence) suggests  ***************************
:
:If you believe that realmd should be allowed create access on the user file 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 realmd /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:realmd_t:s0-s0:c0.c1023
:Target Context                system_u:object_r:admin_home_t:s0
:Target Objects                user [ file ]
:Source                        realmd
:Source Path                   /usr/lib64/realmd/realmd
:Port                          <Unknown>
:Host                          (removed)
:Source RPM Packages           realmd-0.12-1.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.7-1.fc18.x86_64 #1 SMP Sun Nov
:                              18 04:50:10 UTC 2012 x86_64 x86_64
:Alert Count                   1
:First Seen                    2012-11-20 23:33:56 IST
:Last Seen                     2012-11-20 23:33:56 IST
:Local ID                      67d8a075-1405-4a60-a9a2-3f34110afd21
:
:Raw Audit Messages
:type=AVC msg=audit(1353434636.828:357): avc:  denied  { create } for  pid=3828 comm="realmd" name="user" scontext=system_u:system_r:realmd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file
:
:
:type=AVC msg=audit(1353434636.828:357): avc:  denied  { read write open } for  pid=3828 comm="realmd" path="/root/.cache/dconf/user" dev="dm-2" ino=6684730 scontext=system_u:system_r:realmd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:admin_home_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1353434636.828:357): arch=x86_64 syscall=open success=yes exit=EBADF a0=7f34b36e5000 a1=42 a2=180 a3=7fffcd25b3e0 items=0 ppid=1 pid=3828 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=realmd exe=/usr/lib64/realmd/realmd subj=system_u:system_r:realmd_t:s0-s0:c0.c1023 key=(null)
:
:Hash: realmd,realmd_t,admin_home_t,file,create
:
:audit2allow
:audit2allow -R

Comment 1 Amit Shah 2012-11-20 18:05:48 UTC
Created attachment 648709 [details]
File: type

Comment 2 Amit Shah 2012-11-20 18:06:05 UTC
Created attachment 648710 [details]
File: hashmarkername

Comment 3 Fedora End Of Life 2013-12-21 09:27:33 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Fedora End Of Life 2014-02-05 13:11:19 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.