The problematic code is here: https://github.com/openSUSE/installation-images/blob/master/data/initrd/scripts/prepare_rescue#L3-L9 I'm still thinking about a good solution without an 'if systemd'.