Re: userspace breakage

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

 



On 12/29/05, Dave Jones <[email protected]> wrote:
> On Thu, Dec 29, 2005 at 12:49:16PM -0800, Linus Torvalds wrote:
>
>  > Umm.. Complain more. I upgrade kernels a lot more often than I upgrade
>  > distros, and things don't break. They're not allowed to break, because I
>  > refuse to upgrade my user programs just because I do kernel development.
>  > But I'd only notice a small part of user space, so if people don't
>  > complain, they break not because we don't care, but because we didn't even
>  > know.
>  >
>  > So if you have a user program that breaks, _complain_. It's really not
>  > supposed to happen outside of perhaps kernel module loaders etc things
>  > that get really really chummy with kernel internals (and even that was
>  > fixed: the modern way of loading modules isn't that chummy any more, so
>  > hopefully we'll not need to break even module loaders again).
>  >
>  > If we change some /proc file thing, breakage is often totally
>  > unintentional, and complaining is the right thing - people might not even
>  > have realized it broke.
>  >
>  > At least _I_ take breakage reports seriously. If there are maintainers
>  > that don't, complain to them. I'll back you up. Breaking user space simply
>  > isn't acceptable without years of preparation and warning.
>
> The udev situation I mentioned has been known about for at least a month,
> probably longer. With old udev, we don't get /dev/input/event* created
> with 2.6.15rc.
>

Once input core was converted to sysfs the bereakage was unavoidable.
Because of historical oversight input_dev and input interfaces, such
as mouseX were generating the same "input" events with different
arguments. The option was either to go with separate classes
(breakage) or making hierarchy within one class (breakage again). And
sysfs conversion was needed to do hotplug over netlink...

> At some point in time it became defacto that certain things like udev, hotplug,
> alsa-lib, wireless-tools and a bunch of others have to have kept in lockstep
> with the kernel, and if it breaks, it's your fault for not upgrading
> your userspace.
>

I would say that udev and hotplug is special kind of userspace as it
really extension of the kernel. It would probably be best if udev was
packaged together with the kernel.

--
Dmitry
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux