public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@gentoo.org>
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	[thread overview]
Message-ID: <86led8x21v.fsf@gentoo.org> (raw)
In-Reply-To: <20230914.055018.1755699845772827205.enometh@meer.net>

[-- Attachment #1: Type: text/plain, Size: 2804 bytes --]

Madhu <enometh@meer.net> 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=, resume=, and presumably root=zfs:... in your
case.  I had my suspend a volume in LVM, though, so my resume= 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 :)
-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]

  parent reply	other threads:[~2023-09-14 14:27 UTC|newest]

Thread overview: 115+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-11 15:14 [gentoo-dev] last rites: sys-fs/eudev Andreas K. Huettel
2023-09-11 15:22 ` orbea
2023-09-11 15:29   ` Andreas K. Huettel
2023-09-11 15:42     ` orbea
2023-09-11 17:25       ` martin-kokos
2023-09-11 17:45         ` orbea
2023-09-11 19:20       ` Dale
2023-09-11 20:31         ` Sam James
2023-09-11 21:14           ` orbea
2023-09-11 21:21             ` Sam James
2023-09-11 21:29               ` Alexey Sokolov
2023-09-11 21:35                 ` Sam James
2023-09-11 21:43                   ` Alexey Sokolov
2023-09-11 21:51                     ` Alexe Stefan
2023-09-11 21:59                       ` Sam James
2023-09-11 21:32               ` orbea
2023-09-11 21:50                 ` Sam James
2023-09-11 22:10                   ` orbea
2023-09-11 22:17                     ` Sam James
2023-09-12  2:34                       ` orbea
2023-09-12  9:18                         ` Rich Freeman
2023-09-12 11:00                           ` Alarig Le Lay
2023-09-14  0:20                           ` [gentoo-dev] " Madhu
2023-09-14  0:47                             ` Alex Boag-Munroe
2023-09-14 14:25                             ` Arsen Arsenović [this message]
2023-09-14 14:57                               ` Mike Gilbert
2023-09-14 18:15                                 ` Arsen Arsenović
2023-09-11 21:27           ` [gentoo-dev] " Eddie Chapman
2023-09-11 21:41             ` Sam James
2023-09-11 22:22               ` Eddie Chapman
2023-09-11 22:27                 ` Sam James
2023-09-12 13:36                   ` Eddie Chapman
2023-09-12 13:57                     ` Sam James
2023-09-12 14:12                     ` Rich Freeman
2023-09-12 14:17                       ` Sam James
2023-09-12 15:04                         ` Eddie Chapman
2023-09-12 18:47                           ` Matt Turner
2023-09-12 15:35                         ` orbea
2023-09-12 17:23                           ` Alexe Stefan
2023-09-12 17:36                             ` orbea
2023-09-12 19:06                               ` Eddie Chapman
2023-09-12 19:32                                 ` orbea
2023-09-12 18:53                             ` Matt Turner
2023-09-12 18:58                               ` Alexe Stefan
2023-09-12 23:45                             ` karl
2023-09-12 18:51                           ` Matt Turner
2023-09-12 19:05                             ` orbea
2023-09-12 19:56                               ` Eli Schwartz
2023-09-12 20:59                                 ` Dale
2023-09-12 20:37                               ` Matt Turner
2023-09-12 14:55                       ` Eddie Chapman
2023-09-12 15:00                         ` Sam James
2023-09-12 19:21                         ` Andreas K. Huettel
2023-09-12 19:47                           ` Eddie Chapman
2023-09-12 20:33                             ` Andrew Ammerlaan
2023-09-12 21:23                               ` Eddie Chapman
2023-09-12 21:36                                 ` Matt Turner
2023-09-12 21:45                                   ` Alexe Stefan
2023-09-12 21:52                                     ` Matt Turner
2023-09-13  4:35                                       ` Alexe Stefan
2023-09-13  4:56                                         ` Eli Schwartz
2023-09-13  5:03                                           ` Alexe Stefan
2023-09-13  5:38                                             ` Eli Schwartz
2023-09-13  6:13                                               ` Alexe Stefan
2023-09-13  6:19                                                 ` Alexe Stefan
2023-09-13  6:40                                                 ` Dale
2023-09-13  6:54                                                   ` Alexe Stefan
2023-09-13  7:23                                                     ` Dale
2023-09-12 22:35                                   ` Eddie Chapman
2023-09-13  7:55                                 ` Andrew Ammerlaan
2023-09-13  8:10                                   ` Dale
2023-09-16  6:01                                     ` Oskari Pirhonen
2023-09-16  6:09                                       ` Sam James
2023-09-16  7:15                                         ` Dale
2023-09-13  8:13                                   ` Arve Barsnes
2023-09-13 23:49                                   ` Eddie Chapman
2023-09-14 14:16                                   ` Eddie Chapman
2023-09-14 14:44                                     ` Alex Boag-Munroe
2023-09-14 15:30                                       ` Eddie Chapman
2023-09-14 16:09                                         ` Alex Boag-Munroe
2023-09-14 16:50                                           ` Eddie Chapman
2023-09-14 17:18                                             ` Alex Boag-Munroe
2023-09-14 18:39                                               ` Alexe Stefan
2023-09-14 19:11                                                 ` Alex Boag-Munroe
2023-09-14 17:27                                             ` Rich Freeman
2023-09-14 17:39                                               ` Eddie Chapman
2023-09-14 17:52                                                 ` Alex Boag-Munroe
2023-09-14 17:57                                                 ` Rich Freeman
2023-09-14 23:19                                                 ` Arsen Arsenović
2023-09-15 15:10                                                   ` orbea
2023-09-15 18:38                                                     ` Alexey Sokolov
2023-09-15 18:56                                                       ` orbea
2023-09-15 22:25                                                         ` Arsen Arsenović
2023-09-15 22:40                                                   ` orbea
2023-09-16  1:12                                                     ` Arsen Arsenović
2023-09-16  9:35                                                     ` David Seifert
2023-09-16 13:32                                                       ` Alexe Stefan
2023-09-16 22:03                                                         ` Arsen Arsenović
2023-09-17  9:00                                                           ` Alexe Stefan
2023-09-17 10:16                                                             ` Arsen Arsenović
2023-09-17 17:56                                                               ` Alexe Stefan
2023-09-17 18:38                                                                 ` Arsen Arsenović
2023-09-14 17:20                                       ` Eddie Chapman
2023-09-14 17:28                                         ` Alex Boag-Munroe
2023-09-14 17:51                                           ` Eddie Chapman
2023-09-14 17:19                                     ` Matt Turner
2023-09-14 17:24                                       ` Eddie Chapman
2023-09-13  2:55                             ` Eli Schwartz
2023-09-13  9:05                               ` Eddie Chapman
2023-09-13  9:34                                 ` Alexe Stefan
2023-09-13  9:43                                   ` Alex Boag-Munroe
2023-09-13 21:57                                   ` Arsen Arsenović
2023-09-12 14:31                     ` martin-kokos
2023-09-12 15:00                       ` Eddie Chapman
2023-09-12 15:20                         ` Sam James

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=86led8x21v.fsf@gentoo.org \
    --to=arsen@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=orbea@meer.net \
    /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