The pools are imported by either zfs-import-scan.service or zfs-import-
cache.service. (Which service runs depends on whether
/etc/zfs/zpool.cache exists.) They both call `zpool import -a` plus some
other arguments. In other words, `zpool import -a` is being run
unconditionally, whether pools exist or not.

It would be possible to throw a wrapper script around `zpool import` and
run that from those services instead. It could then start zed.service if
and only if a pool exists. I'm not sure if this is the best solution,
but at first glance, it seems like it would work.

You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.

  please have lxd recommend zfs

Status in lxd package in Ubuntu:
Status in zfs-linux package in Ubuntu:

Bug description:
  Since ZFS is now in Main (Bug #1532198), LXD should recommend the ZFS
  userspace package, such that 'sudo lxd init' just works.

To manage notifications about this bug go to:

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to