Public bug reported:

While updating my focal server this morning, I got a dpkg prompt about
/etc/default/zfs. Inspecting the diff showed some paths changed from
/etc to /usr/local/etc:

...
Setting up zfsutils-linux (0.8.3-1ubuntu2) ...                                  
                                                                                
                                                                   
Installing new version of config file /etc/cron.d/zfsutils-linux ...            
                                                                                
                                                                   
                                                                                
                                                                                
                                                                   
Configuration file '/etc/default/zfs'                                           
                                                                                
                                                                   
 ==> Modified (by you or by a script) since installation.                       
                                                                                
                                                                   
 ==> Package distributor has shipped an updated version.                        
                                                                                
                                                                   
   What would you like to do about it ?  Your options are:                      
                                                                                
                                                                   
    Y or I  : install the package maintainer's version                          
                                                                                
                                                                   
    N or O  : keep your currently-installed version                             
                                                                                
                                                                   
      D     : show the differences between the versions                         
                                                                                
                                                                   
      Z     : start a shell to examine the situation                            
                                                                                
                                                                   
 The default action is to keep your current version.                            
                                                                                
                                                                   
*** zfs (Y/I/N/O/D/Z) [default=N] ? d                                           
 # Full path to the ZFS cache file?
 # See "cachefile" in zpool(8).
-# The default is "/etc/zfs/zpool.cache".
-#ZPOOL_CACHE="/etc/zfs/zpool.cache"
+# The default is "/usr/local/etc/zfs/zpool.cache".
+#ZPOOL_CACHE="/usr/local/etc/zfs/zpool.cache"
 #
 # Setting ZPOOL_CACHE to an empty string ('') AND setting ZPOOL_IMPORT_OPTS to
-# "-c /etc/zfs/zpool.cache" will _enforce_ the use of a cache file.
+# "-c /usr/local/etc/zfs/zpool.cache" will _enforce_ the use of a cache file.
 # This is needed in some cases (extreme amounts of VDEVs, multipath etc).
 # Generally, the use of a cache file is usually not recommended on Linux
 # because it sometimes is more trouble than it's worth (laptops with external
 # devices or when/if device nodes changes names).
-#ZPOOL_IMPORT_OPTS="-c /etc/zfs/zpool.cache"
+#ZPOOL_IMPORT_OPTS="-c /usr/local/etc/zfs/zpool.cache"
 #ZPOOL_CACHE=""

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/1862165

Title:
  /usr/local leak in /etc/default/zfs

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  While updating my focal server this morning, I got a dpkg prompt about
  /etc/default/zfs. Inspecting the diff showed some paths changed from
  /etc to /usr/local/etc:

  ...
  Setting up zfsutils-linux (0.8.3-1ubuntu2) ...                                
                                                                                
                                                                     
  Installing new version of config file /etc/cron.d/zfsutils-linux ...          
                                                                                
                                                                     
                                                                                
                                                                                
                                                                     
  Configuration file '/etc/default/zfs'                                         
                                                                                
                                                                     
   ==> Modified (by you or by a script) since installation.                     
                                                                                
                                                                     
   ==> Package distributor has shipped an updated version.                      
                                                                                
                                                                     
     What would you like to do about it ?  Your options are:                    
                                                                                
                                                                     
      Y or I  : install the package maintainer's version                        
                                                                                
                                                                     
      N or O  : keep your currently-installed version                           
                                                                                
                                                                     
        D     : show the differences between the versions                       
                                                                                
                                                                     
        Z     : start a shell to examine the situation                          
                                                                                
                                                                     
   The default action is to keep your current version.                          
                                                                                
                                                                     
  *** zfs (Y/I/N/O/D/Z) [default=N] ? d                                         
  
   # Full path to the ZFS cache file?
   # See "cachefile" in zpool(8).
  -# The default is "/etc/zfs/zpool.cache".
  -#ZPOOL_CACHE="/etc/zfs/zpool.cache"
  +# The default is "/usr/local/etc/zfs/zpool.cache".
  +#ZPOOL_CACHE="/usr/local/etc/zfs/zpool.cache"
   #
   # Setting ZPOOL_CACHE to an empty string ('') AND setting ZPOOL_IMPORT_OPTS 
to
  -# "-c /etc/zfs/zpool.cache" will _enforce_ the use of a cache file.
  +# "-c /usr/local/etc/zfs/zpool.cache" will _enforce_ the use of a cache file.
   # This is needed in some cases (extreme amounts of VDEVs, multipath etc).
   # Generally, the use of a cache file is usually not recommended on Linux
   # because it sometimes is more trouble than it's worth (laptops with external
   # devices or when/if device nodes changes names).
  -#ZPOOL_IMPORT_OPTS="-c /etc/zfs/zpool.cache"
  +#ZPOOL_IMPORT_OPTS="-c /usr/local/etc/zfs/zpool.cache"
   #ZPOOL_CACHE=""

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1862165/+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