#3566 Issue closed: SLE16 BTRFS recovery fails: usr/share/snapper/config-templates/default missing¶
Labels: enhancement, fixed / solved / done
abbbi opened issue at 2026-02-17 08:24:¶
ReaR version¶
Relax-and-Recover 2.9 / 2025-01-31
Describe the ReaR bug in detail¶
hi,
attempting to test on SLE16, recovery will fail if BTRFS is in place. The issue is that the installation-helper default config file has been moved from /etc/snapper/config-templates to /usr/share/config-templates but the examples existing are not including it.
As result, installation-helper executed during recovery core dumps due to missing config file:
what(): file 'default' not found in '/etc/snapper/config-templates' nor '/usr/share/snapper/config-templates'
/var/lib/rear/layout/diskrestore.sh: line 290: 3734 Aborted (core dumped) /usr/lib/snapper/installation-helper --step
Workaround¶
Workaround is to simply add /usr/share/snapper/config-templates to
COPY_AS_IS
Maybe it makes sense to add a new example file to the examples folder
specifically for SLE16?
OS version¶
PRETTY_NAME="SUSE Linux Enterprise Server 16.0"
svlv commented at 2026-02-17 11:10:¶
Also experienced this issue during the test on openSUSE Tumbleweed.
My question is why not to do
COPY_AS_IS+=( /usr/lib/snapper/installation-helper /usr/share/snapper/config-templates )
out of the box if a system has btrfsdefaultsubvol in its layout?
jsmeix commented at 2026-02-27 10:21:¶
FYI:
It is no bug in ReaR when ReaR fails on new systems
where things are different, cf.
https://github.com/rear/rear/issues/3567
therein in particular
https://github.com/rear/rear/issues/3567#issuecomment-3927666514
which references
https://en.opensuse.org/SDB:Disaster_Recovery
(excerpt)
For any kind of innovation that belongs to the basic system
(e.g. kernel, storage, bootloader, init)
the new kind (e.g. ...) will be there first
and afterwards ReaR can adapt step by step to support it.
jsmeix commented at 2026-02-27 10:26:¶
@abbbi
thank you for testing ReaR on SUSE SLES 16!
It is much appreciated.
[Export of Github issue for rear/rear.]