linux 4.8.0-11.12

** Changed in: linux (Ubuntu Yakkety)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1602737

Title:
  PCI RoCE Interface could not be renamed from default name with link
  file

Status in Ubuntu on IBM z Systems:
  Triaged
Status in linux package in Ubuntu:
  Fix Released
Status in systemd package in Ubuntu:
  New
Status in linux source package in Xenial:
  New
Status in systemd source package in Xenial:
  New
Status in linux source package in Yakkety:
  Fix Released
Status in systemd source package in Yakkety:
  New

Bug description:
  == Comment: #0 - Helmut Grauer <helmut.gra...@de.ibm.com> - 2016-07-13 
09:05:27 ==
  Try to rename PCI Roce Interface with .link file

  root@s35lp02:/etc/systemd/network# cat 10-net.link
  [Match]
  Path=pci-0000:00:00.0*
  MACAddress=82:01:14:07:85:70

  [Link]
  Name=hug0
  root@s35lp02:/etc/systemd/network#

  do  a reboot and journalctl show old interface name for RoCE PCI
  Interface

  Jul 13 14:39:40 s35lp02 kernel: mlx4_en 0001:00:00.0: Activating port:1
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: Using 32 TX 
rings
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: Using 4 RX 
rings
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1:   frag:0 - 
size:1522 prefix:0 stride:1536
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 1: Initializing 
port
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en 0001:00:00.0: Activating port:2
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: Using 32 TX 
rings
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: Using 4 RX 
rings
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2:   frag:0 - 
size:1522 prefix:0 stride:1536
  Jul 13 14:39:40 s35lp02 kernel: mlx4_en: 0001:00:00.0: Port 2: Initializing 
port
  Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0000:00:00.0 enp0s0: renamed from 
eth0
  Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0000:00:00.0 enp0s0d1: renamed from 
eth1
  Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0001:00:00.0 enP1p0s0d1: renamed 
from eth3
  Jul 13 14:39:40 s35lp02 kernel: mlx4_core 0001:00:00.0 enP1p0s0: renamed from 
eth2
  Jul 13 14:39:40 s35lp02 kernel: EXT4-fs (dasda1): mounting ext3 file system 
using the ext4 subsystem
  Jul 13 14:39:40 s35lp02 kernel: EXT4-fs (dasda1): mounted filesystem with 
ordered data mode. Opts: (null)

  udevadm test show the following output

  oot@s35lp02:/etc/systemd/network# udevadm test /class/net/enp0s0
  calling: test
  version 229
  This program is for debugging only, it does not run any program
  specified by a RUN key. It may show incorrect results, because
  some values may be different, or not available at a simulation run.

  === trie on-disk ===
  tool version:          229
  file size:         6841701 bytes
  header size             80 bytes
  strings            1755245 bytes
  nodes              5086376 bytes
  Load module index
  timestamp of '/etc/systemd/network' changed
  Skipping overridden file: /usr/lib/systemd/network/99-default.link.
  Skipping overridden file: /usr/lib/systemd/network/10-net.link.
  Skipping overridden file: /lib/systemd/network/99-default.link.
  Skipping overridden file: /lib/systemd/network/10-net.link.
  Parsed configuration file /etc/systemd/network/99-default.link
  Parsed configuration file /lib/systemd/network/90-mac-for-usb.link
  Parsed configuration file /etc/systemd/network/11-net.link
  Parsed configuration file /etc/systemd/network/10-net.link
  Created link configuration context.
  timestamp of '/etc/udev/rules.d' changed
  Reading rules file: /lib/udev/rules.d/40-vm-hotadd.rules
  Reading rules file: /lib/udev/rules.d/40-z90crypt.rules
  Reading rules file: /etc/udev/rules.d/41-cio-ignore.rules
  Reading rules file: /etc/udev/rules.d/41-dasd-eckd-0.0.af06.rules
  Reading rules file: /etc/udev/rules.d/41-dasd-eckd-0.0.af07.rules
  Reading rules file: /etc/udev/rules.d/41-generic-ccw-0.0.0009.rules
  Reading rules file: /etc/udev/rules.d/41-qeth-0.0.b100.rules
  Reading rules file: /etc/udev/rules.d/41-qeth-0.0.f500.rules
  Reading rules file: /lib/udev/rules.d/50-firmware.rules
  Reading rules file: /lib/udev/rules.d/50-udev-default.rules
  Reading rules file: /lib/udev/rules.d/55-dm.rules
  Reading rules file: /lib/udev/rules.d/55-scsi-sg3_id.rules
  Reading rules file: /lib/udev/rules.d/56-dm-mpath-lvm.rules
  Reading rules file: /lib/udev/rules.d/56-lvm.rules
  Reading rules file: /lib/udev/rules.d/58-scsi-sg3_symlink.rules
  Reading rules file: /lib/udev/rules.d/59-dasd.rules
  Reading rules file: /lib/udev/rules.d/60-block.rules
  Reading rules file: /lib/udev/rules.d/60-cdrom_id.rules
  Reading rules file: /lib/udev/rules.d/60-crda.rules
  Reading rules file: /lib/udev/rules.d/60-drm.rules
  Reading rules file: /lib/udev/rules.d/60-evdev.rules
  Reading rules file: /lib/udev/rules.d/60-gnupg.rules
  Reading rules file: /lib/udev/rules.d/60-persistent-alsa.rules
  Reading rules file: /lib/udev/rules.d/60-persistent-input.rules
  Reading rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
  Reading rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
  Reading rules file: /lib/udev/rules.d/60-persistent-storage.rules
  Reading rules file: /lib/udev/rules.d/60-persistent-v4l.rules
  Reading rules file: /lib/udev/rules.d/60-readahead.rules
  Reading rules file: /lib/udev/rules.d/60-serial.rules
  Reading rules file: /lib/udev/rules.d/60-vlan-network-interface.rules
  Reading rules file: /lib/udev/rules.d/61-persistent-storage-android.rules
  Reading rules file: /lib/udev/rules.d/64-btrfs.rules
  Reading rules file: /lib/udev/rules.d/69-lvm-metad.rules
  Reading rules file: /lib/udev/rules.d/70-mouse.rules
  Reading rules file: /lib/udev/rules.d/70-power-switch.rules
  Reading rules file: /lib/udev/rules.d/70-uaccess.rules
  Reading rules file: /lib/udev/rules.d/71-power-switch-proliant.rules
  Reading rules file: /lib/udev/rules.d/71-seat.rules
  Reading rules file: /lib/udev/rules.d/73-seat-late.rules
  Reading rules file: /lib/udev/rules.d/73-special-net-names.rules
  Reading rules file: /lib/udev/rules.d/75-net-description.rules
  Reading rules file: /lib/udev/rules.d/75-probe_mtd.rules
  Reading rules file: /lib/udev/rules.d/78-graphics-card.rules
  Reading rules file: /lib/udev/rules.d/78-sound-card.rules
  Reading rules file: /lib/udev/rules.d/80-debian-compat.rules
  Reading rules file: /lib/udev/rules.d/80-drivers.rules
  Reading rules file: /lib/udev/rules.d/80-ifupdown.rules
  Reading rules file: /lib/udev/rules.d/80-net-setup-link.rules
  Reading rules file: /lib/udev/rules.d/85-hdparm.rules
  Reading rules file: /lib/udev/rules.d/85-keyboard-configuration.rules
  Reading rules file: /lib/udev/rules.d/85-regulatory.rules
  Reading rules file: /lib/udev/rules.d/95-kpartx.rules
  Reading rules file: /lib/udev/rules.d/99-systemd.rules
  rules contain 49152 bytes tokens (4096 * 12 bytes), 15909 bytes strings
  2392 strings (30411 bytes), 1605 de-duplicated (15290 bytes), 788 trie nodes 
used
  RUN 'vlan-network-interface' 
/lib/udev/rules.d/60-vlan-network-interface.rules:1
  IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
  IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:12
  RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
  IMPORT builtin 'path_id' /lib/udev/rules.d/80-net-setup-link.rules:5
  IMPORT builtin 'net_setup_link' /lib/udev/rules.d/80-net-setup-link.rules:9
  Config file /etc/systemd/network/10-net.link applies to device enp0s0
  RUN '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/$name 
--prefix=/net/ipv4/neigh/$name --prefix=/net/ipv6/conf/$name 
--prefix=/net/ipv6/neigh/$name' /lib/udev/rules.d/99-systemd.rules:51
  created db file '/run/udev/data/n2' for 
'/devices/pci0000:00/0000:00:00.0/net/enp0s0'
  ACTION=add
  DEVPATH=/devices/pci0000:00/0000:00:00.0/net/enp0s0
  ID_BUS=pci
  ID_MODEL_FROM_DATABASE=MT27500/MT27520 Family [ConnectX-3/ConnectX-3 Pro 
Virtual Function]
  ID_MODEL_ID=0x1004
  ID_NET_DRIVER=mlx4_en
  ID_NET_LINK_FILE=/etc/systemd/network/10-net.link
  ID_NET_NAME_MAC=enx820114078570
  ID_NET_NAME_PATH=enp0s0
  ID_PATH=pci-0000:00:00.0
  ID_PATH_TAG=pci-0000_00_00_0
  ID_PCI_CLASS_FROM_DATABASE=Network controller
  ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
  ID_VENDOR_FROM_DATABASE=Mellanox Technologies
  ID_VENDOR_ID=0x15b3
  IFINDEX=2
  INTERFACE=enp0s0
  SUBSYSTEM=net
  SYSTEMD_ALIAS=/sys/subsystem/net/devices/enp0s0
  TAGS=:systemd:
  USEC_INITIALIZED=5917164
  run: 'vlan-network-interface'
  run: 'ifupdown-hotplug'
  run: '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/enp0s0 
--prefix=/net/ipv4/neigh/enp0s0 --prefix=/net/ipv6/conf/enp0s0 
--prefix=/net/ipv6/neigh/enp0s0'
  Unload module index
  Unloaded link configuration context.
  root@s35lp02:/etc/systemd/network#

  for a qeth network interface it works fine 
  I will attach sosreport as well to the Bugzilla

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1602737/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to