From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [IPv6:::1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4cKc5k6V7Rz2yn4 for ; Sun, 07 Sep 2025 17:10:02 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R13" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4cKc5g43g6z2xQW for ; Sun, 07 Sep 2025 17:09:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4cKc5d4jdhz29 for ; Sun, 07 Sep 2025 17:09:57 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1757264998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YeUUfVZjkBNDfzu4PgOq0vlsbIo7YBlOQYmetY3asYw=; b=TpV+7ZehzfzxXCFpKgnkrgWPkz3pVWuUcO1iZxaTOui2fOUBarpQlaMY3hxP5QpTS97/I/ qKqUMHUlNCOh2JDA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1757264998; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YeUUfVZjkBNDfzu4PgOq0vlsbIo7YBlOQYmetY3asYw=; b=KTY+f5fJ+Gbi58F3Z1T6Pt0D3eFpm2UW3H2fka7ZJpwE28W9K6CJO2IHZzjU/QTEfKOg8u GSR8j1lmgOa79O7jNFk+5W7tSpfK+GdAXTr0d1vYDtVzyGI1B3Geh+U1DgN9qOqu0uLIhy 46KrrvQgf9udZBUSQH2lXddmOnRTtuJj3uJwAkkzK+Py9WonhQwsZG/KuAzlNVnqWiuvWk /MlP9/jV4cbQAyeYbV5EPj+0VUVxI/AFkz1dk/1ir+j4Nog2S+tLQa6WVkVVDPStUgZDb5 ZnEU/xiXgsQ5CNbx9dBd+dPbNGwhpEphoco6/3dnnBYqEe2ciracIzG81s1q9w== Message-ID: <4c6b45bc2437126e7e11bfaad24c6da45247e95d.camel@ipfire.org> Subject: Re: dracut-ng From: Stefan Schantl To: development@lists.ipfire.org Date: Sun, 07 Sep 2025 19:09:44 +0200 In-Reply-To: <1ca6a0c8-da42-483f-af8b-e31acfc3497d@ipfire.org> References: <3a21931a-8ad0-40b8-b4e2-a5cbd0ac61d7@ipfire.org> <5B5EF7C9-775C-4F28-94C6-A3C8CE756AC1@ipfire.org> <1ca6a0c8-da42-483f-af8b-e31acfc3497d@ipfire.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: MIME-Version: 1.0 Hi Adolf, > Hi Stefan, >=20 > On 07/09/2025 14:29, Stefan Schantl wrote: > > Hello Adolf, > > > Hi Michael & all, > > >=20 > > > On 02/09/2025 16:00, Michael Tremer wrote: > > > > Hello Adolf, > > > >=20 > > > > Yes, I would be happy for you to give this a try. > > > >=20 > > > > Since Harald Hoyer has left RedHat, it seems that dracut has > > > > effectively been abandoned and dracut-ng is the successor with > > > > pretty much the same people contributing to it. > > > >=20 > > > > I did not find any breaking changes in the change log (although > > > > it > > > > seems quite extensive), so we might have a very good chance to > > > > indeed ship it as a drop-in. > > > >=20 > > > > Let us know what you find out during testing it :) > > >=20 > > > So I tested dracut-ng using the newest version 108. When I > > > installed > > > IPFire, it built my raid system, it partitioned the disk, created > > > the > > > filesystem, mounted them and installed the system. > > >=20 > > > Then it failed with the message Unable to install the language > > > cache. > > >=20 > > > So I then built version 100 and it did exactly the same. > > >=20 > > > Then I thought, maybe I had commented out something in the > > > rootfile > > > that was needed so I did a build with all the rootfile lines > > > uncommented. > > >=20 > > > It still failed exactly the same. > > >=20 > > > Any help or suggestions on how I can debug this would be > > > gratefully > > > accepted. > >=20 > > This happens because the setup utils tries to launch the "chroot" > > binary and ties to execute the the required command to generate the > > update cache within the changed root directory. > >=20 > > https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dblob;f=3Dsrc/installer/m= ain.c;h=3D9b9c630c35fa44ecb372f58cccad64806c198af4;hb=3DHEAD#l763 > >=20 > > In our current used version of dracut the "chroot" binary is part > > of > > the base and always is present in a generated initramdisk. > >=20 > > During development of dracut and dracut-ng the developers decided, > > that > > "chroot" does not have to be packed as default into an initramdisk. > >=20 > > https://github.com/dracut-ng/dracut-ng/commit/518133714b769160448a51c51= 2d5e152ea6332da >=20 > Yes, so I see it was already in the old dracut version 058. If I had > tried updating from our current version 054 to 058, I would have had > the same problem. >=20 > >=20 > > So the chroot binary now manually must be specified to be part of > > the > > initramdisk. > >=20 > > Something like "dracut --install "/usr/sbin/chroot" " should > > to > > the trick. >=20 > Giving it a try currently in a build. >=20 > Thanks very much for your help on this. I think the following line in "lfs/cdrom" needs to be extended with the "--install" from abouve. https://git.ipfire.org/?p=3Dipfire-2.x.git;a=3Dblob;f=3Dlfs/cdrom;h=3Da2514= 1fc20d82b68a0f10c2a40bfe3831ae1a713;hb=3DHEAD#l170 -Stefan >=20 > Regards, >=20 > Adolf. >=20 > >=20 > > Best regards, > >=20 > > -Stefan > > >=20 > > > Regards, > > >=20 > > > Adolf. > > >=20 > > > >=20 > > > > Best, > > > > -Michael > > > >=20 > > > > > On 2 Sep 2025, at 13:13, Adolf Belka > > > > > wrote: > > > > >=20 > > > > > Hi All, > > > > >=20 > > > > > I was looking at packages that needed updating. I noticed > > > > > that > > > > > dracut was at version 056. The source for that had version > > > > > 059 > > > > > but that was from Dec 2022 and the last commit in that repo > > > > > was > > > > > Mar 2024. > > > > >=20 > > > > > There is a new repo providing dracut-ng. Their version 100 > > > > > (Apr > > > > > 2024) is said to be a drop-in replacement for the original > > > > > dracut. They are now at version 108 and it is being actively > > > > > maintained. > > > > >=20 > > > > > With it being said to be a drop-in replacement I thought > > > > > dracut- > > > > > ng looked a good candidate to test out but as dracut plays a > > > > > critical role in the booting process I thought I would ask if > > > > > anyone has any information to indicate that it is not worth > > > > > trying it. > > > > >=20 > > > > > Regards, > > > > >=20 > > > > > Adolf. > > > > >=20 > > > > >=20 > > > >=20 > > >=20 > >=20 >=20