Systemd/src/udev
Zbigniew Jędrzejewski-Szmek 96848152fa udev: introduce NAMING_STABLE_VIRTUAL_MACS (retroactively)
This is for 6d36464065. It turns out that this is causing more problems than
expected. Let's retroactively introduce naming scheme v241 to conditionalize
this change.

Follow-up for #12792 and 6d36464065. See also
https://bugzilla.suse.com/show_bug.cgi?id=1136600.

$ SYSTEMD_LOG_LEVEL=debug NET_NAMING_SCHEME=v240 build/udevadm test-builtin net_setup_link /sys/class/net/br11
$ SYSTEMD_LOG_LEVEL=debug NET_NAMING_SCHEME=v241 build/udevadm test-builtin net_setup_link /sys/class/net/br11
...
@@ -20,11 +20,13 @@
 link_config: could not set ethtool features for br11
 Could not set offload features of br11: Operation not permitted
 br11: Device has name_assign_type=3
-Using interface naming scheme 'v240'.
+Using interface naming scheme 'v241'.
 br11: Policy *keep*: keeping existing userspace name
 br11: Device has addr_assign_type=1
-br11: No stable identifying information found
-br11: Could not generate persistent MAC: No data available
+br11: Using "br11" as stable identifying information
+br11: Using generated persistent MAC address
+Could not set Alias=, MACAddress= or MTU= on br11: Operation not permitted
+br11: Could not apply link config, ignoring: Operation not permitted
 Unload module index
 Unloaded link configuration context.
 ID_NET_DRIVER=bridge
2019-06-17 13:43:18 +02:00
..
ata_id tree-wide: replace explicit NULL checks with their shorter variants 2019-04-28 14:28:49 +02:00
cdrom_id udev/cdrom_id: drop unneeded parentheses 2019-05-01 11:46:42 +02:00
mtd_probe coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
net udev: introduce NAMING_STABLE_VIRTUAL_MACS (retroactively) 2019-06-17 13:43:18 +02:00
scsi_id udev/scsi_id: fix incorrect page length when get device identification VPD page 2019-05-22 13:25:20 +09:00
v4l_id tree-wide: replace explicit NULL checks with their shorter variants 2019-04-28 14:28:49 +02:00
.vimrc
generate-keyboard-keys-gperf.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
generate-keyboard-keys-list.sh scripts: use 4 space indentation 2019-04-12 08:30:31 +02:00
meson.build udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-blkid.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-btrfs.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-hwdb.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-input_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-keyboard.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-kmod.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-net_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-net_setup_link.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-path_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-uaccess.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin-usb_id.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-builtin.h udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udev-ctrl.c tree-wide: port users over to use new ERRNO_IS_ACCEPT_AGAIN() call 2019-04-10 22:11:18 +02:00
udev-ctrl.h udev-ctrl: split out logic of waiting for reply to udev_ctrl_wait() 2019-02-20 06:17:42 +09:00
udev-event.c udev: propagate errors in udev_event_execute_rules() 2019-06-05 10:44:17 +02:00
udev-event.h udev: check formatting of attribute or value earlier 2019-06-03 08:35:33 +09:00
udev-node.c Merge pull request #12437 from poettering/chmod-and-chown-rewrite 2019-05-28 15:12:20 +02:00
udev-node.h udev: run programs in the specified order 2019-03-05 09:27:29 +01:00
udev-rules.c udev: check formatting of attribute or value earlier 2019-06-03 08:35:33 +09:00
udev-rules.h udev: check formatting of attribute or value earlier 2019-06-03 08:35:33 +09:00
udev-watch.c coccinelle: also mark previous synthetic errnos as such 2018-11-22 10:54:38 +01:00
udev-watch.h udev-watch: replace udev_device by sd_device and modernize code a bit 2018-10-11 04:21:14 +09:00
udev.conf udev: also allow resolve_names= to be specified in udev.conf 2018-11-13 14:35:36 +01:00
udev.pc.in meson: define PROJECT_VERSION as the "bare" project version 2018-12-20 21:35:29 +01:00
udevadm-control.c udevadm: drop pointless must_be_root() checks 2019-05-08 11:51:51 +02:00
udevadm-hwdb.c coccinelle: make use of SYNTHETIC_ERRNO 2018-11-22 10:54:38 +01:00
udevadm-info.c udevadm: add --wait-for-initialization option to "udevadm info" 2019-06-04 01:28:30 +09:00
udevadm-monitor.c headers: remove unneeded includes from util.h 2019-03-27 11:53:12 +01:00
udevadm-settle.c systemd-udev-settle.service: emit deprecation notice 2019-04-10 15:58:14 +02:00
udevadm-test-builtin.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udevadm-test.c udev: modernize udev-rules.c 2019-06-02 14:15:26 +09:00
udevadm-trigger.c udevadm trigger: log errors and return first failure 2019-06-05 09:54:54 +02:00
udevadm-util.c udevadm: allow a .device unit to be specified for query and trigger 2018-12-11 09:24:31 +01:00
udevadm-util.h udevadm-info,trigger: replace udev_device by sd_device 2018-10-17 03:31:20 +09:00
udevadm.c tree-wide: constify a few static string tables 2019-03-25 14:04:34 +01:00
udevadm.h udevadm: add a workaround for dracut 2019-01-02 10:26:16 +01:00
udevd.c udev: propagate errors in udev_event_execute_rules() 2019-06-05 10:44:17 +02:00