Description of problem: The current ReaR 2.4 code has nothing to deal with NetworkManager managed interfaces (check /usr/share/rear/prep/GNU/Linux/210_include_dhclient.sh). This leads to not being able to configure the recovery with DHCP, because internally it expects one of "dhclient" or "dhcpcd" (and related IPv6 versions). With ReaR 2.6 the code has been redesigned to exit in error if USE_DHCLIENT=y is specified and no DHCP binary is found. I think we need to at least fail and not let the code create the following /etc/rear/rescue.conf snippet in the ISO, when "dhclient" is not installed ("dhcp-client" package): --- # The following 3 lines were added through 210_include_dhclient.sh USE_DHCLIENT=yes DHCLIENT_BIN= DHCLIENT6_BIN= --- Version-Release number of selected component (if applicable): rear-2.4-18.el8.x86_64 How reproducible: Always Steps to Reproduce: 1. Create an ISO in full debug mode 2. Check /etc/rear/rescue.conf generated in the ISO
Hello Renaud, (In reply to Renaud Métrich from comment #0) > With ReaR 2.6 the code has been redesigned to exit in error if > USE_DHCLIENT=y is specified and no DHCP binary is found. To be sure, do I understand correctly that in ReaR 2.6 the problem is fixed? If so, it will be fixed by the upcoming rebase (bz1988493). You can try the package provided in Beta.
Yes code works with rear-2.6
fixed by rebase to ReaR 2.6 in RHEL 8.5, bz1988493