Re: [PATCH] kobject: fix suppressing modalias in uevents delivered over netlink

From: Dmitry Torokhov
Date: Thu Dec 14 2017 - 16:44:56 EST


On Thu, Dec 14, 2017 at 1:38 PM, Casey Leedom <leedom@xxxxxxxxxxx> wrote:
> | From: Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>
> | Sent: Thursday, December 14, 2017 12:32 PM
> |
> | As far as I can see Eric's patch is landed in 4.15-rc1 so I do not
> | think we need this patch in .14.
>
> Except that Komali's bisect showed that the bug occured with kernel.org:
> 1455cf8dbfd06aa7651dcfccbadb7a093944ca65 which went in on July 19, 2017 which looks like it may even have made it into 4.13 ...

No, it is not in 4.13, but it is in 4.14:

dtor@dtor-ws:~/kernel/linus $ git describe --contains
1455cf8dbfd06aa7651dcfccbadb7a093944ca65
v4.14-rc1~147^2~16^2~6

This commit was causing issues because of unfortunate udev rules that
tried to load modules on any uevent except "remove" (we've fixed it to
only act on "add" now). We also added workaround for it:

dtor@dtor-ws:~/kernel/linus $ git describe --contains
6878e7de6af726de47f9f3bec649c3f49e786586
v4.14-rc4~36^2~4

Unfortunately that workaround got broken with Eric's refactoring that
went into 4.15 and is being fixed with this patch.

Hope this helps.

--
Dmitry