chiark / gitweb /
release 168
[elogind.git] / NEWS
diff --git a/NEWS b/NEWS
index 63826003e75af83273d03b0c8250dfd1a14f0546..1d2bc43e25752cebdac215337e281a3d8f33b7ec 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,36 @@
+udev 168
+========
+Bugfixes.
+
+Udev logs a warning now if /run is not writable at udevd
+startup. It will still fall back to /dev/.udev, but this is
+now considered a bug.
+
+The running udev daemon can now cleanly shut down with:
+  udevadm control --exit
+
+Udev in initramfs should clean the state of the udev database
+with: udevadm info --cleanup-db which will remove all state left
+behind from events/rules in initramfs. If initramfs uses
+--cleanup-db and device-mapper/LVM, the rules in initramfs need
+to add OPTIONS+="db_persist" for all dm devices. This will
+prevent removal of the udev database for these devices.
+
+Spawned programs by PROGRAM/IMPORT/RUN now have a hard timeout of
+120 seconds per process. If that timeout is reached the spawned
+process will be killed. The event timeout can be overwritten with
+udev rules.
+
+If systemd is used, udev gets now activated by netlink data.
+Systemd will bind the netlink socket which will buffer all data.
+If needed, such setup allows a seemless update of the udev daemon,
+where no event can be lost during a udevd update/restart.
+Packages need to make sure to: systemctl stop udev.socket udev.service
+or 'mask' udev.service during the upgrade to prevent any unwanted
+auto-spawning of udevd.
+This version of udev conflicts with systemd version below 25. The
+unchanged service files will not wirk correctly.
+
 udev 167
 ========
 Bugfixes.
@@ -12,13 +45,20 @@ If /run does not exist, or is not writable, udev will fall back using
 
 On systemd systems with initramfs and LVM used, packagers must
 make sure, that the systemd and initramfs versions match. The initramfs
-needs to create the /run/ mountpoint for udev to store the data, and
+needs to create the /run mountpoint for udev to store the data, and
 mount this tmpfs to /run in the rootfs, so the that the udev database
 is preserved for the udev version started in the rootfs.
 
 The command 'udevadm info --convert-db' is gone. The udev daemon
 itself, at startup, converts any old database version if necessary.
 
+The systemd services files have been reorganized. The udev control
+socket is bound by systemd and passed to the started udev daemon.
+The udev-settle.service is no longer active by default. Services which
+can not handle hotplug setups properly need to actively pull it in, to
+act like a barrier. Alternatively the settle service can be unconditionally
+'systemctl'enabled, and act like a barrier for basic.target.
+
 The fstab_import callout is no longer built or installed. Udev
 should not be used to mount, does not watch changes to fstab, and
 should not mirror fstab values in the udev database.