public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Raffaele Belardi <raffaele.belardi@st.com>
To: <gentoo-user@lists.gentoo.org>
Subject: Re: [gentoo-user] switch from gnome/systemd to xfce/openrc borked my system - I GIVE UP
Date: Tue, 20 Aug 2019 08:26:30 +0200	[thread overview]
Message-ID: <991e3747-335f-0606-8e7e-c450684fea37@st.com> (raw)
In-Reply-To: <72845d45-b7c5-37cc-a3af-0a24e0cf9888@st.com>

Raffaele Belardi wrote:
> At this point of the boot process the system did very few things, the problem should be 
> relatively easy to trace so I refuse to give up. Long nights ahead.

And at this point of the day I give up.

My findings:
- the 'random: crng init done' printed during the boot is the kernel, not OpenRC. The 
OpenRC script just manages the seed and does not print that string. So, most probably 
OpenRC is never started.
- from the chroot I invoked /sbin/openrc <runlevel>. It spits out errors due to the chroot 
environment but other than that seems to work fine for all runlevels. So the init scripts 
and /sbin/openrc are fine.
- I also issued startxfce4 from the chroot and got a 'working' GUI. Not very useful but I 
was curious.
- one of the init scripts complained that it was unable to open /run and actually the 
directory was not present. Possibly it was deleted as a side effect of the system crash? 
Anyway, I restored it but no luck.
- I grub-loaded a different kernel, one built for systemd. It stops in the exact same 
place as the openrc-built one.
- I recompiled the kernel with openrc and systemd options and made sure it was loaded 
(renamed the image file, got grub error, renamed it back, grub happy). I increased the 
kernel (I think console message) log level but nothing useful was output.
- /sbin/init is the next possible failure point but without logs there's not much to 
debug. I re-emerged sysvinit and openrc but no go.

Ok, I've had enough. Thanks to all who contributed, this issue will remain a mystery.

raffaele


  parent reply	other threads:[~2019-08-20  6:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-19  6:29 [gentoo-user] switch from gnome/systemd to xfce/openrc borked my system Raffaele Belardi
2019-08-19  6:41 ` [gentoo-user] " Raffaele Belardi
2019-08-19 11:19   ` Mick
2019-08-19 12:24     ` Raffaele Belardi
2019-08-19 14:20       ` Daniel Frey
2019-08-19 14:25         ` Raffaele Belardi
2019-08-19 14:24       ` Peter Humphrey
2019-08-19 11:51 ` [gentoo-user] " David Haller
2019-08-19 12:32   ` Raffaele Belardi
2019-08-19 13:52 ` Rich Freeman
2019-08-19 14:42   ` Raffaele Belardi
2019-08-19 15:39     ` Rich Freeman
2019-08-20  6:26     ` Raffaele Belardi [this message]
2019-08-20 13:56       ` [gentoo-user] Re: switch from gnome/systemd to xfce/openrc borked my system - I GIVE UP Nuno Silva
2019-08-21  7:26         ` Raffaele Belardi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=991e3747-335f-0606-8e7e-c450684fea37@st.com \
    --to=raffaele.belardi@st.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox