From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 18B47138334 for ; Tue, 20 Aug 2019 06:26:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 012A0E0829; Tue, 20 Aug 2019 06:26:15 +0000 (UTC) Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [62.209.51.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6DEE8E0824 for ; Tue, 20 Aug 2019 06:26:14 +0000 (UTC) Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x7K6PA9h026495 for ; Tue, 20 Aug 2019 08:26:12 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=subject : from : to : references : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=STMicroelectronics; bh=i4ujiriqIbYXQQcwuhtls9dO/47U3o01pXHj4RW4QBk=; b=zfPmBP0Wp5v6ditmMoR/TwLHobMSyPAgXprK0fAKZOcQux2JVROOercL0lOTVnSCiTPX sBXpXmrISMXY2QgdCrbFVtgPKdOIMXN/2ixRXSCWAf70EzGCkkuWz4nfTKT8/EGwtT1t 4VmRseQ7F3A4yFIfdEtE1P7GePawwEB93m93/iNF7jXOj/JLKXHB9YbyddaqmKpomqit Q/Fc5NnVG/H+cnOWjy1t1F44wPUZWzHXIgffInw49cIrdKrBgO8IjAGBvK2Sm/NZtOYh KlieO3UZ/Lo9as4zPQERQxZrSPQsWhHPIpivjbbHSIGQvL8e97SXfwM3QEiXmM8VTwcb fw== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2ue7buq0h9-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 20 Aug 2019 08:26:12 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 914DD38 for ; Tue, 20 Aug 2019 06:26:11 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag7node2.st.com [10.75.127.20]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id AF77F2B4D14 for ; Tue, 20 Aug 2019 08:26:07 +0200 (CEST) Received: from [10.50.186.1] (10.75.127.51) by SFHDAG7NODE2.st.com (10.75.127.20) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 20 Aug 2019 08:26:07 +0200 Subject: Re: [gentoo-user] switch from gnome/systemd to xfce/openrc borked my system - I GIVE UP From: Raffaele Belardi To: References: <72845d45-b7c5-37cc-a3af-0a24e0cf9888@st.com> Message-ID: <991e3747-335f-0606-8e7e-c450684fea37@st.com> Date: Tue, 20 Aug 2019 08:26:30 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.9.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <72845d45-b7c5-37cc-a3af-0a24e0cf9888@st.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.75.127.51] X-ClientProxiedBy: SFHDAG1NODE2.st.com (10.75.127.2) To SFHDAG7NODE2.st.com (10.75.127.20) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-08-20_02:,, signatures=0 X-Archives-Salt: 2df7b183-b523-48a8-a29f-ede2d04db781 X-Archives-Hash: 08a1cc1e34abc67fd7228a2254347561 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 . 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