[Closed] OpenZFS Generator Questions and Thoughts #1843
rmackinnon
started this conversation in
Ideas
Replies: 1 comment
-
I think that I've answered my own question: Systemd mount unit templates is either severely broken, or never actually implemented. Just going to try reverting back to v053 and see if I can get a mountable root again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been having some issues with getting my ZFS-on-/ to behave reliable (reads: at all) after moving to Dracut v055, and had a long hard look at how things are getting done for ZFS mounts. After several days of plumbing the depths of systemd and Dracut, creating unit interaction/requirement graphs, repeated trial/error/rebooting/beating my head on a wall, and finally finding the bit of code that I believe to have caused me lost sleep of the last couple of day. It turns out the guide I had used once upon a time didn't understand what the bootfs prop did, which meant the ZFS generator didn't know what to do. With my new found knowledge, and now considerable understanding of the ZFS dracut module, I have a few questions as to the why things were done one way in
modules.d/90zfs/zfs-generator.sh
.For me, generating static unit files on each boot seems not very systemd-ish. Is there a reason unit templates were not used? Seems that it could provide a more elegant and flexible solution over statically writing temp services.
Beta Was this translation helpful? Give feedback.
All reactions