Control: tag -1 moreinfo

Hi François,

On Wed, 13 Apr 2016 at 13:29:41 +0200, François Scala wrote:
> While working on a Debian installation based on ZFS root with LUKS
> encryption (see https://github.com/arcenik/debian-zfs-root) I've encountered
> some problem with the initramfs cryptroot script.

Unfortunately I'm not able to debug this easily because there is
currently no d-i package (udeb) for ZFS :-/

> I think that ${cmdline_root} should be used for NEWROOT only if it begin
> with '/dev' or at least '/' and use '/dev/mapper/${cryptlvm}' if not.

I'm confused: the ‘cmdline_root’ variable is left empty when the value
of the ‘root=’ kernel parameter doesn't start with a slash ‘/’.

    root=*)
        opt="${opt#root=}"
        case $opt in
        /*) # Absolute path given. Not lilo major/minor number.
            cmdline_root=$opt
            ;;
        *) # lilo major/minor number (See #398957). Ignore
        esac

and the ‘NEWROOT’ variable is set to "/dev/mapper/$cryptlvm" when
‘cmdline_root’ is unset or set to the empty string.

Could you try to to enable debugging for the cryptroot initramfs script,
as documented in

  https://wiki.debian.org/CryptsetupDebug#Debug_cryptroot_initramfs_script

and forward us the log file?  The problem might lie somewhere else.

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to