[Pkg-cryptsetup-devel] Bug#369575:

David Härdeman david at 2gen.com
Wed May 31 07:48:20 UTC 2006


Tobias Gruetzmacher wrote:
> When using the current cryptsetup from unstable with pmount, the
> passwort prompt does not show

I think this is due to the patch in #364153.

It created the function interactive_pass() in lib/setup.c which prints the
prompt to stdout:

  write(STDOUT_FILENO, prompt, strlen(prompt));

But getpass (which was used previously) printed the prompt to stderr. So
if the above line is changed to:

  write(STDERR_FILENO, prompt, strlen(prompt));

Things should hopefully work again.

Jonas, will you prepare a fix or should I?

Regards,
David






More information about the Pkg-cryptsetup-devel mailing list