All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel J Walsh <dwalsh@redhat.com>
To: "Christopher J. PeBenito" <cpebenito@tresys.com>
Cc: Linda Knippers <linda.knippers@hp.com>, SE Linux <selinux@tycho.nsa.gov>
Subject: Re: kudzu needs to init_telinit to change its runlevel
Date: Tue, 20 Mar 2007 16:37:40 -0400	[thread overview]
Message-ID: <46004614.4060401@redhat.com> (raw)
In-Reply-To: <1174413411.16552.0.camel@sgc>

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.

      reply	other threads:[~2007-03-20 20:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08 15:22 kudzu needs to init_telinit to change its runlevel Daniel J Walsh
2007-03-19 18:13 ` Christopher J. PeBenito
2007-03-19 18:50   ` Linda Knippers
2007-03-20 17:56     ` Christopher J. PeBenito
2007-03-20 20:37       ` Daniel J Walsh [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46004614.4060401@redhat.com \
    --to=dwalsh@redhat.com \
    --cc=cpebenito@tresys.com \
    --cc=linda.knippers@hp.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.