touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #71837
[Bug 1446448] [NEW] ssh-agent terminates
Public bug reported:
I have set-up password less ssh connectivity for my workstation. ssh-
agent gets started via keychain when fluxbox boots.
When I use ssh to connect to a server, and then use scp to shuffle a
file from that server to my workstation the ssh-agent on my workstation
dies after the file was transferred.
This has started happening after the upgrade from 12.04 to 14.04.
I have wrapped strace into the fluxbox startup to keep an eye on ssh-
agent (I initially didn't see a pattern to the sudden death), here's an
example of the breakdown post transfer.
select(4, [3], [], NULL, NULL) = 1 (in [3])
accept(3, {sa_family=AF_LOCAL, NULL}, [2]) = 4
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=21130, uid=1000, gid=1000}, [12]) = 0
getuid() = 1000
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
select(5, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, "\0\0\0\1\v", 1024) = 5
select(5, [3 4], [4], NULL, NULL) = 1 (out [4])
write(4, "\0\0\1<\f\0\0\0\1\0\0\1\27\0\0\0\7ssh-rsa\0\0\0\3\1\0\1\0"..., 320) = 320
select(5, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, "", 1024) = 0
close(4) = 0
select(4, [3], [], NULL, NULL) = 1 (in [3])
accept(3, {sa_family=AF_LOCAL, NULL}, [2]) = 4
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=21284, uid=1000, gid=1000}, [12]) = 0
getuid() = 1000
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
select(5, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, "", 1024) = 0
close(4) = 0
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=21284, si_uid=0} ---
unlink("/tmp/ssh-DEwJJTGLUETC/agent.19556") = 0
rmdir("/tmp/ssh-DEwJJTGLUETC") = 0
close(-1) = -1 EBADF (Bad file descriptor)
exit_group(2) = ?
+++ exited with 2 +++
1) lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
2) apt-cache policy openssh-client
openssh-client:
Installed: 1:6.6p1-2ubuntu2
Candidate: 1:6.6p1-2ubuntu2
Version table:
*** 1:6.6p1-2ubuntu2 0
500 http://nz.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:6.6p1-2ubuntu1 0
500 http://nz.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
3) I expect ssh-agent to carry on running as it did in previous
releases.
4) It dies when connecting back from a machine I ssh into to my
workstation.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openssh-client 1:6.6p1-2ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-49.81-generic 3.13.11-ckt17
Uname: Linux 3.13.0-49-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
Date: Tue Apr 21 15:28:02 2015
InstallationDate: Installed on 2015-02-03 (77 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageVersions:
ssh-askpass N/A
libpam-ssh 2.0-1
keychain 2.7.1-1
ssh-askpass-gnome 1:6.6p1-2ubuntu2
SSHClientVersion: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.ssh-agent.log: ssh-agent stop/pre-start, process 1973
** Affects: openssh (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug trusty
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/1446448
Title:
ssh-agent terminates
Status in openssh package in Ubuntu:
New
Bug description:
I have set-up password less ssh connectivity for my workstation. ssh-
agent gets started via keychain when fluxbox boots.
When I use ssh to connect to a server, and then use scp to shuffle a
file from that server to my workstation the ssh-agent on my
workstation dies after the file was transferred.
This has started happening after the upgrade from 12.04 to 14.04.
I have wrapped strace into the fluxbox startup to keep an eye on ssh-
agent (I initially didn't see a pattern to the sudden death), here's
an example of the breakdown post transfer.
select(4, [3], [], NULL, NULL) = 1 (in [3])
accept(3, {sa_family=AF_LOCAL, NULL}, [2]) = 4
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=21130, uid=1000, gid=1000}, [12]) = 0
getuid() = 1000
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
select(5, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, "\0\0\0\1\v", 1024) = 5
select(5, [3 4], [4], NULL, NULL) = 1 (out [4])
write(4, "\0\0\1<\f\0\0\0\1\0\0\1\27\0\0\0\7ssh-rsa\0\0\0\3\1\0\1\0"..., 320) = 320
select(5, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, "", 1024) = 0
close(4) = 0
select(4, [3], [], NULL, NULL) = 1 (in [3])
accept(3, {sa_family=AF_LOCAL, NULL}, [2]) = 4
getsockopt(4, SOL_SOCKET, SO_PEERCRED, {pid=21284, uid=1000, gid=1000}, [12]) = 0
getuid() = 1000
fcntl(4, F_GETFL) = 0x2 (flags O_RDWR)
fcntl(4, F_SETFL, O_RDWR|O_NONBLOCK) = 0
select(5, [3 4], [], NULL, NULL) = 1 (in [4])
read(4, "", 1024) = 0
close(4) = 0
select(4, [3], [], NULL, NULL) = ? ERESTARTNOHAND (To be restarted if no handler)
--- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=21284, si_uid=0} ---
unlink("/tmp/ssh-DEwJJTGLUETC/agent.19556") = 0
rmdir("/tmp/ssh-DEwJJTGLUETC") = 0
close(-1) = -1 EBADF (Bad file descriptor)
exit_group(2) = ?
+++ exited with 2 +++
1) lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
2) apt-cache policy openssh-client
openssh-client:
Installed: 1:6.6p1-2ubuntu2
Candidate: 1:6.6p1-2ubuntu2
Version table:
*** 1:6.6p1-2ubuntu2 0
500 http://nz.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
100 /var/lib/dpkg/status
1:6.6p1-2ubuntu1 0
500 http://nz.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
3) I expect ssh-agent to carry on running as it did in previous
releases.
4) It dies when connecting back from a machine I ssh into to my
workstation.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: openssh-client 1:6.6p1-2ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-49.81-generic 3.13.11-ckt17
Uname: Linux 3.13.0-49-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.10
Architecture: amd64
Date: Tue Apr 21 15:28:02 2015
InstallationDate: Installed on 2015-02-03 (77 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
RelatedPackageVersions:
ssh-askpass N/A
libpam-ssh 2.0-1
keychain 2.7.1-1
ssh-askpass-gnome 1:6.6p1-2ubuntu2
SSHClientVersion: OpenSSH_6.6.1p1 Ubuntu-2ubuntu2, OpenSSL 1.0.1f 6 Jan 2014
SourcePackage: openssh
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.ssh-agent.log: ssh-agent stop/pre-start, process 1973
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1446448/+subscriptions
Follow ups
References