mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This complements v2.27.0 commit73c46a3056("zdev/dracut: fix kdump by only activating required devices"). On older distributions, the absence of zdev_id can cause the following harmless error messages for each udev event: (spawn)[387]: failed to execute '/lib/s390-tools/zdev_id' \ '/lib/s390-tools/zdev_id': No such file or directory Kdump is still functional nonetheless. As of v2.24.0 commit2e89722ef0("zdev: make site specific udev-rule for ccw"), the invocations of chzdev within zdev/dracut/95zdev-kdump/module-setup.sh generate /etc/udev/rules.d/40-zdev-id.rules. And so even though zdev-kdump intentionally does not install zdev_id and its previous singular user zdev/udev/81-dpm.rules into the kdump initrd, because DPM device auto configuration is not desired in the kdump environment, zdev_id meanwhile has an additional functionality for site-support and the generated 40-zdev-id.rules calls /lib/s390-tools/zdev_id. By installing zdev_id into the kdump initrd, 40-zdev-id.rules can work without error. Fixes:73c46a3056("zdev/dracut: fix kdump by only activating required devices") Reviewed-by: Alexander Egorenkov <egorenar@linux.ibm.com> Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>