Bug#824491: udev: impossible to disable predictable network interface names
Steinar H. Gunderson
sgunderson at bigfoot.com
Mon May 16 20:30:08 BST 2016
On Mon, May 16, 2016 at 09:22:45PM +0200, Michael Biebl wrote:
> I'm using
> lsinitramfs /boot/initrd.img-$(uname -r) | grep rules
Ah, there's an lsinitramfs! Well, there the file is, indeed.
>> May 16 19:10:21 soldroid systemd-udevd[1022]: IMPORT '/sbin/ifrename -u -i eth0' /lib/udev/rules.d/19-ifrename.rules:13
> Can you purge the ifrename package and test again. This is just to
> ensure why don't have any weird interactions
Sure. Do note that I only installed ifrename half an hour or so ago;
most of my tests have been without it.
May 16 19:25:44 soldroid sudo[1110]: pam_unix(sudo:session): session closed for user root
May 16 19:25:50 soldroid kernel: usbcore: deregistering interface driver r8152
May 16 19:25:50 soldroid dhclient[1053]: receive_packet failed on enx001e06303327: Network is down
May 16 19:25:50 soldroid systemd-udevd[511]: seq 8679 queued, 'remove' 'queues'
May 16 19:25:50 soldroid systemd-udevd[511]: timestamp of '/lib/udev/rules.d' changed
May 16 19:25:50 soldroid systemd-udevd[511]: Unload module index
May 16 19:25:50 soldroid systemd-udevd[511]: Unloaded link configuration context.
May 16 19:25:50 soldroid systemd-udevd[511]: === trie on-disk ===
May 16 19:25:50 soldroid systemd-udevd[511]: tool version: 229
May 16 19:25:50 soldroid systemd-udevd[511]: file size: 6841701 bytes
May 16 19:25:50 soldroid systemd-udevd[511]: header size 80 bytes
May 16 19:25:50 soldroid systemd-udevd[511]: strings 1755245 bytes
May 16 19:25:50 soldroid systemd-udevd[511]: nodes 5086376 bytes
May 16 19:25:50 soldroid systemd-udevd[511]: Load module index
May 16 19:25:50 soldroid systemd-udevd[511]: Network interface NamePolicy= disabled on kernel command line, ignoring.
May 16 19:25:50 soldroid systemd-udevd[511]: timestamp of '/etc/systemd/network' changed
May 16 19:25:50 soldroid systemd-udevd[511]: timestamp of '/usr/lib/systemd/network' changed
May 16 19:25:50 soldroid systemd-udevd[511]: timestamp of '/lib/systemd/network' changed
May 16 19:25:50 soldroid systemd-udevd[511]: Parsed configuration file /lib/systemd/network/99-default.link
May 16 19:25:50 soldroid systemd-udevd[511]: Created link configuration context.
May 16 19:25:50 soldroid systemd-udevd[511]: timestamp of '/etc/udev/rules.d' changed
May 16 19:25:50 soldroid systemd-udevd[511]: timestamp of '/lib/udev/rules.d' changed
May 16 19:25:50 soldroid systemd-udevd[511]: Skipping overridden file: /lib/udev/rules.d/80-net-setup-link.rules.
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/50-firmware.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/50-udev-default.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/55-dm.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/56-lvm.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-block.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-cdrom_id.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-drm.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-evdev.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-gnupg.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-persistent-alsa.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-persistent-input.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-persistent-storage.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-persistent-v4l.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/60-serial.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/64-btrfs.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/69-lvm-metad.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/70-mouse.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/70-power-switch.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/70-uaccess.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/71-seat.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/73-seat-late.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/73-special-net-names.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/75-net-description.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/75-probe_mtd.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/78-sound-card.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/80-debian-compat.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/80-drivers.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/80-ifupdown.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Skipping empty file: /etc/udev/rules.d/80-net-setup-link.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/85-hwclock.rules
May 16 19:25:50 soldroid systemd-udevd[511]: Reading rules file: /lib/udev/rules.d/99-systemd.rules
May 16 19:25:50 soldroid systemd-udevd[511]: rules contain 24576 bytes tokens (2048 * 12 bytes), 11046 bytes strings
May 16 19:25:50 soldroid systemd-udevd[511]: 1769 strings (21277 bytes), 1189 de-duplicated (10812 bytes), 581 trie nodes used
May 16 19:25:50 soldroid systemd-udevd[511]: seq 8679 forked new worker [1515]
May 16 19:25:50 soldroid systemd-udevd[511]: seq 8680 queued, 'remove' 'queues'
May 16 19:25:50 soldroid systemd-udevd[1515]: seq 8679 running
May 16 19:25:50 soldroid systemd-udevd[1515]: passed device to netlink monitor 0x7ffa37e8
May 16 19:25:50 soldroid systemd-udevd[1515]: seq 8679 processed
May 16 19:25:50 soldroid systemd-udevd[511]: seq 8680 forked new worker [1516]
May 16 19:25:50 soldroid systemd-udevd[511]: seq 8681 queued, 'remove' 'net'
May 16 19:25:50 soldroid systemd-udevd[1516]: seq 8680 running
May 16 19:25:50 soldroid systemd-udevd[1516]: passed device to netlink monitor 0x7ff9fea8
May 16 19:25:50 soldroid systemd-udevd[1516]: seq 8680 processed
May 16 19:25:50 soldroid systemd-udevd[511]: passed 253 byte device to netlink monitor 0x7ff95018
May 16 19:25:50 soldroid systemd-udevd[1516]: seq 8681 running
May 16 19:25:50 soldroid systemd-udevd[1516]: RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
May 16 19:25:50 soldroid systemd-udevd[1517]: starting 'ifupdown-hotplug'
May 16 19:25:50 soldroid systemd-udevd[1516]: Process 'ifupdown-hotplug' succeeded.
May 16 19:25:51 soldroid systemd-udevd[1516]: passed device to netlink monitor 0x7ff9fea8
May 16 19:25:51 soldroid systemd-udevd[1516]: seq 8681 processed
May 16 19:25:51 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:25:51 soldroid systemd-udevd[1516]: Unload module index
May 16 19:25:51 soldroid systemd-udevd[1515]: Unload module index
May 16 19:25:51 soldroid systemd-udevd[1515]: Unloaded link configuration context.
May 16 19:25:51 soldroid systemd-udevd[1516]: Unloaded link configuration context.
May 16 19:25:51 soldroid systemd-udevd[511]: worker [1515] exited
May 16 19:25:51 soldroid systemd-udevd[511]: worker [1516] exited
May 16 19:25:51 soldroid systemd-udevd[511]: seq 8682 queued, 'remove' 'drivers'
May 16 19:25:51 soldroid systemd-udevd[511]: seq 8682 forked new worker [1518]
May 16 19:25:51 soldroid systemd-udevd[511]: seq 8683 queued, 'remove' 'module'
May 16 19:25:51 soldroid systemd-udevd[1518]: seq 8682 running
May 16 19:25:51 soldroid systemd-udevd[1518]: passed device to netlink monitor 0x7ffa37e8
May 16 19:25:51 soldroid systemd-udevd[1518]: seq 8682 processed
May 16 19:25:51 soldroid systemd-udevd[511]: seq 8683 forked new worker [1519]
May 16 19:25:51 soldroid systemd-udevd[1519]: seq 8683 running
May 16 19:25:51 soldroid systemd-udevd[1519]: passed device to netlink monitor 0x7ffa4b78
May 16 19:25:51 soldroid systemd-udevd[1519]: seq 8683 processed
May 16 19:25:51 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:25:51 soldroid systemd-udevd[1519]: Unload module index
May 16 19:25:51 soldroid systemd-udevd[1519]: Unloaded link configuration context.
May 16 19:25:51 soldroid systemd-udevd[1518]: Unload module index
May 16 19:25:51 soldroid systemd-udevd[511]: worker [1519] exited
May 16 19:25:51 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:25:51 soldroid systemd-udevd[1518]: Unloaded link configuration context.
May 16 19:25:51 soldroid systemd-udevd[511]: worker [1518] exited
May 16 19:25:58 soldroid ladvd[619]: no valid interface found
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8684 queued, 'add' 'module'
May 16 19:25:59 soldroid systemd-udevd[511]: Validate module index
May 16 19:25:59 soldroid systemd-udevd[511]: Check if link configuration needs reloading.
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8684 forked new worker [1522]
May 16 19:25:59 soldroid systemd-udevd[1522]: seq 8684 running
May 16 19:25:59 soldroid systemd-udevd[1522]: passed device to netlink monitor 0x7ffa37e8
May 16 19:25:59 soldroid systemd-udevd[1522]: seq 8684 processed
May 16 19:25:59 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:25:59 soldroid systemd-udevd[1522]: Unload module index
May 16 19:25:59 soldroid systemd-udevd[1522]: Unloaded link configuration context.
May 16 19:25:59 soldroid systemd-udevd[511]: worker [1522] exited
May 16 19:25:59 soldroid kernel: usb 5-1: reset high-speed USB device number 2 using xhci-hcd
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8685 queued, 'add' 'net'
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8685 forked new worker [1523]
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8686 queued, 'add' 'queues'
May 16 19:25:59 soldroid systemd-udevd[1523]: seq 8685 running
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8687 queued, 'add' 'queues'
May 16 19:25:59 soldroid systemd-udevd[1523]: IMPORT builtin 'net_id' /lib/udev/rules.d/73-special-net-names.rules:14
May 16 19:25:59 soldroid systemd-udevd[1523]: NAME 'enx001e06303327' /lib/udev/rules.d/73-special-net-names.rules:14
May 16 19:25:59 soldroid systemd-udevd[1523]: IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
May 16 19:25:59 soldroid systemd-udevd[1523]: IMPORT builtin 'usb_id' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:25:59 soldroid systemd-udevd[1523]: /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:25:59 soldroid kernel: r8152 5-1:1.0 eth0: v1.08.3
May 16 19:25:59 soldroid kernel: leds_pwm pwmleds: unable to request PWM for blue:heartbeat: -517
May 16 19:25:59 soldroid kernel: usbcore: registered new interface driver r8152
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8688 queued, 'add' 'drivers'
May 16 19:25:59 soldroid kernel: r8152 5-1:1.0 enx001e06303327: renamed from eth0
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8688 forked new worker [1524]
May 16 19:25:59 soldroid systemd-udevd[1523]: IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:25:59 soldroid systemd-udevd[1523]: RUN 'ifupdown-hotplug' /lib/udev/rules.d/80-ifupdown.rules:5
May 16 19:25:59 soldroid systemd-udevd[1523]: 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
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8689 queued, 'move' 'net'
May 16 19:25:59 soldroid systemd-udevd[1524]: seq 8688 running
May 16 19:25:59 soldroid systemd-udevd[1524]: passed device to netlink monitor 0x7ffa0b40
May 16 19:25:59 soldroid systemd-udevd[1524]: seq 8688 processed
May 16 19:25:59 soldroid systemd-udevd[1523]: renamed network interface eth0 to enx001e06303327
May 16 19:25:59 soldroid systemd-udevd[1523]: 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:25:59 soldroid systemd-udevd[1523]: created db file '/run/udev/data/n4' for '/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0/net/enx001e06303327'
May 16 19:25:59 soldroid systemd-udevd[1525]: starting 'ifupdown-hotplug'
May 16 19:25:59 soldroid systemd-udevd[1523]: Process 'ifupdown-hotplug' succeeded.
May 16 19:25:59 soldroid systemd-udevd[1528]: starting '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/enx001e06303327 --prefix=/net/ipv4/neigh/enx001e06303327 --prefix=/net/ipv6/conf/enx001e06303327 --prefix=/net/ipv6/neigh/enx001e06303327'
May 16 19:25:59 soldroid systemd-udevd[1523]: Process '/lib/systemd/systemd-sysctl --prefix=/net/ipv4/conf/enx001e06303327 --prefix=/net/ipv4/neigh/enx001e06303327 --prefix=/net/ipv6/conf/enx001e06303327 --prefix=/net/ipv6/neigh/enx001e06303327' succeeded.
May 16 19:25:59 soldroid systemd-udevd[1523]: passed device to netlink monitor 0x7ffa37e8
May 16 19:25:59 soldroid systemd-udevd[1523]: seq 8685 processed
May 16 19:25:59 soldroid systemd-udevd[511]: passed 218 byte device to netlink monitor 0x7ff95018
May 16 19:25:59 soldroid systemd-udevd[511]: passed 218 byte device to netlink monitor 0x7ff95018
May 16 19:25:59 soldroid systemd-udevd[1523]: seq 8687 running
May 16 19:25:59 soldroid systemd-udevd[511]: seq 8689 forked new worker [1529]
May 16 19:25:59 soldroid systemd-udevd[1524]: seq 8686 running
May 16 19:25:59 soldroid systemd-udevd[1523]: passed device to netlink monitor 0x7ffa37e8
May 16 19:25:59 soldroid systemd-udevd[1523]: seq 8687 processed
May 16 19:25:59 soldroid systemd-udevd[1529]: seq 8689 running
May 16 19:25:59 soldroid systemd-udevd[1524]: passed device to netlink monitor 0x7ffa0b40
May 16 19:25:59 soldroid systemd-udevd[1524]: seq 8686 processed
May 16 19:25:59 soldroid systemd-udevd[1529]: IMPORT builtin 'net_id' /lib/udev/rules.d/75-net-description.rules:6
May 16 19:25:59 soldroid systemd-udevd[1529]: IMPORT builtin 'usb_id' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:25:59 soldroid systemd-udevd[1529]: /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:25:59 soldroid systemd-udevd[1529]: IMPORT builtin 'hwdb' /lib/udev/rules.d/75-net-description.rules:8
May 16 19:25:59 soldroid systemd-udevd[1529]: created db file '/run/udev/data/n4' for '/devices/platform/usb at 12400000/12400000.dwc3/xhci-hcd.4533.auto/usb5/5-1/5-1:1.0/net/enx001e06303327'
May 16 19:25:59 soldroid systemd-udevd[1529]: passed device to netlink monitor 0x7ffa05c8
May 16 19:25:59 soldroid systemd-udevd[1529]: seq 8689 processed
May 16 19:25:59 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:25:59 soldroid systemd-udevd[1524]: Unload module index
May 16 19:25:59 soldroid systemd-udevd[1524]: Unloaded link configuration context.
May 16 19:25:59 soldroid systemd-udevd[1529]: Unload module index
May 16 19:25:59 soldroid systemd-udevd[1523]: Unload module index
May 16 19:25:59 soldroid systemd-udevd[1529]: Unloaded link configuration context.
May 16 19:25:59 soldroid systemd-udevd[1523]: Unloaded link configuration context.
May 16 19:25:59 soldroid systemd-udevd[511]: worker [1524] exited
May 16 19:25:59 soldroid systemd-udevd[511]: worker [1529] exited
May 16 19:25:59 soldroid systemd-udevd[511]: cleanup idle workers
May 16 19:25:59 soldroid systemd-udevd[511]: worker [1523] exited
(How do you get journalctl to invoke less such that it wraps? Cut-and-paste
from this is a pain :-) )
/* Steinar */
--
Homepage: https://www.sesse.net/
More information about the Pkg-systemd-maintainers
mailing list