KDM login trouble
Quoted 8 lines
For the first time since I started working with SELinux I've done it to a desktop machine today.
Works fine, except for kdm. For one thing,
run_init/etc/init.d/kdmexits immediately. doh.
On boot, however, kdm fires up just right.
Quoted 8 lines
But, it doesn't let anyone log in. The logfile says UNABLE TO GET VALID SID for ...
Even though all users, including root, can log on just fine one the console, so they _do_ have valid SIDs. And I'm still running in permissive mode. No denied log entries, either.
What am I missing?
Offhand, I would guess that the SELinux patch for kdm was never updated for the newer libsecure functions and default_contexts configuration, so it is still looking for the old (and no longer existing) default_context configuration. See
http://marc.theaimsgroup.com/?l=selinux&m=103772416731711&w=2 for a discussion of this change, which was introduced in the October 2002 release. We updated the components in our tree (login, sshd, crond), but not external components like the patched kdm.
Alternatively, if the kdm patch was updated, then I would guess that
kdm is not running the right domain. Check the ps -e --context output
to see the domain on the kdm process. If it isn't correct, check the type on the executable.
--
Stephen Smalley, NSA
[email protected]
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines · Stephen D. Smalley
Offhand, I would guess that the SELinux patch for kdm was never updated for the newer libsecure functions and
default_contextsconfiguration,
I have not made such an update, and I guess that Brian hasn't either.
I've been waiting for KDE 3.1 to enter Debian. KDE 2.2 is still the latest supported version in Debian.
Signature · 10 lines
http://www.coker.com.au/selinux/ My NSA Security Enhanced Linux packages http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark http://www.coker.com.au/postal/ Postal SMTP/POP benchmark http://www.coker.com.au/~russell/ My home page -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.