From: Greg KH <gregkh@linuxfoundation.org>
To: Marcus Meissner <meissner@suse.de>
Cc: linux-kernel@vger.kernel.org, dmitry.torokhov@gmail.com
Subject: Re: FYI: Userland breakage caused by udev bind commit
Date: Mon, 24 Dec 2018 10:12:29 +0100 [thread overview]
Message-ID: <20181224091229.GA26796@kroah.com> (raw)
In-Reply-To: <20181223164954.hib4lbchftspidsd@suse.de>
On Sun, Dec 23, 2018 at 05:49:54PM +0100, Marcus Meissner wrote:
> Hi,
>
> I am the maintainer of libmtp and libgphoto2
>
> Some months ago I was made aware of this bug:
> https://bugs.kde.org/show_bug.cgi?id=387454
>
> This was fallout identified to come from this kernel commit:
>
> commit 1455cf8dbfd06aa7651dcfccbadb7a093944ca65
> Author: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> Date: Wed Jul 19 17:24:30 2017 -0700
>
> If distributions would be using libmtp and libgphoto2 udev rules
> that just triggered on "add" events, and not the new "bind" events,
> the missing "attribute tagging" of the "bind" events would confused the
> KDE Solid device detection and make the devices no longer detected.
>
> This did not affect distributions that rely on the newer "hwdb"
> device detection method.
>
> I have released fixed libmtp and libgphoto2 versions in November, so
> this is under control, but wanted to bring this up as a "kernel caused
> userland breakage".
This is complex, sorry. When this first commit was merged, we did get
some reports of problems, so we reverted it. Dmitry worked through the
issues and then we added it back again.
That was back in July of 2017, and since then, we had not heard of any
problems that happened until this month, a very long time.
So I really don't understand the root problem here, all of the distros
that have been shipping kernels with this code for over a year didn't
seem to have any issues. My systems never had any issues, and so I
can't figure out what suddenly changed to cause problems.
Was it the fact that we all are using distros that use hwdb? Who does
_not_ use hwdb these days? Heck, I would have expected Debian to report
problems as they are the ones that are known to use old userspace code
with kernel developers using new kernels.
So what changed to cause the problem recently?
confused,
greg k-h
next prev parent reply other threads:[~2018-12-24 9:12 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-23 16:49 FYI: Userland breakage caused by udev bind commit Marcus Meissner
2018-12-23 17:17 ` Christian Brauner
2018-12-23 18:06 ` Dmitry Torokhov
2018-12-24 7:31 ` Gabriel C
2018-12-24 9:17 ` Greg KH
2018-12-24 10:15 ` Gabriel C
2018-12-24 10:54 ` Greg KH
2018-12-24 11:32 ` Gabriel C
2018-12-24 17:34 ` Dmitry Torokhov
2018-12-24 18:06 ` Linus Torvalds
2018-12-24 18:13 ` Christian Brauner
2018-12-24 18:28 ` Linus Torvalds
2018-12-24 18:42 ` Christian Brauner
2018-12-24 9:17 ` Dmitry Torokhov
2018-12-24 10:30 ` Gabriel C
2018-12-24 9:12 ` Greg KH [this message]
2018-12-24 9:22 ` Dmitry Torokhov
2018-12-24 9:34 ` Greg KH
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=20181224091229.GA26796@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=meissner@suse.de \
/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