Description
Issue originally authored by tnozicka as #1379
Currently, systemd unit tests
https://github.com/scylladb/scylla-operator/blob/17f7e8b/pkg/systemd/daemon_test.go#L24
require external systemd instance running which is problematic. This doesn't really fit into an unit test suite. Given it requires external daemon, it's actually more an e2e test and that's why it doesn't work in the new unit test setup where there is no systemd instance present.
We can either split it into a more appropriate suite but given the limited coverage this gets us, we may consider a mock or a different way to test this depending on the amount of work each solution would require. This is inherently also covered in our main e2e suite but this was a nice way to find out sooner with less debugging.