datto / dattobd

kernel module for taking block-level snapshots and incremental backups of Linux block devices
GNU General Public License v2.0
576 stars 122 forks source link

Fedora 26 does not persist through reboot #112

Closed crawfxrd closed 7 years ago

crawfxrd commented 7 years ago

4.12.13-300.fc26.x86_64

Unsure if this is related to #93, but /boot/<machine-id> was removed before installing. dattobd, etc/datto/dla, and usr/sbin/datto_reload are in initramfs.

The module is loaded during boot, but the reload scripts are not run.

crawfxrd commented 7 years ago

$root is not set, causing dattobd.sh to exit after loading the module

nixomose commented 7 years ago

that's pretty bad, one of the few guarantees in life was that $root was being set. It must have changed to something else, it can't not be made available...

crawfxrd commented 7 years ago

I see usage of [ -z "$root" ] && root=$(getarg root=) in some other dracut scripts. This appears to work, ~but I'm not able to find any information on it or $root~. getarg is from 99base/dracut-lib.sh, which is already sourced when our script runs.