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

2016-05-16 Thread Michael Biebl
Am 16.05.2016 um 22:04 schrieb Steinar H. Gunderson: > On Mon, May 16, 2016 at 09:52:10PM +0200, Michael Biebl wrote: >> This is the culprit, i.e. 73-special-net-names.rules. Blacklisting that >> rules file should give you the kernel names back. > > Thanks! Indeed it does. I don't know who

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

2016-05-16 Thread Steinar H. Gunderson
On Mon, May 16, 2016 at 09:52:10PM +0200, Michael Biebl wrote: > This is the culprit, i.e. 73-special-net-names.rules. Blacklisting that > rules file should give you the kernel names back. Thanks! Indeed it does. I don't know who maintains the freedesktop.org page, but I suppose it should be

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

2016-05-16 Thread Steinar H. Gunderson
On Mon, May 16, 2016 at 09:59:20PM +0200, Michael Biebl wrote: > journalctl | less > wraps the lines here Sure, but journalctl alone doesn't, and journalctl | less disables syntax highlighting. > You can override > $SYSTEMD_PAGER and $SYSTEMD_LESS if you want custom behaviour. Thanks. /*

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

2016-05-16 Thread Michael Biebl
Am 16.05.2016 um 21:30 schrieb Steinar H. Gunderson: > (How do you get journalctl to invoke less such that it wraps? Cut-and-paste > from this is a pain :-) ) journalctl | less wraps the lines here Aside from that, see man systemd.directives → grep for pager → $SYSTEMD_PAGER points at

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

2016-05-16 Thread Michael Biebl
Am 16.05.2016 um 21:30 schrieb Steinar H. Gunderson: > 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

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

2016-05-16 Thread Steinar H. Gunderson
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'

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

2016-05-16 Thread Michael Biebl
Am 16.05.2016 um 21:14 schrieb Steinar H. Gunderson: > 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

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

2016-05-16 Thread Steinar H. Gunderson
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

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

2016-05-16 Thread Michael Biebl
Am 16.05.2016 um 19:56 schrieb Steinar H. Gunderson: > On Mon, May 16, 2016 at 07:49:25PM +0200, Michael Biebl wrote: > 1. ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules Have you rebuilt the initramfs after that change? Does the initramfs contain the rules file? >>> No

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

2016-05-16 Thread Marco d'Itri
On May 16, "Steinar H. Gunderson" wrote: > >> Error: argument "enx001e06303327.20" is wrong: "name" too long > > That sounds like a bug on its own > Yes. Although perhaps it's a kernel limitation? It is (IFNAMSIZ). -- ciao, Marco signature.asc Description: PGP

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

2016-05-16 Thread Steinar H. Gunderson
On Mon, May 16, 2016 at 07:49:25PM +0200, Michael Biebl wrote: 1. ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules >>> Have you rebuilt the initramfs after that change? Does the initramfs >>> contain the rules file? >> No on both counts. > If you rebuild the initramfs (see

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

2016-05-16 Thread Michael Biebl
Am 16.05.2016 um 19:35 schrieb Steinar H. Gunderson: > On Mon, May 16, 2016 at 07:21:08PM +0200, Michael Biebl wrote: >>> 1. ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules >> Have you rebuilt the initramfs after that change? Does the initramfs >> contain the rules file? > > No on

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

2016-05-16 Thread Steinar H. Gunderson
On Mon, May 16, 2016 at 07:21:08PM +0200, Michael Biebl wrote: >> Error: argument "enx001e06303327.20" is wrong: "name" too long > That sounds like a bug on its own Yes. Although perhaps it's a kernel limitation? >> 1. ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules > Have you

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

2016-05-16 Thread Michael Biebl
Hi Am 16.05.2016 um 19:03 schrieb Steinar H. Gunderson: > In the brave new world, udev has picked a beautiful predictable interface > name for the NIC on my ARM board (hooked up over USB), namely > "enx001e06303327". > However, ifupdown is not so thrilled when I try to combine this with VLANs: