Hi Martin! Am Fr., 8. Sept. 2023 um 15:24 Uhr schrieb Martin <mar...@lichtvoll.de>: > [...] > would you consider to include a cron job into the package in order to > make btrfsd installable on systems without Systemd? Of course a change > regarding package dedepencies would also be required.
Sure, that should actually be extremely low-maintenance, there isn't any hard dependency the daemon has on systemd - with one exception: It uses libsystemd to write to the journal if that's available, and I would like to keep that feature. It will however already fall back to syslog in case sd-journal isn't available, and libsystemd is inert on systems without systemd. > I have seen btrfsd in mailing list "debian-devel-changes" but could not > find it on my Devuan system. > > If yes, I would aim to provide a merge request. This could go upstream, I think. I do not know if there is a no-overhead way to ship both the cron job and systemd timer in the same package with recompilation. But if that's not possible, I think at the very least we could provide a configuration option upstream to select one or the other, so derivatives that don't use systemd could switch to the cron version by simply recompiling the package (by checking dpkg vendor strings). What do you think? Unfortunately I know little how to make both systems interoperate and avoid having the timer and cron job calling the service, so patches would be very welcome. Cheers, Matthias -- I welcome VSRE emails. See http://vsre.info/