Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 501056

Summary: sys-kernel/genkernel-next-35 should pass init=$variable (systemd)
Product: Gentoo Linux Reporter: Arnaud Desgranges <desgranges.arnaud>
Component: [OLD] Core systemAssignee: Fabio Erculiani (RETIRED) <lxnay>
Status: RESOLVED FIXED    
Severity: normal CC: desgranges.arnaud
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Arnaud Desgranges 2014-02-12 10:50:39 UTC
When i pass init=/usr/lib/systemd/systemd in grub kernel command line,like this :

title Gentoo Linux
root (hd0,0)
kernel  /vmlinuz root=/dev/sda2 init=/usr/lib/systemd/systemd
initrd  /initrd

It boots in openrc
It is also said in the wiki : http://wiki.gentoo.org/wiki/Talk:Systemd :
genkernel-next

There are problems with stable genkernel-next-35: kernel use init system from /sbin/init instead of /usr/lib/systemd/systemd
Grub2 config is right:
GRUB_CMDLINE_LINUX="init=/usr/lib/systemd/systemd"
Updating to unstable genkernel-next-47 fix this problem

I confirm this problem.
with unstable genkernel-next it is solved

Reproducible: Always

Steps to Reproduce:
1. emerge stable genkernel-next
2. boot in systemd init failed
3.
Actual Results:  
boot in openrc

Expected Results:  
boot in systemd
Comment 1 Arnaud Desgranges 2014-02-12 10:52:40 UTC
Created attachment 370202 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2015-04-10 12:04:01 UTC
55 version (current stable) should have this fixed