Bug 1255952

Summary: Invalid key/value pair in file 85-nm-unmanaged.rules
Product: [Fedora] Fedora Reporter: Michael Chapman <redhat-bugzilla>
Component: NetworkManagerAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: dcbw, lkundrak, psimerda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-06 11:03:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Chapman 2015-08-22 09:32:15 UTC
The /usr/lib/udev/rules.d/85-nm-unmanaged.rules file shipped in NetworkManager 1.0.6-0.2.20150813git7e2caa2.fc22 contains an invalid key/value pair.

From my logs:

  systemd-udevd[707]: invalid key/value pair in file /usr/lib/udev/rules.d/85-nm-unmanaged.rules on line 9, starting at character 31 ('/')

The referenced line is:

  PROGRAM="/bin/sh -c 'test -e "/sys/class/net/$env{INTERFACE}" && /usr/sbin/ethtool -i "$env{INTERFACE}" | /bin/sed -n s/^driver:\ //p'", RESULT=="?*", ENV{ID_NET_DRIVER}="%c"

The nested double-quotes in PROGRAM are causing the problem.

Comment 1 Michael Chapman 2015-11-06 11:03:58 UTC
This appears to be fixed as of NetworkManager-1.0.6-7.fc22.x86_64 (and probably earlier).