Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 673902 - sys-apps/systemd-240 sys-fs/udev-240 supresses udev bind events
Summary: sys-apps/systemd-240 sys-fs/udev-240 supresses udev bind events
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo systemd Team
URL: https://github.com/systemd/systemd/pu...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2018-12-28 17:15 UTC by Anton Gubarkov
Modified: 2019-01-21 17:42 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to reverse filtering of bind/unbind events (00-reverse-ignore-bind.patch,1.58 KB, patch)
2018-12-28 17:15 UTC, Anton Gubarkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Gubarkov 2018-12-28 17:15:44 UTC
Created attachment 558696 [details, diff]
patch to reverse filtering of bind/unbind events

I rely on BIND event in my custom rule to re-configure an Elantech touchpad. It works with elantech protocol, but it doesn't work with default SMBus protocol.

systemd-240 has silently removed (filtered out) bind/unbind udev events for reasons I can't understand.

It is the pull req https://github.com/systemd/systemd/pull/11101 

I've prepared a patch to reverse this commit.
Comment 1 Jan Psota 2018-12-29 20:17:09 UTC
Can it be the reason for which my last OpenRC system forgot to load any network (and all other device-motivated) driver? Reverting to udev-239 solved that problem.
Comment 2 Andreas Sturmlechner gentoo-dev 2018-12-31 18:26:03 UTC
*** Bug 674166 has been marked as a duplicate of this bug. ***
Comment 3 Gabriel Misailidis 2019-01-03 14:41:35 UTC
I don't if it has to do with same.

1st box , problem with /dev/{null,random,urandom} permissions downgradd to 239 and all fine. 

2nc box , problem with all network devices and (!) no kernel modules loaded at all. Downgraded to 239 and all fine.
Comment 4 Larry the Git Cow gentoo-dev 2019-01-03 21:10:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ae8ed9aeed90062422f30521cd16addb8d2f7f31

commit ae8ed9aeed90062422f30521cd16addb8d2f7f31
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-01-03 21:09:51 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-01-03 21:09:51 +0000

    sys-fs/udev: more backports
    
    Closes: https://bugs.gentoo.org/673902
    Package-Manager: Portage-2.3.53, Repoman-2.3.12_p31
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-fs/udev/Manifest                                   | 2 +-
 sys-fs/udev/{udev-240-r1.ebuild => udev-240-r2.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ea3bfa59948ad695c5ad2abbf65dab3532a8ed

commit b6ea3bfa59948ad695c5ad2abbf65dab3532a8ed
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2019-01-03 21:07:15 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-01-03 21:07:15 +0000

    sys-apps/systemd: more backports
    
    Bug: https://bugs.gentoo.org/673902
    Package-Manager: Portage-2.3.53, Repoman-2.3.12_p31
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/Manifest                                         | 2 +-
 sys-apps/systemd/{systemd-240-r1.ebuild => systemd-240-r2.ebuild} | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
Comment 5 faminebadger 2019-01-07 20:51:24 UTC
Ah, I initially dismissed this from its summary and first comment as a systemd issue, but on closer reading some of the later comments, it looks like this is causing udev detection issues.

Which means it may be the cause of the bug I just raised - https://bugs.gentoo.org/674816.