[Pkg-cryptsetup-devel] Bug#466240: cryptsetup: /scripts/local-top/cryptroot: 22: basename: not found

Adeodato Simó dato at net.com.org.es
Sun Feb 17 12:02:49 UTC 2008

Package: cryptsetup
Version: 2:1.0.6~pre1+svn45-1
Severity: important
Tags: patch

When I boot, I can see the following error repeated three times:

  /scripts/local-top/cryptroot: 22: basename: not found
  [: 22: cryptroot: unexpected operator

I'm not very familiar with initram stuff, but it'd seem as if
/usr/bin/basename is not available.

To solve the problem, I think you can change this line:

  script=$(basename $req)

into this:

which is POSIX.


Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
Nobody can be exactly like me.  Sometimes even I have trouble doing it.
                -- Tallulah Bankhead

More information about the Pkg-cryptsetup-devel mailing list