In focal, udev's 40-vm-hotadd.rules (from debian/extra/rules-ubuntu) tries to write to invalid (as of 5.4.0-1010-azure) sysfs nodes resulting in warnings such as:
Perhaps 40-vm-hotadd.rules needs to be updated for 5.4 semantics, removed, or something else. This behavior is present on systems upgraded from 18.04 (via d-r-u) as well as new focal systems, upon first reboot of the VM.
In focal, udev's 40-vm-hotadd.rules (from debian/ extra/rules- ubuntu) tries to write to invalid (as of 5.4.0-1010-azure) sysfs nodes resulting in warnings such as:
Apr 29 22:36:46 focal01 systemd-udevd[266]: memory7: /usr/lib/ udev/rules. d/40-vm- hotadd. rules:9 Failed to write ATTR{/sys/ devices/ system/ memory/ memory7/ state}, ignoring: Invalid argument
Perhaps 40-vm-hotadd.rules needs to be updated for 5.4 semantics, removed, or something else. This behavior is present on systems upgraded from 18.04 (via d-r-u) as well as new focal systems, upon first reboot of the VM.
udev: 245.4-4ubuntu3