From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from jazzdrum.ncsc.mil (zombie.ncsc.mil [144.51.88.131]) by tarius.tycho.ncsc.mil (8.13.1/8.13.1) with SMTP id l2KKbmjW003585 for ; Tue, 20 Mar 2007 16:37:48 -0400 Received: from mx1.redhat.com (jazzdrum.ncsc.mil [144.51.5.7]) by jazzdrum.ncsc.mil (8.12.10/8.12.10) with ESMTP id l2KKbkuO016945 for ; Tue, 20 Mar 2007 20:37:47 GMT Message-ID: <46004614.4060401@redhat.com> Date: Tue, 20 Mar 2007 16:37:40 -0400 From: Daniel J Walsh MIME-Version: 1.0 To: "Christopher J. PeBenito" CC: Linda Knippers , SE Linux Subject: Re: kudzu needs to init_telinit to change its runlevel References: <45F02A1B.7040007@redhat.com> <1174328028.16707.13.camel@sgc> <45FEDB67.9080501@hp.com> <1174413411.16552.0.camel@sgc> In-Reply-To: <1174413411.16552.0.camel@sgc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov Christopher J. PeBenito wrote: > On Mon, 2007-03-19 at 14:50 -0400, Linda Knippers wrote: > >> Christopher J. PeBenito wrote: >> >>> On Thu, 2007-03-08 at 10:22 -0500, Daniel J Walsh wrote: >>> >>> >>>> --- nsaserefpolicy/policy/modules/admin/kudzu.te 2007-01-02 12:57:51.000000000 -0500 >>>> +++ serefpolicy-2.5.8/policy/modules/admin/kudzu.te 2007-03-08 08:42:36.000000000 -0500 >>>> @@ -103,6 +103,7 @@ >>>> init_use_fds(kudzu_t) >>>> init_use_script_ptys(kudzu_t) >>>> init_stream_connect_script(kudzu_t) >>>> +init_telinit(kudzu_t) >>>> >>>> libs_use_ld_so(kudzu_t) >>>> libs_use_shared_libs(kudzu_t) >>>> >>> This seems odd to me. Why would kudzu need to change the runlevel? I >>> thought it just detected and configured hardware. >>> >> If it detects a serial console, and I assume tty devices in general, it >> updates /etc/inittab and then wants to signal init via telinit to cause >> init to re-read the inittab. Its not changing run level, just causing >> inittab to be re-read. >> >> Without this change we didn't get login prompts on serial consoles on >> the first boot a system. >> > > Thanks for the description. Merged. > > Thanks Linda. -- 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.