-
Bug
-
Resolution: Done-Errata
-
Normal
-
rhel-9.3.0
-
rear-2.6-25.el9
-
None
-
Moderate
-
Upstream
-
rhel-sst-cs-system-management
-
ssg_core_services
-
20
-
25
-
3
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
-
x86_64
-
None
What were you trying to do that didn't work?
Rear mkbackup displays below error in creating backup on RHEL 9.3 :
~~~
$ rear mkbackup
Cannot include default keyboard mapping (no 'defkeymap.*' found in /lib/kbd/keymaps)
To log into the recovery system via ssh set up /root/.ssh/authorized_keys or specify SSH_ROOT_PASSWORD
There are binaries or libraries in the ReaR recovery system that need additional libraries
/usr/lib64/systemd/libsystemd-core-252.so requires additional libraries
libsystemd-shared-252.so => not found
ReaR recovery system in '/var/tmp/rear.ry4DCgGppGcipRL/rootfs' needs additional libraries, check /var/log/rear/rear-rhel9.log for details
~~~
Please provide the package NVR for which bug is seen:
Rear : rear-2.6-19.el9.x86_64
Systemd : systemd-252-18.el9.x86_64
How reproducible:
Always
Steps to reproduce
On RHEL 9.3 system , creating rear backup with systemd package of version '252-18.el9.x86_64'.
~~~
$ rear mkbackup
~~~
Expected results
Rear backup should succeed without Error display.
Actual results
- Rear Backup displays above error in CLI (Though it creates a backup)
- Library itself is pointing to "not found" in RHEL 9.3 systemd (providing the library).
~~~
$ ldd /usr/lib64/systemd/libsystemd-core-252.so
linux-vdso.so.1 (0x00007ffe307e1000)
libsystemd-shared-252.so => not found
...
~~~
Workaround
- Use LD_PRELOAD to temporarily load library '/usr/lib64/systemd/libsystemd-shared-252.so'.
~~~
/// To Verify :
$ LD_PRELOAD=/usr/lib64/systemd/libsystemd-shared-252.so ldd /usr/lib64/systemd/libsystemd-core-252.so
linux-vdso.so.1 (0x00007ffef4373000)
/usr/lib64/systemd/libsystemd-shared-252.so (0x00007f7918400000)
...
/// To take rear backup without issue being displayed.
$ LD_PRELOAD=/usr/lib64/systemd/libsystemd-shared-252.so rear mkbackup
~~~
- is duplicated by
-
RHEL-7002 broken link and library
- Closed
- links to
-
RHBA-2024:136992 rear update