Bug#824491: udev: impossible to disable predictable network interface names

Steinar H. Gunderson sgunderson at bigfoot.com
Mon May 16 20:14:42 BST 2016


On Mon, May 16, 2016 at 09:07:32PM +0200, Michael Biebl wrote:
> That's odd. Which initramfs-tools version is that?

0.125.

> Do you have any custom hooks in /etc/initramfs-tools?

No.

> If you check /usr/share/initramfs-tools/hooks/udev, you'll see that
> 80-net-setup-link.rules is copied into the initramfs by default (and
> this is the case here)

Interesting. Maybe I'm unpacking it wrong? After having messed up / with
wrong use of cpio over the year (gah, absolute path names...), I'm not so
eager to experiment -- what's the recommended way of peeking inside it?

> Can you try the following
> rmmod r8152
> udevadm control --log-priority=debug
> modprobe r8152
> 
> then attach the journactl output

May 16 19:10:15 soldroid kernel: usbcore: deregistering interface driver r8152
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8673 queued, 'add' 'module'
May 16 19:10:21 soldroid systemd-udevd[511]: Validate module index
May 16 19:10:21 soldroid systemd-udevd[511]: Check if link configuration needs reloading.
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8673 forked new worker [1021]
May 16 19:10:21 soldroid systemd-udevd[1021]: seq 8673 running
May 16 19:10:21 soldroid systemd-udevd[1021]: passed device to netlink monitor 0x7ff949d0
May 16 19:10:21 soldroid systemd-udevd[1021]: seq 8673 processed
May 16 19:10:21 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:10:21 soldroid systemd-udevd[1021]: Unload module index
May 16 19:10:21 soldroid systemd-udevd[1021]: Unloaded link configuration context.
May 16 19:10:21 soldroid systemd-udevd[511]: worker [1021] exited
May 16 19:10:21 soldroid kernel: usb 5-1: reset high-speed USB device number 2 using xhci-hcd
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8674 queued, 'add' 'net'
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8674 forked new worker [1022]
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8675 queued, 'add' 'queues'
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8676 queued, 'add' 'queues'
May 16 19:10:21 soldroid systemd-udevd[1022]: seq 8674 running
May 16 19:10:21 soldroid systemd-udevd[1022]: IMPORT '/sbin/ifrename -u -i eth0' /lib/udev/rules.d/19-ifrename.rules:13
May 16 19:10:21 soldroid systemd-udevd[1023]: starting '/sbin/ifrename -u -i eth0'
May 16 19:10:21 soldroid systemd-udevd[1022]: '/sbin/ifrename -u -i eth0'(err) 'Error: Can't open configuration file `/etc/iftab': No such file or directory'
May 16 19:10:21 soldroid systemd-udevd[1022]: Process '/sbin/ifrename -u -i eth0' failed with exit code 255.
May 16 19:10:22 soldroid kernel: r8152 5-1:1.0 eth0: v1.08.3
May 16 19:10:22 soldroid kernel: usbcore: registered new interface driver r8152
May 16 19:10:22 soldroid kernel: leds_pwm pwmleds: unable to request PWM for blue:heartbeat: -517
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8677 queued, 'add' 'drivers'
May 16 19:10:21 soldroid systemd-udevd[511]: seq 8677 forked new worker [1024]
May 16 19:10:21 soldroid systemd-udevd[1024]: seq 8677 running
May 16 19:10:22 soldroid systemd-udevd[1024]: passed device to netlink monitor 0x7ff90858
May 16 19:10:22 soldroid kernel: r8152 5-1:1.0 enx001e06303327: renamed from eth0
May 16 19:10:22 soldroid systemd-udevd[1024]: seq 8677 processed
May 16 19:10:22 soldroid systemd-udevd[1022]: IMPORT builtin 'net_id' /lib/udev/rules.d/73-special-net-names.rules:14
May 16 19:10:22 soldroid systemd-udevd[1022]: NAME 'enx001e06303327' /lib/udev/rules.d/73-special-net-names.rules:14
May 16 19:10:22 soldroid systemd-udevd[1022]: IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
May 16 19:10:22 soldroid systemd-udevd[1022]: IMPORT builtin 'usb_id' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:10:22 soldroid systemd-udevd[1022]: /sys/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0: if_class 255 protocol 0
May 16 19:10:22 soldroid systemd-udevd[1022]: IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:10:22 soldroid systemd-udevd[1022]: RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
May 16 19:10:22 soldroid systemd-udevd[1022]: RUN '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/$name --prefix=/net/ipv4/neigh/$name --prefix=/net/ipv6/conf/$name --prefix=/net
May 16 19:10:22 soldroid systemd-udevd[511]: seq 8678 queued, 'move' 'net'
May 16 19:10:22 soldroid systemd-udevd[1022]: renamed network interface eth0 to enx001e06303327
May 16 19:10:22 soldroid systemd-udevd[1022]: changed devpath to '/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0/net/enx001e06303327'
May 16 19:10:22 soldroid systemd-udevd[1022]: created db file '/run/udev/data/n3' for '/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0/net/enx001e0630
May 16 19:10:22 soldroid systemd-udevd[1025]: starting 'ifupdown-hotplug'
May 16 19:10:22 soldroid systemd-udevd[1022]: Process 'ifupdown-hotplug' succeeded.
May 16 19:10:22 soldroid systemd-udevd[1028]: starting '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/enx001e06303327 --prefix=/net/ipv4/neigh/enx001e06303327 --prefix=/net/ipv6
May 16 19:10:22 soldroid systemd-udevd[1022]: Process '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/enx001e06303327 --prefix=/net/ipv4/neigh/enx001e06303327 --prefix=/net/ipv6/
May 16 19:10:22 soldroid systemd-udevd[1022]: passed device to netlink monitor 0x7ff949d0
May 16 19:10:22 soldroid systemd-udevd[1022]: seq 8674 processed
May 16 19:10:22 soldroid systemd-udevd[511]: passed 218 byte device to netlink monitor 0x7ff95018
May 16 19:10:22 soldroid systemd-udevd[511]: passed 218 byte device to netlink monitor 0x7ff95018
May 16 19:10:22 soldroid systemd-udevd[1024]: seq 8675 running
May 16 19:10:22 soldroid systemd-udevd[511]: seq 8678 forked new worker [1029]
May 16 19:10:22 soldroid systemd-udevd[1022]: seq 8676 running
May 16 19:10:22 soldroid systemd-udevd[1024]: passed device to netlink monitor 0x7ff90858
May 16 19:10:22 soldroid systemd-udevd[1024]: seq 8675 processed
May 16 19:10:22 soldroid systemd-udevd[1022]: passed device to netlink monitor 0x7ff949d0
May 16 19:10:22 soldroid systemd-udevd[1022]: seq 8676 processed
May 16 19:10:22 soldroid systemd-udevd[1029]: seq 8678 running
May 16 19:10:22 soldroid systemd-udevd[1029]: IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
May 16 19:10:22 soldroid systemd-udevd[1029]: IMPORT builtin 'usb_id' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:10:22 soldroid systemd-udevd[1029]: /sys/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0: if_class 255 protocol 0
May 16 19:10:22 soldroid systemd-udevd[1029]: IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:10:22 soldroid systemd-udevd[1029]: created db file '/run/udev/data/n3' for '/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0/net/enx001e0630
May 16 19:10:22 soldroid systemd-udevd[1029]: passed device to netlink monitor 0x7ff9bd50
May 16 19:10:22 soldroid systemd-udevd[1029]: seq 8678 processed
May 16 19:10:22 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:10:22 soldroid systemd-udevd[1024]: Unload module index
May 16 19:10:22 soldroid systemd-udevd[1029]: Unload module index
May 16 19:10:22 soldroid systemd-udevd[1029]: Unloaded link configuration context.
May 16 19:10:22 soldroid systemd-udevd[1024]: Unloaded link configuration context.
May 16 19:10:22 soldroid systemd-udevd[1022]: Unload module index
May 16 19:10:22 soldroid systemd-udevd[1022]: Unloaded link configuration context.
May 16 19:10:22 soldroid systemd-udevd[511]: worker [1022] exited
May 16 19:10:22 soldroid systemd-udevd[511]: worker [1024] exited
May 16 19:10:22 soldroid systemd-udevd[511]: worker [1029] exited

/* Steinar */
-- 
Homepage: https://www.sesse.net/





More information about the Pkg-systemd-maintainers mailing list