Bug 122593 - Under SELinux and kdm, "Exit -> Reboot" only exits, but does not reboot.
Under SELinux and kdm, "Exit -> Reboot" only exits, but does not reboot.
Product: Fedora
Classification: Fedora
Component: kdebase (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
: SELinux
Depends On:
  Show dependency treegraph
Reported: 2004-05-06 00:22 EDT by Aleksey Nogin
Modified: 2007-11-30 17:10 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-09-26 19:25:23 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 Aleksey Nogin 2004-05-06 00:22:45 EDT
If I am running kdm and I choose the reboot option in the KDE exit
menu, my KDE session is shut down properly, but the machine does not

In the logs, I see:

audit(1083816206.762:0): avc:  denied  { write } for  pid=2764
exe=/usr/bin/kdeinit name=xdmctl-:0 dev=hda2 ino=1144796
tcontext=system_u:object_r:xdm_var_run_t tclass=fifo_file

IMHO this should be fixed by either relocating the xdmctl into
/tmp/.X11-unix, or explicitly making sure it has the same type as
/tmp/.X11-unix/X0 (currently - xdm_xserver_tmp_t) which users are
allowed to write to.

kdebase-3.2.2-4 policy-sources-1.11.2-21
Comment 1 Ngo Than 2004-09-26 19:25:23 EDT
i cannot reproduce it with KDE-3.3.x in rawhide. it's fixed in rawhide.

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