Re: [PATCH 3/4] Steal rules we need from the latest udev package.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-03-04 at 11:12 +0100, Kay Sievers wrote:
> On Wed, Mar 4, 2009 at 02:16, Victor Lowther <victor.lowther@xxxxxxxxx> wrote:
> > On Tue, 2009-03-03 at 19:25 -0500, Jeremy Katz wrote
> >> Stealing rules, though, means that they're almost certain to be out of
> >> date as soon as they're present.
> 
> Exactly. And they will break horribly next month, when we e.g. switch
> from vol_id to blkid.
> 
> > Yep.  This is intended to be a quick and dirty hack for those of us who
> > prefer not to delve into the nuances of how each distro does things.
> 
> Don't do that. There is no need to know how "distros" work, you only
> need to know about Debian. :)
> 
> > Out of date does not mean as much to the initramfs, IMAO -- as long as
> > we can find and mount root, it does not matter how out of date the rules
> > are.
> The current default udev
> rules will not even work correctly on the "ancient" udev package
> Debian ships today.

Ah,  I was not aware of that little tidbit of information.

inst_rules (in this patch series, at least) will try to grab rules from
the host system before using the ones I stole from udev upstream.  That
did not work on Debian due to their having a
different-enough-to-be-infuriating naming scheme, and I did not feel
like spending enough time examining their scheme to figure out the
"right" rules to grab.

> All other distros work together and ship a set of rules which is the
> result of a merge of all the distro stuff. They all ship an identical
> setup today. There is only one left, which thinks it can do better,
> and I would not like to see broken workarounds for everybody in the
> dracut repo. It should be a "Debian dracut module to work around their
> weird idea of upstream", and not a "pain to maintain default" for all
> other users. :)

Fair enough. Consider this patch withdrawn.

> > Mmmm... sweet scent of politics.  I get the feeling that many kilobytes
> > have been spent flaming^Wdiscussing this topic.
> 
> Yeah, it seems hard for some kids to share their toys. :) But it's
> pretty much over, there is not much to discuss anymore. We all ship
> the same stuff, and share the same bugs. If you want "Debian" use
> Ubuntu. It's part of the upstream development, ships recent versions
> which other stuff can develop against, and can depend on. :)

Good to know, but I think I will stick with Fedora for now.  It seems
like we have enough patches floating around on the mailing list right
now to have a good chance at making everything but Debian work without
too many distro-specific workarounds (or, at least we will once
switch_root is rewritten in C and packaged into util-linux)

> Thanks,
> Kay
-- 
Victor Lowther
RHCE# 805008539634727
LPIC-2# LPI000140019

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux