Skip to contentSkip to conversation

CONFIG_SECURITY_ROOTPLUG [was: Re: 2.6.27-rc7 no init found on the root partition?]

DISCUSSION Lukas Hejtmanek 4 participants 5 messages Sep 25, 2008 – Sep 29, 2008

lore
Share & tools
lore
#0 lore raw

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.

Signature · 1 line
Lukáš Hejtmánek
#1 lore raw
Quoted 8 lines · Lukas Hejtmanek

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

#2 lore raw
Quoted 4 lines · Serge E. Hallyn

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?

Signature · 1 line
Lukáš Hejtmánek
#3 lore raw
Quoted 7 lines · Lukas Hejtmanek
Quoted 4 lines · Serge E. Hallyn

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.

#4 lore raw
In reply to Lukas Hejtmanek
Quoted 8 lines · Lukas Hejtmanek

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