Comment 91 for bug 62751

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 62751] Re: Upstart doesn't activate luks volumes (also non luks) in cryptsetup

faithful <email address hidden> writes:

> In Gutsty doesn't work for me the error I get is this:
> exec: 34: env: not found.
> I use luks with keyfiles so commented out this lines in /lib//cryptsetup/cryptdisks.functions:
> ## Always output to console
> #stdin=`readlink /proc/self/fd/0`
> #if [ "${stdin#/dev/null}" != "$stdin" ] && [ "$ON_VT" != "yes" ]; then
> # exec env ON_VT=yes /usr/bin/openvt -f -c `fgconsole` -w $0 "$@"
> #fi
> This fixes my configuration but isn't a solution.
>
> Cryptsetup version: 2:1.0.5-1ubuntu3.

Scott, you added that part above to the cryptsetup initramfs scripts. I
pretty sure that env used to be in the initramfs, but now isn't
anymore. Do you know if there is a variant of the above which doesn't
use {/usr,}/bin/env?

  affects ubuntu/cryptsetup
  assignee keybuk

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4