* CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?]
@ 2008-09-25 16:54 Lukas Hejtmanek
2008-09-26 2:49 ` Serge E. Hallyn
2008-09-29 23:11 ` Greg KH
0 siblings, 2 replies; 5+ messages in thread
From: Lukas Hejtmanek @ 2008-09-25 16:54 UTC (permalink / raw)
To: linux-kernel
Hello,
I finally found my problems with no init found.
It was caused by the CONFIG_SECURITY_ROOTPLUG option.
I wonder why this option in 2.6.26.3 kernel allows the kernel boot up, while
with 2.6.27-rc7, the kernel is unable to run even init.
--
Lukáš Hejtmánek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?]
2008-09-25 16:54 CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?] Lukas Hejtmanek
@ 2008-09-26 2:49 ` Serge E. Hallyn
2008-09-26 10:05 ` Lukas Hejtmanek
2008-09-29 23:11 ` Greg KH
1 sibling, 1 reply; 5+ messages in thread
From: Serge E. Hallyn @ 2008-09-26 2:49 UTC (permalink / raw)
To: Lukas Hejtmanek; +Cc: linux-kernel
Quoting Lukas Hejtmanek (xhejtman@ics.muni.cz):
> Hello,
>
> I finally found my problems with no init found.
>
> It was caused by the CONFIG_SECURITY_ROOTPLUG option.
>
> I wonder why this option in 2.6.26.3 kernel allows the kernel boot up, while
> with 2.6.27-rc7, the kernel is unable to run even init.
Hmm, is there a difference in the device drivers such that root_plug simply
isn't able to find the usb 'key' in 2.6.27-rc7?
When you boot with CONFIG_SECURITY_ROOTPLUG=n, can you read the usb key?
-serge
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?]
2008-09-26 2:49 ` Serge E. Hallyn
@ 2008-09-26 10:05 ` Lukas Hejtmanek
2008-09-26 10:50 ` Valdis.Kletnieks
0 siblings, 1 reply; 5+ messages in thread
From: Lukas Hejtmanek @ 2008-09-26 10:05 UTC (permalink / raw)
To: Serge E. Hallyn; +Cc: linux-kernel
On Thu, Sep 25, 2008 at 09:49:27PM -0500, Serge E. Hallyn wrote:
> Hmm, is there a difference in the device drivers such that root_plug simply
> isn't able to find the usb 'key' in 2.6.27-rc7?
>
> When you boot with CONFIG_SECURITY_ROOTPLUG=n, can you read the usb key?
I do not have USB key at all. So maybe there is a security bug in 2.6.26.3?
--
Lukáš Hejtmánek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?]
2008-09-26 10:05 ` Lukas Hejtmanek
@ 2008-09-26 10:50 ` Valdis.Kletnieks
0 siblings, 0 replies; 5+ messages in thread
From: Valdis.Kletnieks @ 2008-09-26 10:50 UTC (permalink / raw)
To: Lukas Hejtmanek; +Cc: Serge E. Hallyn, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
On Fri, 26 Sep 2008 12:05:07 +0200, Lukas Hejtmanek said:
> On Thu, Sep 25, 2008 at 09:49:27PM -0500, Serge E. Hallyn wrote:
> > Hmm, is there a difference in the device drivers such that root_plug simply
> > isn't able to find the usb 'key' in 2.6.27-rc7?
> >
> > When you boot with CONFIG_SECURITY_ROOTPLUG=n, can you read the usb key?
>
> I do not have USB key at all. So maybe there is a security bug in 2.6.26.3?
It must be a bug in 26.3 - if you don't have the proper USB dongle/key/whatever
inserted, it shouldn't have come up.
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?]
2008-09-25 16:54 CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?] Lukas Hejtmanek
2008-09-26 2:49 ` Serge E. Hallyn
@ 2008-09-29 23:11 ` Greg KH
1 sibling, 0 replies; 5+ messages in thread
From: Greg KH @ 2008-09-29 23:11 UTC (permalink / raw)
To: Lukas Hejtmanek; +Cc: linux-kernel
On Thu, Sep 25, 2008 at 06:54:00PM +0200, Lukas Hejtmanek wrote:
> Hello,
>
> I finally found my problems with no init found.
>
> It was caused by the CONFIG_SECURITY_ROOTPLUG option.
>
> I wonder why this option in 2.6.26.3 kernel allows the kernel boot up, while
> with 2.6.27-rc7, the kernel is unable to run even init.
If you enable that option, you have to have the specific USB device
plugged into your system in order for any process to run as root (like
init).
So, odds are you don't have this specific device, so either specify a
different device id, or don't build it into your kernel :)
thanks,
greg k-h
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-09-29 23:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-25 16:54 CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?] Lukas Hejtmanek
2008-09-26 2:49 ` Serge E. Hallyn
2008-09-26 10:05 ` Lukas Hejtmanek
2008-09-26 10:50 ` Valdis.Kletnieks
2008-09-29 23:11 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox