Fixed in zfs-0.8.2 in focal.

** Also affects: zfs-linux (Ubuntu Focal)
   Importance: Medium
     Assignee: Colin Ian King (colin-king)
       Status: Triaged

** Changed in: zfs-linux (Ubuntu Focal)
       Status: Triaged => Fix Released

** Also affects: zfs-linux (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Changed in: zfs-linux (Ubuntu Eoan)
       Status: New => In Progress

** Changed in: zfs-linux (Ubuntu Eoan)
   Importance: Undecided => Medium

** Changed in: zfs-linux (Ubuntu Eoan)
     Assignee: (unassigned) => Colin Ian King (colin-king)

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

Title:
  Double-escape in initramfs DECRYPT_CMD

Status in zfs-linux package in Ubuntu:
  Fix Released
Status in zfs-linux source package in Eoan:
  In Progress
Status in zfs-linux source package in Focal:
  Fix Released

Bug description:
  initramfs/scripts/zfs.in incorrectly quotes ${ENCRYPTIONROOT} on line
  414:

  DECRYPT_CMD="${ZFS} load-key '${ENCRYPTIONROOT}'"

  This is OK when the line is executed by shell, such as in line 430 or
  436, but when plymouth is used it results in plymouth executing "zfs
  load-key 'rpool'" - and zfs  is unable to find pool called "'rpool'".

  If I understand
  https://docs.oracle.com/cd/E23824_01/html/821-1448/gbcpt.html
  correctly zfs pool name is always 'shell-friendly', so removing the
  quotation marks would be a proper fix for that.

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