I wonder if there's any other decent way to implement these features. Is systemd the inevitable solution to complex issues like this, or is there a more unixy way to achieve all this?
Edit: isn't JSON technically not free-as-in-freedom?
Edit: isn't JSON technically not free-as-in-freedom?
One implementation was nonfree due to that whole don't be evil clause. Systemd uses json-c, which is permissively licensed from what I remember.
Eg this project (note, it appears to be early stages - but have a look at the zfs commands in the readme for a ses se of what zfs already supports):
https://github.com/BenKerry/zfscrypt/blob/master/README.md
Apparently systemd doesn't consider zfs a friend, though. So I doubt we'll see integration from upstream systemd.