]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
NEWS: mention that we intend to retrigger udev devices on package upgrade
authorLennart Poettering <lennart@poettering.net>
Tue, 24 Nov 2020 15:07:39 +0000 (16:07 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 24 Nov 2020 19:13:48 +0000 (20:13 +0100)
Also, mention RISCV GPT partition types have been defined.

NEWS

diff --git a/NEWS b/NEWS
index 6a5f3f9a78f711d4adedec733293f4504d77d540..d2ed0e2cda2885f450b30e4f20aac78823463c29 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -86,6 +86,33 @@ CHANGES WITH 247 in spe:
           this is not caused by systemd/udev changes, but result of a kernel
           behaviour change.
 
+        * UPCOMING INCOMPATIBILITY: So far most downstream distribution
+          packages have not retriggered devices once the udev package (or any
+          auxiliary package installing additional udev rules) is updated. We
+          intend to work with major distributions to change this, so that
+          "udevadm trigger -a change" is issued on such upgrades, ensuring that
+          the updated ruleset is applied to the devices already discovered, so
+          that (asynchronously) after the upgrade completed the udev database
+          is consistent with the updated rule set. This means udev rules must
+          be ready to be retriggered with a "change" action any time, and
+          result in correct and complete udev database entries. While the
+          majority of udev rule files known to us currently get this right,
+          some don't. Specifically, there are udev rules files included in
+          various packages that only set udev properties on the "add" action,
+          but do not handle the "change" action. If a device matching those
+          rules is retriggered with the "change" action (as is intended here)
+          it would suddenly lose the relevant properties. This always has been
+          a problematic, but as soon as all udev devices are triggered on
+          relevant package upgrades this will become particularly so. It is
+          strongly recommended to fix offending rules so that they can handle a
+          "change" action at any time, and acquire all necessary udev
+          properties even then. Or in other words: the header guard mentioned
+          above (ACTION=="remove",GOTO="xyz_end") is the correct approach to
+          handle this, as it makes sure rules are rerun on "change" correctly,
+          and acccumulate the correct and complete set of udev properties. udev
+          rule definitions that cannot handle "change" events being triggered
+          at arbitrary times should be considered buggy.
+
         * The MountAPIVFS= service file setting now defaults to on if
           RootImage= and RootDirectory= are used, which means that with those
           two settings /proc/, /sys/ and /dev/ are automatically properly set
@@ -619,6 +646,11 @@ CHANGES WITH 247 in spe:
           placed in app.slice. The plan is to add resource limits and
           protections for the different slices in the future.
 
+        * New GPT partition types for RISCV32/64 for the root and /usr
+          partitions, and their associated Verity partitions have been defined,
+          and are now understood by systemd-gpt-auto-generator, and the OS
+          image dissection logic.
+
         Contributions from: Adolfo Jayme Barrientos, afg, Alec Moskvin, Alyssa
         Ross, Amitanand Chikorde, Andrew Hangsleben, Anita Zhang, Ansgar
         Burchardt, Arian van Putten, Aurelien Jarno, Axel Rasmussen, bauen1,