2014-04-25 21:17:25 |
Steffen Stempel |
bug |
|
|
added bug |
2014-04-25 21:17:25 |
Steffen Stempel |
attachment added |
|
Patch for /usr/share/upstart/sessions/ssh-agent.conf https://bugs.launchpad.net/bugs/1312928/+attachment/4097008/+files/ssh-agent.patch |
|
2014-04-25 22:22:35 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2014-04-25 22:22:42 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Review Team |
2014-04-28 14:44:52 |
Brian Murray |
tags |
patch |
patch saucy trusty |
|
2014-04-28 14:47:19 |
Brian Murray |
openssh (Ubuntu): importance |
Undecided |
Medium |
|
2014-04-28 14:54:06 |
Colin Watson |
nominated for series |
|
Ubuntu Saucy |
|
2014-04-28 14:54:06 |
Colin Watson |
bug task added |
|
openssh (Ubuntu Saucy) |
|
2014-04-28 14:54:06 |
Colin Watson |
nominated for series |
|
Ubuntu Trusty |
|
2014-04-28 14:54:06 |
Colin Watson |
bug task added |
|
openssh (Ubuntu Trusty) |
|
2014-04-28 14:54:51 |
Colin Watson |
openssh (Ubuntu): status |
New |
Fix Committed |
|
2014-04-28 14:54:53 |
Colin Watson |
openssh (Ubuntu): assignee |
|
Colin Watson (cjwatson) |
|
2014-05-01 15:27:01 |
Colin Watson |
openssh (Ubuntu Saucy): assignee |
|
Colin Watson (cjwatson) |
|
2014-05-01 15:27:03 |
Colin Watson |
openssh (Ubuntu Trusty): assignee |
|
Colin Watson (cjwatson) |
|
2014-05-01 15:27:05 |
Colin Watson |
openssh (Ubuntu Saucy): status |
New |
Triaged |
|
2014-05-01 15:27:07 |
Colin Watson |
openssh (Ubuntu Trusty): status |
New |
Triaged |
|
2014-05-01 15:27:09 |
Colin Watson |
openssh (Ubuntu Saucy): importance |
Undecided |
Medium |
|
2014-05-01 15:27:11 |
Colin Watson |
openssh (Ubuntu Trusty): importance |
Undecided |
Medium |
|
2014-05-01 15:27:14 |
Colin Watson |
openssh (Ubuntu Trusty): milestone |
|
ubuntu-14.04.1 |
|
2014-05-02 06:01:26 |
Launchpad Janitor |
openssh (Ubuntu): status |
Fix Committed |
Fix Released |
|
2014-05-02 08:42:04 |
Colin Watson |
description |
For X11/KDE sessions ssh-agent is started via upstart using configuration file /usr/share/upstart/sessions/ssh-agent.conf with the instruction ``eval "$(ssh-agent)" >/dev/null''.
If the user's login shell is tcsh or csh ssh-agent will return c-shell like setenv commands which upstart/shell do not recognize. Thus environment variables $SSH_* are not propagated into the user's desktop session and neither ssh nor ssh-add are able to contact ssh-agent.
Solution: use ``eval "$(ssh-agent -s)"'' to force sh-like output of ssh-agent (context diff included as attachment)
Addition information: Bug occures at least in 13.10 and 14.04 amd64 architecture. In 14.04 the affected openssh-client package version is 1:6.2p2-6ubuntu0.3 |
[Impact] ssh-agent startup via Upstart doesn't work if the user's shell is [t]csh.
[Test Case] Create a guest account whose shell is tcsh and make sure that they can start a session and get ssh-agent. Note that this may not work for GNOME-flavoured sessions due to gnome-keyring taking precedence.
[Regression Potential] Confined to the ssh-agent started via Upstart, and in any event should be trivial since -s is already the default for most (just not all) users.
For X11/KDE sessions ssh-agent is started via upstart using configuration file /usr/share/upstart/sessions/ssh-agent.conf with the instruction ``eval "$(ssh-agent)" >/dev/null''.
If the user's login shell is tcsh or csh ssh-agent will return c-shell like setenv commands which upstart/shell do not recognize. Thus environment variables $SSH_* are not propagated into the user's desktop session and neither ssh nor ssh-add are able to contact ssh-agent.
Solution: use ``eval "$(ssh-agent -s)"'' to force sh-like output of ssh-agent (context diff included as attachment)
Addition information: Bug occures at least in 13.10 and 14.04 amd64 architecture. In 14.04 the affected openssh-client package version is 1:6.2p2-6ubuntu0.3 |
|
2014-05-02 08:44:10 |
Colin Watson |
openssh (Ubuntu Trusty): status |
Triaged |
In Progress |
|
2014-05-02 08:54:27 |
Colin Watson |
openssh (Ubuntu Saucy): status |
Triaged |
In Progress |
|
2014-05-12 16:00:22 |
Brian Murray |
openssh (Ubuntu Trusty): status |
In Progress |
Fix Committed |
|
2014-05-12 16:00:24 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2014-05-12 16:00:26 |
Brian Murray |
bug |
|
|
added subscriber SRU Verification |
2014-05-12 16:00:35 |
Brian Murray |
tags |
patch saucy trusty |
patch saucy trusty verification-needed |
|
2014-05-15 20:36:04 |
Brian Murray |
openssh (Ubuntu Saucy): status |
In Progress |
Fix Committed |
|
2014-05-15 20:36:23 |
Brian Murray |
removed subscriber Ubuntu Review Team |
|
|
|
2014-05-15 20:36:52 |
Brian Murray |
tags |
patch saucy trusty verification-needed |
patch saucy trusty verification-done-trusty verification-needed |
|
2014-05-20 02:40:44 |
Launchpad Janitor |
openssh (Ubuntu Trusty): status |
Fix Committed |
Fix Released |
|
2014-12-05 06:45:49 |
Rolf Leggewie |
openssh (Ubuntu Saucy): status |
Fix Committed |
Won't Fix |
|