Re: Revert needed: udev spewing warnons on common systems in 3.0
From: Andi Kleen
Date: Tue Aug 02 2011 - 02:08:07 EST
David Rientjes <rientjes@xxxxxxxxxx> writes:
>
>> Also the warning is completely useless: noone will be "fixing"
>> udev on old distributions.
>>
>
> udev was fixed for v162, but admittedly that won't help on old
Nobody wants to update udev if they can avoid it, especially not for
such an extremly obscure reason.
Repeat after me: Linux is not supposed to break old user land.
And not breaking in this case includes not randomly spewing useless
backtraces.
If you feel the need to social engineer the Chromium people, please
do it by email, not by keeping other people's kernel logs hostage.
> distributions. The WARN_ONCE() was intended to be in place for a year
> just like its previous form, printk_once(), and then the tunable will
> disappear and result in no error message.
printk_once() is fine, but oopsy looking backtraces are not.
>> IMHO that's not acceptable to break common user land like this.
>> Linux is supposed to be binary compatible and this patch is not
>> in this spirit.
>>
>
> Can you show additional breakage that still need to be fixed in userspace
> applications (we can't do anything about old distributions, it'll be a
> silent failure in a year's time)?
Simply backtraces are not supposed to happen unless something
is really broken. That's not the case here. The old distribution
works perfectly fine and will continue to do so.
> udev was fixed for v162, kde was fixed
> for 4.6.1
... and users will continue to run old versions.
> So I'm certainly not changing an interface and leaving people to fix it
> up, I've been actively involved in doing so for the known userspace that
> does touch the tunable. I think it's better for users to be notified
> whether by "scary" warnings in the log (come on, we should be able to warn
> about deprecated interfaces in a log without mass failures) as some
You can warn, but not using oopsy looking backtraces. That trigger
all the bug reporting machinery. That is just annoying.
> diligence before removing the tunable.
It's not due diligence, it's total overkill for this.
I still think reverting this patch is the right thing to do.
Otherwise I have to do it in my local trees :-/ (it's certainly preferable
than messing with udev)
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/