<div dir="ltr">Thank for your reply.<br><br>The boot problem is that you include file "/lib/cryptsetup/functions" [scripts: hooks/cryptgnupg, hooks/cryptopensc, hooks/cryptroot under /usr/share/initramfs-tools] but when generate initramfs is updated and the system rebooted, the file "lib/cryptsetup/functions" not exists in this context.<br><br>For fix this, I created a simple hook (view below) and I updated initramfs  (update-initramfs -u).<br><br><div>Now, when boot, no error occour.</div><div><br></div><div><br></div><div>File /usr/share/initramfs-tools/hooks/fix-cryptsetup:<br></div><div><br></div><div>#!/bin/sh<br>set -eu<br>PREREQ=<br>prereqs()<br>{<br>  echo "$PREREQ"<br>}<br>case "${1:-}" in<br>  prereqs)<br>    prereqs<br>    exit 0<br>    ;;<br>esac<br>[ -r /usr/share/initramfs-tools/hook-functions ] || exit 0<br>. /usr/share/initramfs-tools/hook-functions<br></div><div><br></div><div>echo "fix missing file cryptsetup..."<br>mkdir -p $DESTDIR/lib/cryptsetup/<br>cp /lib/cryptsetup/functions  $DESTDIR/lib/cryptsetup/<br>exit 0<br></div><div><br></div><br><div class="gmail_extra"><br><div class="gmail_quote">2018-06-19 13:43 GMT+02:00 Guilhem Moulin <span dir="ltr"><<a href="mailto:guilhem@debian.org" target="_blank">guilhem@debian.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Antonio,<br>
<br>
On Tue, 19 Jun 2018 at 08:31:39 +0200, Antonio wrote:<br>
> $ update-initramfs -u<br>
> cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries<br>
> nor crypto modules. If that's on purpose, you may want to uninstall the<br>
> 'crypsetup-initramfs' package in order to disable the cryptsetup initramfs<br>
> integration and avoid this warning.<br>
<br>
This warning is intentional if you have devices that need to be unlocked<br>
at initramfs stage (for instance devices required to unlock the root FS).<br>
<br>
Is that a false positive in your case?  Were there devices that were<br>
unlocked at initramfs stage before, now making your system unbootable?<br>
<br>
Or is this bug about the error when sourcing /lib/cryptsetup/functions<br>
from the cryptroot initramfs boot script?  It's harmless, but also easy<br>
to fix.<br>
<br>
    <a href="https://salsa.debian.org/cryptsetup-team/cryptsetup/commit/71cbd49edd15e3431ea9974587291d8293e39f68" rel="noreferrer" target="_blank">https://salsa.debian.org/<wbr>cryptsetup-team/cryptsetup/<wbr>commit/<wbr>71cbd49edd15e3431ea9974587291d<wbr>8293e39f68</a><br>
<span class="gmail-HOEnZb"><font color="#888888"><br>
-- <br>
Guilhem.<br>
</font></span></blockquote></div><br></div></div>