On Fri, 7 Feb 2020 at 09:28, Zbigniew Jędrzejewski-Szmek <zbyszek@xxxxxxxxx> wrote:
On Fri, Feb 07, 2020 at 08:37:05AM -0500, Neal Gompa wrote:
> On Fri, Feb 7, 2020 at 8:27 AM Zbigniew Jędrzejewski-Szmek
> <zbyszek@xxxxxxxxx> wrote:
> >
> > On Fri, Feb 07, 2020 at 12:09:37PM +0000, Richard W.M. Jones wrote:
> > >
> > > I'd strongly suggest you look at supermin before going any further.
> >
> > Supermin is an interesting project, but at this point we're not
> > looking for a tool to craft the image. We're still at an earlier stage
> > of changing how we do some rpm packages so that it is easy to do an
> > installation that is small without custom logic.
> >
> > The idea is that the initramfs, once you include lvm, md, dm, encryption,
> > networking, clevis, emergency utilities, scsi, iscsi, raid in various
> > flavours, some graphics drivers, usb, bluetooth, etc, is a lot like a
> > the full distribution. Things would be a lot easier if we could just
> > use the same tools and daemons from the same packages as in the
> > host. Supermin (and other tools) have support for creating something
> > custom and small, and here the goal is the opposite: to do "standard".
> >
> > Fedora currently uses dracut, and the problem is that nobody has a
> > good grasp on what goes in dracut. There's a lot of custom logic and
> > custom code and reimplementation of things, and people who deal with
> > the same functionality in the host system don't necessarily know what
> > happens in the initramfs. In the past such a setup made sense, but now
> > it seems that the tradeoffs are different.
> >
>
> I'm genuinely surprised by this. [...] The main problem with
> dracut is the same problem with all initramfs generators: it has to
> prepare an environment that works in the worst circumstances. It's
> compounded by the restriction that everything is written in shell, and
> POSIX shell at that (because Debian).
Well, look at it from the other side: the host machine also needs to
work in the same circumstances, since we need things to work also after
we switch to the host. And the actual code that we use in the host
— the libraries, the binaries, configuration — is the same, since we
don't do different compilations for the initramfs.
In the host we have switched away from the shell for machine boot, but
for some reason we still keep it for the initramfs, along with a large
amount of custom logic.
> The dracut package, while very large,
> has a pretty understandable framework model.
Sure, it *can* be understood, but should it? Do we gain anything by
having the initramfs so different from the host? The initial
My problem here is that we continually get told we are full of Not Invented Here(NIH) solutions by people in other communities and we should be doing something Debian and different communities use..
And here is one of the places we do agree with other distributions, but it is now a "bah its crap and you can do something better that works with your tools." We knew that years ago and we have known that time and time again. The issue is that we end up with another 'NIH' tool which our limited manpower are going to know and as soon as XYZ developer walks off to $ABC startup we have an unbootable and unmaintained mess. AKA where we were before dracut.
If we are hell bent on repeating history, please let us try to learn from it first.
Stephen J Smoogen.
_______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx