[rear-devel] [rear/rear] e5a84f: Include dmsetup and dmeventd unconditionally
Johannes Meixner
noreply at github.com
Wed Feb 2 14:46:58 CET 2022
Branch: refs/heads/master
Home: https://github.com/rear/rear
Commit: e5a84fdeaed8169f0cec0fd8dbbea66aa275d50c
https://github.com/rear/rear/commit/e5a84fdeaed8169f0cec0fd8dbbea66aa275d50c
Author: Lukáš Zaoral <lzaoral at redhat.com>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M usr/share/rear/conf/GNU/Linux.conf
Log Message:
-----------
Include dmsetup and dmeventd unconditionally
Changes usr/share/rear/conf/GNU/Linux.conf
Older releases of os-prober (1.74 and below) use dmsetup as a fallback
solution for mounting when grub-mount is missing.
However, dmsetup was included in the rescue image if and only if LVM,
multipath or encryption were detected. Thus, BIOS machines that do
not use these but still have dmsetup present, would block indefinitely
on the "Installing GRUB2 boot loader..." step.
GRUB2 installation is performed in a chroot after the data have already
been recovered. ReaR would call grub-mkconfig which calls os-prober
which then executes dmsetup. However, it would never receive the expected
response in the form of releasing a System V semaphore by dmsetup executed
by udevd outside the chroot as rescue system would not have dmsetup present.
related https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853927
Commit: 39c79b34ba884e4f674d17abb5c3e5423820dbe1
https://github.com/rear/rear/commit/39c79b34ba884e4f674d17abb5c3e5423820dbe1
Author: Johannes Meixner <jsmeix at suse.com>
Date: 2022-02-02 (Wed, 02 Feb 2022)
Changed paths:
M usr/share/rear/conf/GNU/Linux.conf
Log Message:
-----------
Merge pull request #2748 from lzaoral/always-include-dmsetup-ifpresent
Include dmsetup and dmeventd as PROGS in conf/GNU/Linux.conf
because older releases of os-prober (1.74 and below) use dmsetup
as a fallback solution for mounting when grub-mount is missing
but without dmsetup and dmeventd also in the recovery system
that would block indefinitely at "Installing GRUB2 boot loader...",
for details see https://github.com/rear/rear/pull/2748
Compare: https://github.com/rear/rear/compare/edbe2ee9de54...39c79b34ba88
More information about the rear-devel
mailing list