Gentoo Archives: gentoo-user

From: Raffaele Belardi <raffaele.belardi@××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] switch from gnome/systemd to xfce/openrc borked my system - I GIVE UP
Date: Tue, 20 Aug 2019 06:26:24
Message-Id: 991e3747-335f-0606-8e7e-c450684fea37@st.com
In Reply to: Re: [gentoo-user] switch from gnome/systemd to xfce/openrc borked my system by Raffaele Belardi
1 Raffaele Belardi wrote:
2 > At this point of the boot process the system did very few things, the problem should be
3 > relatively easy to trace so I refuse to give up. Long nights ahead.
4
5 And at this point of the day I give up.
6
7 My findings:
8 - the 'random: crng init done' printed during the boot is the kernel, not OpenRC. The
9 OpenRC script just manages the seed and does not print that string. So, most probably
10 OpenRC is never started.
11 - from the chroot I invoked /sbin/openrc <runlevel>. It spits out errors due to the chroot
12 environment but other than that seems to work fine for all runlevels. So the init scripts
13 and /sbin/openrc are fine.
14 - I also issued startxfce4 from the chroot and got a 'working' GUI. Not very useful but I
15 was curious.
16 - one of the init scripts complained that it was unable to open /run and actually the
17 directory was not present. Possibly it was deleted as a side effect of the system crash?
18 Anyway, I restored it but no luck.
19 - I grub-loaded a different kernel, one built for systemd. It stops in the exact same
20 place as the openrc-built one.
21 - I recompiled the kernel with openrc and systemd options and made sure it was loaded
22 (renamed the image file, got grub error, renamed it back, grub happy). I increased the
23 kernel (I think console message) log level but nothing useful was output.
24 - /sbin/init is the next possible failure point but without logs there's not much to
25 debug. I re-emerged sysvinit and openrc but no go.
26
27 Ok, I've had enough. Thanks to all who contributed, this issue will remain a mystery.
28
29 raffaele

Replies