Comment 5 for bug 78165

Revision history for this message
In , Jose Carlos Garcia Sogo (jsogo) wrote : Re: Bug#322208: New light on the matter

El mié, 21-09-2005 a las 23:08 +0200, Rasmus Toftdahl Olesen escribió:
> I have now used 2 hours trying to pinpoint this problem, and have
> finally narrowed it down to seahorse-agent wanting DISPLAY to be set in
> order for it to be used. If you insert a "env" call in /usr/bin/debsign
> - you will see that the DISPLAY variable has been removed (probably by
> debuild in some way).
>
> If you start seahorse-agent as a "non-deamonized" process using the -d
> option when starting it you will receive a log message when debsign is
> trying sign files like this:
>
> ** (seahorse-agent:14298): WARNING **: received passphrase request from
> wrong terminal
>
> And apparently wrong terminal means (DISPLAY variable different from the
> one i was started with).
>
> If i try doing a export DISPLAY=":0.0" in debsign before the gpg command
> is run, the thing works fine!
>
> So maybe this bug should be reassigned to devscripts and have them
> preserve DISPLAY when calling debsign.

 Yay! Thanks for finding this. I will try to see if problem is
devscripts or seahorse, and the submit it to the proper place.

 Thanks for your work!

--
Jose Carlos Garcia Sogo
   <email address hidden>