libera/#devuan-dev/ Sunday, 2023-09-03

jaromilhello! and happy weekend everyone. is there someone here using ZFS who whould like to have a look at the package together with me? there is one problem related to systemd: it requires either that or sysvlinux as init, but does not works with other devuan supported init systems, in particular openrc I have tried. I would like to fork the package and fix that.09:47
xrogaanjaromil: I am not running ZFS. Though, have you taken a look at zfsutils and the init.d scripts? In order to port them to openrc.12:37
xrogaangentoo uses openrc, init scripts are in zfs by default: <https://github.com/openzfs/zfs/tree/95f71c019d7c3e3b728a9b05e2117ce6b09f1b87/etc/init.d>12:39
masonjaromil: I use ZFS, but with sysvinit. That said, I've used it freeform with Slackware before.18:01
masonI thought OpenRC could accomodate sysvinit scripts, but my exposure is fairly minimal.18:01
mason(As in, I believe OpenRC uses sysvinit as part of its underpinnings.)18:02
masonjaromil: Anyway, it'd be interesting to know how it's failed for you.18:08
masonjaromil: A common case is that your initramfs doesn't include the correct notion of modules. You can check this with (for example) "lsinitramfs /boot/initrd.img-5.10.0-25-amd64 | grep zfs" and seeing if (for example) things like usr/lib/modules/5.10.0-25-amd64/extra/zfs/zfs/zfs.ko exist.18:10
masonIf they don't, which can happen when the ZFS modules are build and installed later, something like "depmod 5.10.0-25-amd64" followed up "update-initramfs -c -k all" might help.18:10
masonIf it really is an issue with the scripting, I'm curious if it tries and fails to import and mount, or if it doesn't try at all.18:11

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!