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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC746158089 for ; Thu, 14 Sep 2023 14:27:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA5582BC06E; Thu, 14 Sep 2023 14:27:52 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AEB5D2BC031 for ; Thu, 14 Sep 2023 14:27:52 +0000 (UTC) References: <7802203.lOV4Wx5bFT@kona> <20230911082243.65aa85f5@Akita> <4128737.ElGaqSPkdT@kona> <20230911084231.73dd619f@Akita> <5848191c-8708-edfe-0c69-eeced3907b0d@gmail.com> <87zg1szc23.fsf@gentoo.org> <20230911141451.7c88dd7a@Akita> <87edj4z9q6.fsf@gentoo.org> <20230911143249.704f5d3a@Akita> <87sf7kxtue.fsf@gentoo.org> <20230911151008.77c829ea@Akita> <87edj4xsjr.fsf@gentoo.org> <20230911193424.4f6ef6ad@Akita> <20230914.055018.1755699845772827205.enometh@meer.net> User-agent: mu4e 1.10.6; emacs 30.0.50 From: Arsen =?utf-8?Q?Arsenovi=C4=87?= To: gentoo-dev@lists.gentoo.org Cc: orbea@meer.net Subject: Re: [gentoo-dev] Re: last rites: sys-fs/eudev Date: Thu, 14 Sep 2023 16:25:40 +0200 In-reply-to: <20230914.055018.1755699845772827205.enometh@meer.net> Message-ID: <86led8x21v.fsf@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Archives-Salt: d5bdf13e-8686-4120-a7c2-a7eddf7c9ce5 X-Archives-Hash: a06d52f9f80c54aadf96ae311bc47deb --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Madhu writes: [...snip...] > One of the planned consequences of this tree-cleaning is the removal > of genkernel, and the use of genkernel to build gentoo's initramfs. > > Genkernel uses eudev for udev, and it works because eudev can be built > statically. > > systemd-udev cannot be built as a static binary again presumably a > carefully thought out design decision behind its design and > philosophy. Since static linking is seldom a good idea, it is more likely that simply nobody bothered. I don't recall any udev components in systemd v249 (which is the version I attempted to rebase eudev on top of) which can't be static linked. NSS and friends are rather disconnected from udev-related components, and that's the closest thing I can think of to requiring shared objects (note, *not* the same as being unusable in a static-linked scenario). In addition, there's precisely zero reasons why an initrd must be composed of static linked components. > eudev works perfectly well for the job genkernel does, udev is not a > drop-in replacement for udev in genkernel initramfs because it doesn't > support static compilation. Removing eudev leads to a roadmap to > deprecate genkernel last-rite and remove it. > > I know you are a dracut user, but I've been unable to use dracut with > 1. cryptsetup swap + swsuspend + zfs on root. I've had an LUKS2 + LVM setup which also had a swap file for suspend with Dracut a few years back. You should be able to declare what files need to be brought up on the cmdline or in the config and have it do the rest. I've lost the notes on how exactly I did that since this was years ago, but I recall that all the information came from dracut.cmdline(7) (yeah, I know, manpages, unfortunate..), and I recall needing rd.luks.uuid=3D, resume=3D, and presumably root=3Dzfs:... in your case. I had my suspend a volume in LVM, though, so my resume=3D pointed to /dev/foo/swap. Please give that a shot (but keep a copy of your current initrd so that you can retry easily). There are plenty of people on IRC who can help with your transition. Dracut is more flexible than it gets credit for. > Gentoo actively removes support for individual configurations, and > only supports is for configurations that fedora has already engineered > and controls because that is where the devs seem to be coming from. Developers tend to support tools they use, and developers tend to be more enthusiastic about tools that everyone uses and contributes to rather than a few specific ones, produced in-house ages ago, by people who are either no longer interested in those tools or in Gentoo. It has less to do with who made it and more to do with who uses it. Have a lovely day :) =2D-=20 Arsen Arsenovi=C4=87 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iOcEARYKAI8WIQT+4rPRE/wAoxYtYGFSwpQwHqLEkwUCZQMYXF8UgAAAAAAuAChp c3N1ZXItZnByQG5vdGF0aW9ucy5vcGVucGdwLmZpZnRoaG9yc2VtYW4ubmV0RkVF MkIzRDExM0ZDMDBBMzE2MkQ2MDYxNTJDMjk0MzAxRUEyQzQ5MxEcYXJzZW5AZ2Vu dG9vLm9yZwAKCRBSwpQwHqLEk9OoAP9LGoMudTGbZdTj/8rhE3mVqk5jcoavrsnd PLWEf0eSywD/frJn/VzVqqTZnODzVZf1KdoJfbTgSNMD4uTnD3PbeQc= =GEY8 -----END PGP SIGNATURE----- --=-=-=--