Summary: | net-misc/networkmanager-1.18.2 - char 24: invalid substitution type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | floppym |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://github.com/NetworkManager/NetworkManager/commit/27d380b70ea839c7badab420361e4e65e023e8e9 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Mokrejš
2019-10-15 16:17:41 UTC
And before somebody asks, I have sys-apps/ethtool-5.3 installed. Also with net-misc/networkmanager-1.18.4 systemd-udevd[]: /lib/udev/rules.d/11-dm-lvm.rules:40 Invalid value for OPTIONS key, ignoring: 'event_timeout=180' You didn't lose your logical volumes? *** This bug has been marked as a duplicate of bug 697538 *** (In reply to Jeroen Roovers from comment #3) > systemd-udevd[]: /lib/udev/rules.d/11-dm-lvm.rules:40 Invalid value for > OPTIONS key, ignoring: 'event_timeout=180' > > You didn't lose your logical volumes? No, I do not have any LVM volumes configured. I use mdraid and dmcrypt, though. Note I use openrc instead of systemd. According to udev(7), dollar signs should be escaped with another dollar sign. The NAME, SYMLINK, PROGRAM, OWNER, GROUP, MODE, SECLABEL, and RUN fields support simple string substitutions. The RUN substitutions are performed after all rules have been processed, right before the program is executed, allowing for the use of device properties set by earlier matching rules. For all other fields, substitutions are performed while the individual rule is being processed. The available substitutions are: ... $$ The "$" character itself. So for me the patch https://gitlab.freedesktop.org/NetworkManager/NetworkManager/commit/27d380b70ea839c7badab420361e4e65e023e8e9 works. Thanks to https://bugs.gentoo.org/show_bug.cgi?id=697538#c6 (note the [ 7782.193626] systemd-udevd[6712]: /lib/udev/rules.d/84-nm-drivers.rules:10 Invalid value "/bin/sh -c 'ethtool -i $1 | sed -n s/^driver:\ //p' -- $env{INTERFACE}" for PROGRAM (char 24: invalid substitution type), ignoring, but please fix it. line is gone) [10293.288716] printk: systemd-udevd: 6 output lines suppressed due to ratelimiting [10293.329808] systemd-udevd[5546]: /lib/udev/rules.d/11-dm-lvm.rules:40 Invalid value for OPTIONS key, ignoring: 'event_timeout=180' [10293.329811] systemd-udevd[5546]: /lib/udev/rules.d/11-dm-lvm.rules:40 The line takes no effect, ignoring. [10293.569377] systemd-udevd[5621]: Using default interface naming scheme 'v243'. [10293.570076] systemd-udevd[5621]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable. [10293.584434] systemd-udevd[5633]: controlC0: Process '/usr/sbin/alsactl restore 0' failed with exit code 99. [10293.585784] systemd-udevd[5621]: wlp1s0: Process 'net.sh wlp1s0 start' failed with exit code 1. [10293.653568] systemd-udevd[5620]: Using default interface naming scheme 'v243'. [10293.653918] systemd-udevd[5620]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable. [10293.654013] systemd-udevd[5620]: eth0: Failed to rename network interface 2 from 'eth0' to 'enp0s31f6': Device or resource busy [10293.654021] systemd-udevd[5620]: eth0: Failed to process device, ignoring: Device or resource busy [10297.920349] e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx [10301.782567] systemd-udevd[7795]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable. [10301.785804] systemd-udevd[7801]: ethtool: autonegotiation is unset or enabled, the speed and duplex are not writable. The message [10293.654013] systemd-udevd[5620]: eth0: Failed to rename network interface 2 from 'eth0' to 'enp0s31f6': Device or resource busy was maybe cause y the fact I was temporarily running the network service through udevd. And, nm-applet now picked my wired interface and connected via it. *** Bug 692376 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ce5fdee13306b85cf67f5ea4bc950f284e3538 commit d1ce5fdee13306b85cf67f5ea4bc950f284e3538 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2019-10-19 19:06:56 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2019-10-21 19:39:32 +0000 net-misc/networkmanager: Fix udev rule Closes: https://bugs.gentoo.org/697774 Signed-off-by: Matt Turner <mattst88@gentoo.org> ...ager-data-fix-the-ID_NET_DRIVER-udev-rule.patch | 33 ++++++++++++++++++++++ ...18.4.ebuild => networkmanager-1.18.4-r1.ebuild} | 4 +++ 2 files changed, 37 insertions(+) |