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.

-- 
Rasmus Toftdahl Olesen <[EMAIL PROTECTED]>
halfdans.net



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to