All of lore.kernel.org
 help / color / mirror / Atom feed
* kudzu needs to init_telinit to change its runlevel
@ 2007-03-08 15:22 Daniel J Walsh
  2007-03-19 18:13 ` Christopher J. PeBenito
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel J Walsh @ 2007-03-08 15:22 UTC (permalink / raw)
  To: Christopher J. PeBenito, SE Linux

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: nsaserefpolicy_policy_modules_admin_kudzu.patch --]
[-- Type: text/x-patch, Size: 365 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kudzu needs to init_telinit to change its runlevel
  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
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher J. PeBenito @ 2007-03-19 18:13 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SE Linux

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.

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kudzu needs to init_telinit to change its runlevel
  2007-03-19 18:13 ` Christopher J. PeBenito
@ 2007-03-19 18:50   ` Linda Knippers
  2007-03-20 17:56     ` Christopher J. PeBenito
  0 siblings, 1 reply; 5+ messages in thread
From: Linda Knippers @ 2007-03-19 18:50 UTC (permalink / raw)
  To: Christopher J. PeBenito; +Cc: Daniel J Walsh, SE Linux

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.

-- ljk


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kudzu needs to init_telinit to change its runlevel
  2007-03-19 18:50   ` Linda Knippers
@ 2007-03-20 17:56     ` Christopher J. PeBenito
  2007-03-20 20:37       ` Daniel J Walsh
  0 siblings, 1 reply; 5+ messages in thread
From: Christopher J. PeBenito @ 2007-03-20 17:56 UTC (permalink / raw)
  To: Linda Knippers; +Cc: Daniel J Walsh, SE Linux

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.

-- 
Chris PeBenito
Tresys Technology, LLC
(410) 290-1411 x150


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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: kudzu needs to init_telinit to change its runlevel
  2007-03-20 17:56     ` Christopher J. PeBenito
@ 2007-03-20 20:37       ` Daniel J Walsh
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel J Walsh @ 2007-03-20 20:37 UTC (permalink / raw)
  To: Christopher J. PeBenito; +Cc: Linda Knippers, SE Linux

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-03-20 20:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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.