Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-13 Thread Michael Biebl
Am 13.08.19 um 18:07 schrieb quidame: > > > On 13/08/2019 17:44, Michael Biebl wrote: >> >> --export says >> >> -x, --export >>Print output as key/value pairs. Values are enclosed in >> single quotes. This takes effects only when --query=property or >> --device-id-of-file=FILE i

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-13 Thread quidame
On 13/08/2019 17:44, Michael Biebl wrote: > > --export says > > -x, --export >Print output as key/value pairs. Values are enclosed in > single quotes. This takes effects only when --query=property or > --device-id-of-file=FILE is >specified. > > It doesn't claim t

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-13 Thread Michael Biebl
Am 13.08.19 um 17:50 schrieb Michael Biebl: > Am 13.08.19 um 17:44 schrieb Michael Biebl: >> It doesn't claim that this is a shell parseable format which can be run >> through eval, so I don't think you can rely on that. > > That aside, setting net.ifnames only for network interfaces does > probab

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-13 Thread Michael Biebl
Am 13.08.19 um 17:44 schrieb Michael Biebl: > It doesn't claim that this is a shell parseable format which can be run > through eval, so I don't think you can rely on that. That aside, setting net.ifnames only for network interfaces does probably make sense, so something along the lines of the att

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-13 Thread Michael Biebl
Am 12.08.19 um 12:56 schrieb quidame: > Package: udev > Version: 241-7 > Severity: normal > > Dear Maintainer, > > When running a command such as: > > udevadm info --query property --export --name /dev/dm-2 > > I expect to get a list of properties of the device (/dev/dm-2) in a > shell-pars

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-13 Thread quidame
Hi, On 12/08/2019 13:14, Michael Biebl wrote: > Control: tags -1 + moreinfo unreproducible To reproduce it, as said in the report, net.ifnames MUST BE SET in the boot commandline. $ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-4.19.0-5-amd64 root=/dev/mapper/luks-root ro net.ifnames=0 quiet The bug is

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-12 Thread Michael Biebl
Control: tags -1 + moreinfo unreproducible Am 12.08.19 um 12:56 schrieb quidame: > udevadm info --query property --export --name /dev/dm-2 I don't use LVM, but running that e.g. on /dev/sda5, I get $ udevadm info --query property --export --name /dev/sda5 DEVPATH='/devices/pci:00/:00:1f.

Bug#934589: udev: net.ifnames is wrongly imported as a property for any/all devices

2019-08-12 Thread quidame
Package: udev Version: 241-7 Severity: normal Dear Maintainer, When running a command such as: udevadm info --query property --export --name /dev/dm-2 I expect to get a list of properties of the device (/dev/dm-2) in a shell-parsable format - that is the purpose of the --export option. So