[Pkg-zfsonlinux-devel] Bug#901436: Some values in /etc/default/zfs ignored

Elliott Mitchell ehem+debian at m5p.com
Mon Jul 16 03:11:12 BST 2018


I'm running into this as well.  Does appear that *some* of the values in
/etc/default/zfs are honored under *some* conditions.

Of note it looks like ZFS_MOUNT, ZFS_POOL_EXCEPTIONS, and
ZPOOL_IMPORT_ALL_VISIBLE WILL be honored if you're avoiding SystemD
(using startpar or other which still uses the initscripts, +1 for Devuan
here).

ZFS_POOL_IMPORT though appears to be ignored under ALL circumstances.
Instead the data in /etc/zfs/zpool.cache is being used.  I'm unsure of
the proper way to modify /etc/zfs/zpool.cache, but was able to get things
to work by removing /etc/zfs/zpool.cache and then doing a
`zpool import <fs>`.  This is a bit more interesting if / is normally
read-only.


-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |         ehem+sigmsg at m5p.com  PGP 87145445         |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445



More information about the Pkg-zfsonlinux-devel mailing list