Your message dated Mon, 25 Mar 2013 17:34:06 +0000
with message-id <[email protected]>
and subject line Bug#703906: fixed in openssh 1:6.1p1-4
has caused the Debian Bug report #703906,
regarding Add upstart user session job
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
703906: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703906
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:openssh
Hello,
Starting with Upstart 1.7, users can choose to use it in "user session"
mode. When doing so, the regular Xsession script that usually spawns
ssh-agent doesn't work and so an equivalent upstart job needs to be
installed.
Attached is a debdiff adding such a job to the openssh-client package.
This job is a no-op on non-upstart systems or on upstart systems that
don't use user sessions. For those using user sessions, this job will do
the same work as 90x11-common_ssh-agent including checking
Xsession.options if present.
I'm currently using that job on a standard Ubuntu 13.04 system and I
have done a testbuild with the attached debdiff.
Thanks
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
diff -Nru openssh-6.1p1/debian/changelog openssh-6.1p1/debian/changelog
--- openssh-6.1p1/debian/changelog 2013-02-08 16:07:32.000000000 -0500
+++ openssh-6.1p1/debian/changelog 2013-03-25 11:30:18.000000000 -0400
@@ -1,3 +1,11 @@
+openssh (1:6.1p1-4) UNRELEASED; urgency=low
+
+ * Add ssh-agent upstart user job. This implements something similar to the
+ 90x11-common_ssh-agent Xsession script. That's, start ssh-agent and set
+ the appropriate environment variables.
+
+ -- Stéphane Graber <[email protected]> Mon, 25 Mar 2013 11:29:10 -0400
+
openssh (1:6.1p1-3) experimental; urgency=low
* Give ssh and ssh-krb5 versioned dependencies on openssh-client and
diff -Nru openssh-6.1p1/debian/rules openssh-6.1p1/debian/rules
--- openssh-6.1p1/debian/rules 2012-11-26 11:38:45.000000000 -0500
+++ openssh-6.1p1/debian/rules 2013-03-25 11:29:02.000000000 -0400
@@ -187,6 +187,9 @@
install -p -m 644 debian/openssh-client.apport debian/openssh-client/usr/share/apport/package-hooks/openssh-client.py
install -p -m 644 debian/openssh-server.apport debian/openssh-server/usr/share/apport/package-hooks/openssh-server.py
+ # Upstart user job (only used under user sessions)
+ install -m 644 -D debian/ssh-agent.user-session.upstart debian/openssh-client/usr/share/upstart/sessions/ssh-agent.conf
+
override_dh_installdocs:
dh_installdocs -Nopenssh-server -Nssh
dh_installdocs -popenssh-server -pssh --link-doc=openssh-client
diff -Nru openssh-6.1p1/debian/ssh-agent.user-session.upstart openssh-6.1p1/debian/ssh-agent.user-session.upstart
--- openssh-6.1p1/debian/ssh-agent.user-session.upstart 1969-12-31 19:00:00.000000000 -0500
+++ openssh-6.1p1/debian/ssh-agent.user-session.upstart 2013-03-25 11:10:22.000000000 -0400
@@ -0,0 +1,20 @@
+description "SSH Agent"
+author "Stéphane Graber <[email protected]>"
+
+start on starting xsession-init
+
+pre-start script
+ if [ -f /etc/X11/Xsession.options ]; then
+ grep -q "^use-ssh-agent$" /etc/X11/Xsession.options || { stop; exit 0; }
+ fi
+
+ eval "$(ssh-agent)" >/dev/null
+ initctl set-env --global SSH_AUTH_SOCK=$SSH_AUTH_SOCK
+ initctl set-env --global SSH_AGENT_PID=$SSH_AGENT_PID
+end script
+
+post-stop script
+ kill $SSH_AGENT_PID 2>/dev/null || true
+ initctl unset-env --global SSH_AUTH_SOCK
+ initctl unset-env --global SSH_AGENT_PID
+end script
signature.asc
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: openssh
Source-Version: 1:6.1p1-4
We believe that the bug you reported is fixed in the latest version of
openssh, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Colin Watson <[email protected]> (supplier of updated openssh package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 25 Mar 2013 16:58:04 +0000
Source: openssh
Binary: openssh-client openssh-server ssh ssh-krb5 ssh-askpass-gnome
openssh-client-udeb openssh-server-udeb
Architecture: source i386 all
Version: 1:6.1p1-4
Distribution: experimental
Urgency: low
Maintainer: Debian OpenSSH Maintainers <[email protected]>
Changed-By: Colin Watson <[email protected]>
Description:
openssh-client - secure shell (SSH) client, for secure access to remote
machines
openssh-client-udeb - secure shell client for the Debian installer (udeb)
openssh-server - secure shell (SSH) server, for secure access from remote
machines
openssh-server-udeb - secure shell server for the Debian installer (udeb)
ssh - secure shell client and server (metapackage)
ssh-askpass-gnome - interactive X program to prompt users for a passphrase for
ssh-ad
ssh-krb5 - secure shell client and server (transitional package)
Closes: 703906
Changes:
openssh (1:6.1p1-4) experimental; urgency=low
.
[ Gunnar Hjalmarsson ]
* debian/openssh-server.sshd.pam: Explicitly state that ~/.pam_environment
should be read, and move the pam_env calls from "auth" to "session" so
that it's also read when $HOME is encrypted (LP: #952185).
.
[ Stéphane Graber ]
* Add ssh-agent upstart user job. This implements something similar to
the 90x11-common_ssh-agent Xsession script. That is, start ssh-agent
and set the appropriate environment variables (closes: #703906).
Checksums-Sha1:
07f89755cb88404f5d5e81edba6a5a6b9cc4e15b 2556 openssh_6.1p1-4.dsc
a3ddc928e007f0189af3eb4b1a09a06907fc7edd 253648 openssh_6.1p1-4.debian.tar.gz
7de2905c7c82b38935c809229d465ffd75ef8371 1057778
openssh-client_6.1p1-4_i386.deb
db2011a145741c0818fb716a2d2fbfdb2f7d9268 345268 openssh-server_6.1p1-4_i386.deb
c13b983a794fecfaf2f86139b0b63ae37775569a 1252 ssh_6.1p1-4_all.deb
7ec0790eee3a34767d0630774535e66003025671 93282 ssh-krb5_6.1p1-4_all.deb
d099e8a38a4722aa0d5837108e759e0d0225a95f 101324
ssh-askpass-gnome_6.1p1-4_i386.deb
2d7a88bae41a36860b15a57020c70b565ea1c913 181792
openssh-client-udeb_6.1p1-4_i386.udeb
b9c0217e6ac4d538fedf41c34d0c430595f509f4 194800
openssh-server-udeb_6.1p1-4_i386.udeb
Checksums-Sha256:
5a6eec6c2cb00dcc70ec36619ad919b682760caa1469890d16f74d43adcd54ef 2556
openssh_6.1p1-4.dsc
31a3e5cc8e787112668c448e0b7d091ec818b026fd519f6e9555ea10dbfd87f0 253648
openssh_6.1p1-4.debian.tar.gz
7850fa44c7c35d2e9f6bf68ab328756de1a48b1884f3c51d6f29bad7987029db 1057778
openssh-client_6.1p1-4_i386.deb
87e0b86bfd32fabf05dd861c1abdd59b6e6aa659564a4581a767deb477e6479d 345268
openssh-server_6.1p1-4_i386.deb
4ec6ac354b4bd4fe7f315610f301de1546ba9e0b43dc3165fda4dd2c2d18cd41 1252
ssh_6.1p1-4_all.deb
9384ebad3b2cd2954366ea7660add06c7a3c5990beab871c6be08ab3361e235f 93282
ssh-krb5_6.1p1-4_all.deb
02bef18cab156d665fe5b05d463d36faf38455fc9f0d9148290ee37455b438f9 101324
ssh-askpass-gnome_6.1p1-4_i386.deb
ef4a2c2d0d4838ba4301a3d6c8a050720556e190c89908ac39baef239315ecf3 181792
openssh-client-udeb_6.1p1-4_i386.udeb
a9c3c6264a022ea04244eebb7966002857bfbe8d1067d1a94831257eccf3f7a1 194800
openssh-server-udeb_6.1p1-4_i386.udeb
Files:
f585648ef657fd97d7c8f185dd474073 2556 net standard openssh_6.1p1-4.dsc
62fdda6108a780e45fe6bfff07bb54b5 253648 net standard
openssh_6.1p1-4.debian.tar.gz
ce3e55e5dd65e8102094e95b04cd74b0 1057778 net standard
openssh-client_6.1p1-4_i386.deb
e8280e4a96253839ac3dec4b5d3c2e36 345268 net optional
openssh-server_6.1p1-4_i386.deb
6edd8726a58aa211777eeddacfa3e74d 1252 net extra ssh_6.1p1-4_all.deb
22fa30969cc7460a4692fb1de502cfc9 93282 oldlibs extra ssh-krb5_6.1p1-4_all.deb
f493da0ee12c372a56fd24b565ed8296 101324 gnome optional
ssh-askpass-gnome_6.1p1-4_i386.deb
08937f8803aab9c3f22eaeb2514b8261 181792 debian-installer optional
openssh-client-udeb_6.1p1-4_i386.udeb
bd2281757a4b542ba985722418a9a3d1 194800 debian-installer optional
openssh-server-udeb_6.1p1-4_i386.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Colin Watson <[email protected]> -- Debian developer
iQIVAwUBUVCGhTk1h9l9hlALAQhB3hAAkBn/DWaSo3aAUzo9lIsZfUA5wrP7ZLUp
2xY6CT711UCPPnjHLXARde6klQF9xH5GN2+ww5zaMK4DIk9olHgKHt+qsWhza4fx
sbafLoZDsc950rZWQuL+Sma+84xMOdsHM9PB3t+m7nlQSs8U9Gi4SPAkxUC6CeI1
qwk0g4qhd+ew0hQD8Zyxa2RwRdQjAkORZKItuFUKlK898tPqgG4kQevUsFgQjwnd
ORhUYi4lymLqRYs4ak5i9ZgfUZ4ovcSadS8zxj5o28ypAhiMi/eR2YlaIG+4Oaai
TU4wJnh60Z73lj+Pdoz9hdgZ+Fc4oabMiADQkyrMdgkBqeoAhG+1Dqinlqzeol4w
LM1Jw+jezZFIyFxpJH+EK6Nk46pKAbntXZ5cO/+ddrZqJgHHs07LC+dxFmc0RcQm
N16WTYAJNNoCfOQ48jo+s6FPbueWuDPP7dCHzCc/DV39WWAs8kfBhB+E52bz1MVy
vo2CoOGwjWfvrcssVteCfyu2qrMbfkB/4GL9XlY3huI2+qZ9z0LARTfBK0bAXlFR
q2UJiEHb6fPvBe28XtO4wQINWPTnz+tDDzJHzWH7azBCn/mzB3/uUby3qOzz/xgY
JVHFf7noX0d+aUxt8z6C71Qj+liaRIknNP2meTbLq7B9JDYDmhAj0ilRhU+PnBqn
ZHIO2iYeznQ=
=Tt4M
-----END PGP SIGNATURE-----
--- End Message ---