61pgp-agent misbehaves with *csh as login shell

Bug #15519 reported by Achim Bohnet
6
Affects Status Importance Assigned to Milestone
gnupg2 (Ubuntu)
Fix Released
Medium
Tollef Fog Heen

Bug Description

reported on #kubuntu, verified on fresh kubuntu by me.

Problem:
After setting tcsh as login shell login, login in via kdm one gets immediately
logout and kdm present again a login screen.

in ~/.xsession: /etc/X11/Xsession.d/61pgp-agent complain about that setenv is unknown.

Fix: add --sh to force bource shell syntax output

$ cat /etc/X11/Xsession.d/61pgp-agent
# $Id:$
# In order to activate the session bus at X session launch
# simply place use-session-pgp-agent into your /etc/X11/Xsession.options file
#
eval $(gpg-agent --sh --daemon)

With this login works with tcsh (and with bash still too ;)

Achim

Revision history for this message
Yann Dirson (yann-dirson) wrote :

I confirm the problem and the diagnostic of the original submitter.
Debian does not have this problem, since it does use --sh. Debian also has a much more sophisticated session script for gnupg-agent. Is there any
particular reason to fork it ?

Revision history for this message
Matt Zimmerman (mdz) wrote :

(In reply to comment #1)
> Debian also has a much more sophisticated session script for gnupg-agent. Is
there any
> particular reason to fork it ?

Debian:

gnupg2 (1.9.15-5) unstable; urgency=low

  * Add /etc/X11/Xsession.d/90gpg-agent script. Closes: #300128.
  * Emphasize that gnupg2 is NOT useful at the moment.
  * Conflict+replace gpg-agent with newpg.

 -- Matthias Urlichs <email address hidden> Thu, 10 Mar 2005 22:46:10 +0100

gnupg2 (1.9.15-4) unstable; urgency=low

  * Incorporated Ubuntu changes from Andreas Mueller.

 -- Matthias Urlichs <email address hidden> Thu, 10 Mar 2005 21:41:59 +0100

Ubuntu:

gnupg2 (1.9.15-3ubuntu4) hoary; urgency=low

  * Added gpg-agent startscript for Xsessions

 -- Andreas Mueller <email address hidden> Wed, 16 Mar 2005 13:14:25 +0000

Revision history for this message
Yann Dirson (yann-dirson) wrote :

Hm, sorry, I should have checked. Since it looks like there was an urgency:high version upload since then, I suppose there are chances for the package to
get sync'd through hoary-updates ?

Revision history for this message
Matt Zimmerman (mdz) wrote :

It's possible, given a simple, tested patch

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

We've synced the Debian version now, so this should be fixed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.