I'd have preferred that Ubuntu's zfsutils be patched to attempt to load
the kernel module as needed since that change means that now any
documentation telling the user to use "zpool create" or similar zfs
commands will fail unless the user manually plays with modprobe...

That very much feels like a regression to me. I understand the reason
for not always loading the module, but having the tools attempt to load
it would have achieved the same thing without breaking every single tool
which uses the zfs tools in the process.

** Changed in: lxd (Ubuntu)
       Status: New => Triaged

** Also affects: zfsutils (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: zfsutils (Ubuntu)
       Status: New => Triaged

** Changed in: zfsutils (Ubuntu)
   Importance: Undecided => High

** Package changed: zfsutils (Ubuntu) => zfs-linux (Ubuntu)

** Changed in: zfs-linux (Ubuntu)
     Assignee: (unassigned) => Aron Xu (happyaron)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1672749

Title:
  Please don't assume zfs module is always loaded

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

Bug description:
  Since zfsutils-linux/0.6.5.9-4, zfs module is not automatically loaded
  on systems that no zpool exists, this avoids tainting everyone's
  kernel who has the package installed but is not using zfs.

  ADT test of lxd (at least at 2.11-0ubuntu4[1]) shows the storage tests
  are failing because "Could not determine ZFS module version." which is
  printed by zfsModuleVersionGet() in lxd/storage_zfs.go. This indicates
  there are pieces of code assuming zfs kernel module is always loaded
  which turns out to be not true anymore.

  [1]
  
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
  /autopkgtest-zesty/zesty/amd64/l/lxd/20170314_120059_2ce5b@/log.gz

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1672749/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to