On Mon, 2003-10-20 at 16:10, Daniel J Walsh wrote:
I don-t believe that would not re-start the rc.sysinit process in the
correct context.
What if we were to replace the sysinit entry in /etc/inittab with one
that ran a new script that mounts selinuxfs, loads the policy, and runs
'telinit u' to restart init in the correct domain, and add a bootwait
entry to /etc/inittab that runs the ordinary rc.sysinit script? In that
case, init should run the new script that loads the policy, re-exec
itself into the right domain due to the telinit -u command, and then
proceed to run the rc.sysinit script. Or this might even work with two
sysinit entries, as long as they are executed in the right order.