Bug#369575: [Pkg-cryptsetup-devel] Bug#369575:
Jonas Meurer
jonas at freesources.org
Fri Jun 2 21:59:11 UTC 2006
On 02/06/2006 Tobias Gruetzmacher wrote:
> On Fri, Jun 02, 2006 at 02:42:52PM +0200, Jonas Meurer wrote:
> > ok, i prepared a fix, and uploaded i386 packages (1.0.3-2) to
> > http://people.debian.org/~mejo/cryptsetup/
> >
> > tobias, could you check if these fix your bug?
>
> No, it does not. I think the problem is that the previously used getpass
> wrote directly to /dev/tty, therefore circumventing input/output
> redirection of the parent process. I think pmount redirects stdout
> somewhere and the password prompt of cryptsetup gets lost. I suspect
> this is really a pmount bug and not a problem with cryptsetup...
i'm not sure about that. the cryptsetup prompt is a critical output, it
should always appear, even if stdout and stderr are redirected.
i think that this is the reason why getpass was used before.
david: are you capable of writing a patch that reverts this, and writes
the prompt directly to /dev/tty again?
maybe STDERR just needs to be changed to /dev/proc/self/fd/0?
and stderr is still a better solution than stdout, don't you think so?
...
jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20060602/53099f10/attachment.pgp
More information about the Pkg-cryptsetup-devel
mailing list