The fsfreeze-hook in the package is installed on the path /etc/qemu/fsfreeze-hook/fsfreeze-hook but the default path is /etc/qemu/fsfreeze-hook.
This means that to make it work, I had to:
- add "-F/etc/qemu/fsfreeze-hook/fsfreeze-hook" to the DAEMON_ARGS in /etc/default/qemu-guest-agent
- create a symlink /etc/qemu/fsfreeze-hook/fsfreeze-hook.d -> /etc/qemu/fsfreeze-hook.d to allow the fsfreeze-hook to find the scripts (it looks for them in FSFREEZE_D=$(dirname -- "$0")/fsfreeze-hook.d)
To fix this I propose to either move the fsfreeze-hook to /etc/qemu/fsfreeze-hook as qemu-guest-agent expects it or add "-F/etc/qemu/fsfreeze-hook/fsfreeze-hook" to the init script and change the fsfreeze-hook accordingly.
The fsfreeze-hook in the package is installed on the path /etc/qemu/ fsfreeze- hook/fsfreeze- hook but the default path is /etc/qemu/ fsfreeze- hook.
This means that to make it work, I had to: qemu/fsfreeze- hook/fsfreeze- hook" to the DAEMON_ARGS in /etc/default/ qemu-guest- agent fsfreeze- hook/fsfreeze- hook.d -> /etc/qemu/ fsfreeze- hook.d to allow the fsfreeze-hook to find the scripts (it looks for them in FSFREEZE_ D=$(dirname -- "$0")/fsfreeze- hook.d)
- add "-F/etc/
- create a symlink /etc/qemu/
To fix this I propose to either move the fsfreeze-hook to /etc/qemu/ fsfreeze- hook as qemu-guest-agent expects it or add "-F/etc/ qemu/fsfreeze- hook/fsfreeze- hook" to the init script and change the fsfreeze-hook accordingly.