Red Hat Bugzilla – Bug 381831
prefdm seems to fail?
Last modified: 2008-02-06 18:33:24 EST
Description of problem:
Not quite sure what the issue is, but in rawhide prefdm seems to be failing
now. Maybe it is not initscripts fault, since it is unchanged from f8?
So may be related to the new gdm?
This is also causing prefdm to spawn too quickly at runlevel 5.
Steps to Reproduce:
1. Run prefdm from console
prefdm to start gdm
Funnily enough if I add "set -x" to the prefdm script it seems to work for me??
Does it work with non-gdm display managers?
It's gdm. Disabling SELinux lets it get a bit further.
Part of this problem seems to come from the selinux context on /etc/X11/prefdm
/sbin/init has context init_exec_t
/etc/X11/prefdm has context initrc_exec_t
/usr/sbin/gdm has context xdm_exec_t
selinux allows a transition from init_ext_t -> xdm_exec_t
However it prevents a transition from initrc_exec_t -> xdm_exec_t
If you change the context of prefdm to xdm_exec_t or init_exec_t then you can at
least start gdm using prefdm.
This has been fixed now for quite a while.