Bug 1189916 - SELinux is preventing /usr/sbin/console-kit-daemon.#prelink#.KeCzwf (deleted) from 'add_name' accesses on the directory machine-id.Mj7MHBox.
Summary: SELinux is preventing /usr/sbin/console-kit-daemon.#prelink#.KeCzwf (deleted)...
Keywords:
Status: CLOSED DUPLICATE of bug 1126142
Alias: None
Product: Fedora
Classification: Fedora
Component: ConsoleKit
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Mashal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f56e1ca28d19af601c2dee4d350...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-05 19:54 UTC by Steven Rosenberg
Modified: 2015-04-02 08:49 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-04-02 08:49:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Steven Rosenberg 2015-02-05 19:54:45 UTC
Description of problem:
The SELinux Troubleshooter appears upon reboot and login to GNOME 3.
SELinux is preventing /usr/sbin/console-kit-daemon.#prelink#.KeCzwf (deleted) from 'add_name' accesses on the directory machine-id.Mj7MHBox.

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

If you believe that console-kit-daemon.#prelink#.KeCzwf (deleted) should be allowed add_name access on the machine-id.Mj7MHBox directory 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 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.Mj7MHBox [ dir ]
Source                        console-kit-dae
Source Path                   /usr/sbin/console-kit-daemon.#prelink#.KeCzwf
                              (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           ConsoleKit-0.4.5-9.fc21.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-105.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.18.3-201.fc21.x86_64 #1 SMP Mon
                              Jan 19 15:59:31 UTC 2015 x86_64 x86_64
Alert Count                   34
First Seen                    2015-01-12 10:54:18 PST
Last Seen                     2015-02-05 11:52:25 PST
Local ID                      662129c6-b83d-42f7-b4cc-0cf90b7374a6

Raw Audit Messages
type=AVC msg=audit(1423165945.87:489): avc:  denied  { add_name } for  pid=1735 comm="console-kit-dae" name="machine-id.Mj7MHBox" scontext=system_u:system_r:consolekit_t:s0 tcontext=system_u:object_r:system_dbusd_var_lib_t:s0 tclass=dir permissive=0


type=SYSCALL msg=audit(1423165945.87:489): arch=x86_64 syscall=open success=no exit=EACCES a0=c07720 a1=c1 a2=1a4 a3=3b items=0 ppid=1 pid=1735 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=console-kit-dae exe=/usr/sbin/console-kit-daemon subj=system_u:system_r:consolekit_t:s0 key=(null)

Hash: console-kit-dae,consolekit_t,system_dbusd_var_lib_t,dir,add_name

Version-Release number of selected component:
selinux-policy-3.13.1-105.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.18.3-201.fc21.x86_64
type:           libreport

Comment 1 Andrew Cooks 2015-04-02 05:22:43 UTC
Description of problem:
Happens on login.

Version-Release number of selected component:
selinux-policy-3.13.1-105.9.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         3.19.3-200.fc21.x86_64
type:           libreport

Comment 2 Lukas Vrabec 2015-04-02 08:49:23 UTC

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


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