Research Menu

.
Skip Search Box

SELinux Mailing List

Re: init patch for loading policy

From: Daniel J Walsh <dwalsh_at_redhat.com>
Date: Mon, 20 Oct 2003 16:56:17 -0400


Stephen Smalley wrote:

>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.
>
>
>

I don't believe there is anyway to get init to re-run the initscripts which means that no scripts will get started from the 'correct ' init, unless you change run-level.

Dan

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Mon 20 Oct 2003 - 16:56:28 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service