sysconfig-hardware udev rule ignores INTERFACE_NAME property

Bug #1550028 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sysconfig (Debian)
Fix Released
Unknown
sysconfig (Ubuntu)
Fix Released
Undecided
Dimitri John Ledkov

Bug Description

== Comment: #0 - Thorsten Diehl - 2016-02-24 13:24:20 ==
Package: sysconfig-hardware
Version: 0.0.12
Severity: normal

One udev rule statement in /lib/udev/rules.d/65-sysconfig-hardware-net.rules is obviously wrong, as described in debian bug https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815819

Suggested patch:
--- /lib/udev/rules.d/65-sysconfig-hardware-net.rules.orig 2016-02-24 19:20:30.389650773 +0100
+++ /lib/udev/rules.d/65-sysconfig-hardware-net.rules 2016-02-24 19:20:49.489650773 +0100
@@ -1,2 +1,2 @@
-SUBSYSTEM=="net", IMPORT{program}="/etc/sysconfig/scripts/hardware/udev-net $DEVPATH"
+SUBSYSTEM=="net", IMPORT{program}="/etc/sysconfig/scripts/hardware/udev-net $env{DEVPATH}"
 SUBSYSTEM=="net", ENV{INTERFACE_NAME}=="?*", NAME="$env{INTERFACE_NAME}"

bugproxy (bugproxy)
tags: added: architecture-s39064 bugnameltc-137774 severity-medium targetmilestone-inin1604
Changed in ubuntu:
assignee: nobody → Skipper Bug Screeners (skipper-screen-team)
Kevin W. Rudd (kevinr)
affects: ubuntu → sysconfig (Ubuntu)
dann frazier (dannf)
Changed in sysconfig (Ubuntu):
assignee: Skipper Bug Screeners (skipper-screen-team) → Dimitri John Ledkov (xnox)
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2016-02-26 02:50 EDT-------
For reference, here is the Debian bug report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815819

Changed in sysconfig (Debian):
status: Unknown → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-03-07 03:14 EDT-------
@Canonical, when will this easy patch be integrated?

Changed in sysconfig (Ubuntu):
status: New → In Progress
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

sysconfig (0.0.13ubuntu1) xenial; urgency=low

  * Merge from Debian unstable. Remaining changes:
    - Drop preinst -> this is a new package on ubuntu, so no migrations are
      necessory.
    - Drop postinst, as no upgrade logic is needed and use trigger for
      update-initramfs.
    - Simplify debian/rules to simply use dh
    - Bump compat to 9
    - Use .install & .dirs files to do all installations, if this package
      ever gains per-arch differences, .install.s390x can be then used etc.
    - Bump standards version.
    - Use source format version 3 (native).

sysconfig (0.0.13) unstable; urgency=medium

  [ Raphael Philipe Mendes da Silva ]
  * Fix INTERFACE_NAME to actually rename the network interface with
    current udev. (Closes: #815819)

 -- Dimitri John Ledkov <email address hidden> Mon, 07 Mar 2016 12:19:25 +0000

Changed in sysconfig (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-03-08 08:27 EDT-------
Successfully verified with installer build 431. Closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.