Bug 1243547

Summary: SELinux is preventing console-kit-dae from 'create' accesses on the file machine-id.fhrWmQe9.
Product: [Fedora] Fedora Reporter: Nikolay Chesnokov <chesnokov_n>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dominick.grift, dwalsh, lvrabec, mgrepl, plautrba
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:a872e9a7528a305f608a356a75d8416fddf4385506e68ab5f64bcf489da481a7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-28 10:38:37 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:

Description Nikolay Chesnokov 2015-07-15 18:41:42 UTC
Description of problem:
to start lxqt
SELinux is preventing console-kit-dae from 'create' accesses on the file machine-id.fhrWmQe9.

*****  Plugin catchall (100. confidence) suggests   **************************

If вы считаете, что console-kit-dae следует разрешить доступ create к machine-id.fhrWmQe9 file по умолчанию.
Then рекомендуется создать отчет об ошибке.
Чтобы разрешить доступ, можно создать локальный модуль политики.
Do
чтобы разрешить доступ, выполните:
# grep console-kit-dae /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:consolekit_t:s0
Target Context                system_u:object_r:system_dbusd_var_lib_t:s0
Target Objects                machine-id.fhrWmQe9 [ file ]
Source                        console-kit-dae
Source Path                   console-kit-dae
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-128.4.fc22.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 4.0.7-300.fc22.x86_64 #1 SMP Mon
                              Jun 29 22:15:06 UTC 2015 x86_64 x86_64
Alert Count                   2
First Seen                    2015-07-15 21:35:12 MSK
Last Seen                     2015-07-15 21:35:16 MSK
Local ID                      18496aec-7fde-4808-afbf-81baf83f72e7

Raw Audit Messages
type=AVC msg=audit(1436985316.319:502): avc:  denied  { create } for  pid=1368 comm="console-kit-dae" name="machine-id.fhrWmQe9" scontext=system_u:system_r:consolekit_t:s0 tcontext=system_u:object_r:system_dbusd_var_lib_t:s0 tclass=file permissive=0


Hash: console-kit-dae,consolekit_t,system_dbusd_var_lib_t,file,create

Version-Release number of selected component:
selinux-policy-3.13.1-128.4.fc22.noarch

Additional info:
reporter:       libreport-2.6.0
hashmarkername: setroubleshoot
kernel:         4.0.7-300.fc22.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2015-07-28 10:38:37 UTC

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