[Pkg-zfsonlinux-devel] Bug#1003528: Closing bug 1003528

陈 晟祺 harry-chen at outlook.com
Fri Jan 5 18:53:29 GMT 2024


Control: tags -1 + wontfix

Hi Louis,

> Should Debian edit /lib/systemd/system/zfs-import.target to include this?

Adding dependency would solve your problem, but it forcibly serialize two parallel-able tasks.

> I worked around the problem by making sure the zfs-import.target (used by zfs-import-{cache,scan}.service) is active before mounts are attempted.

According to systemd.mount [1], you can just write something like:

tank /mnt zfs defaults,x-systemd.requires=zfs-load-modules.service 0 0

I’m closing this report since it is not a bug indeed.

[1]: https://www.freedesktop.org/software/systemd/man/latest/systemd.mount.html

Thanks,
Shengqi Chen


More information about the Pkg-zfsonlinux-devel mailing list