Bug 498530 - ck-get-x11-server-pid AVC denial during ssh gnome-session startup
ck-get-x11-server-pid AVC denial during ssh gnome-session startup
Product: Fedora
Classification: Fedora
Component: selinux-policy (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Fedora Extras Quality Assurance
Depends On:
Blocks: K12LTSP
  Show dependency treegraph
Reported: 2009-04-30 17:30 EDT by Warren Togami
Modified: 2009-05-01 13:58 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-05-01 13:58:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Warren Togami 2009-04-30 17:30:32 EDT

node=localhost.localdomain type=AVC msg=audit(1241139173.797:40518): avc:  denied  { name_connect } for  pid=4085 comm="ck-get-x11-serv" dest=6001 scontext=system_u:system_r:consolekit_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xserver_port_t:s0 tclass=tcp_socket

node=localhost.localdomain type=SYSCALL msg=audit(1241139173.797:40518): arch=c000003e syscall=42 success=no exit=-13 a0=3 a1=1bfec10 a2=10 a3=7fff04a4c180 items=0 ppid=4084 pid=4085 auid=4294967295 uid=501 gid=501 euid=501 suid=501 fsuid=501 egid=501 sgid=501 fsgid=501 tty=(none) ses=4294967295 comm="ck-get-x11-serv" exe="/usr/libexec/ck-get-x11-server-pid" subj=system_u:system_r:consolekit_t:s0-s0:c0.c1023 key=(null)

ssh username@server -Y DISPLAY=IPADDRESS:1 gnome-session

gnome-session runs something that runs /usr/libexec/ck-get-x11-server-pid which gets an AVC denial.  Perhaps it isn't used to the case where the X server is running remotely.  In any case this is an annoying AVC for every LTSP thin client login.
Comment 1 Daniel Walsh 2009-05-01 13:58:38 EDT
Fixed in selinux-policy-3.6.12-27.fc11.noarch

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