Summary: | net-misc/networkmanager-1.26.2: udev rule for setting ENV{ID_NET_DRIVER} on devices is broken because of wrong hardcoded path for sed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrei Slavoiu <ansla80> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | jstein, posting, whissi |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/17935 https://bugs.gentoo.org/show_bug.cgi?id=811291 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
Andrei Slavoiu
2020-03-24 13:26:43 UTC
Created attachment 625004 [details]
emerge --info
btw, as a workaround, I changed the rule to: ENV{INTERFACE}=="veth*", ENV{NM_UNMANAGED}="1" I wonder if not this file is the reason: /lib/udev/rules.d/84-nm-drivers.rules it has /usr/sbin/ethtool hardcoded and Gentoo NM does not depend on ethtool. Your rule is better though as it does not depend on ethtool at all. You are right, /lib/udev/rules.d/84-nm-drivers.rules is the broken one, but not necessarily because of ethtool hardcoded path, I do have it there. But on Gentoo "sed" is installed in /bin, not /usr/bin. (In reply to Andrei Slavoiu from comment #4) > You are right, /lib/udev/rules.d/84-nm-drivers.rules is the broken one, but > not necessarily because of ethtool hardcoded path, I do have it there. But > on Gentoo "sed" is installed in /bin, not /usr/bin. Right, I forgot it was sed, not ethtool. Still good to loose the ethtool/sed dependency though The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f8d9746194996f440c3cd5ee6276ecdb0c62add commit 5f8d9746194996f440c3cd5ee6276ecdb0c62add Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2020-10-15 13:42:55 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-11-05 02:41:31 +0000 net-misc/networkmanager: fix 84-nm-drivers.rules UDEV rule Closes: https://bugs.gentoo.org/714168 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/17935 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> net-misc/networkmanager/networkmanager-1.26.4.ebuild | 5 +++++ 1 file changed, 5 insertions(+) This needs upstreaming in a more complete form In the v1.38.0 NEWS file I see
> * Veth devices with name "eth*" are now managed by default via the
> udev rule. This is to support managing the network in LXD containers.
Does this resolve the issue?
What still needs to be done here? How can I test if this is resolved? (I fixed the problem manually but don't recall how.) *** Bug 811291 has been marked as a duplicate of this bug. *** |