Hello Althaser,
the bug is at wheezy with gnome-session version 3.4.2.1 still reproducible.
The behaviour seems exactly the same as with squeeze.
Below the version of my test environment.
Thanks
Gabriel
$ uname -a
Linux pkitest 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3+deb7u1 x86_64 GNU/Linux
$
$ lsb_release -a
Distributor ID: Debian
Description: Debian GNU/Linux 7.5 (wheezy)
Release: 7.5
Codename: wheezy
$
$ dpkg --status 'gnome-session-bin'
Package: gnome-session-bin
Status: install ok installed
Priority: optional
Section: gnome
Installed-Size: 551
Maintainer: Debian GNOME Maintainers
<pkg-gnome-maintain...@lists.alioth.debian.org>
Architecture: amd64
Source: gnome-session
Version: 3.4.2.1-4
Depends: gconf-service, libc6 (>= 2.4), libcairo2 (>= 1.2.4), libdbus-1-3
(>= 1.0.2), libdbus-glib-1-2 (>= 0.88), libgconf-2-4 (>= 2.31.1),
libgdk-pixbuf2.0-0 (>= 2.22.0), libgl1-mesa-glx | libgl1, libglib2.0-0 (>=
2.31.8), libgtk-3-0 (>= 3.0.0), libice6 (>= 1:1.0.0), libjson-glib-1.0-0
(>= 0.12.0), libnotify4 (>= 0.7.0), libsm6, libupower-glib1 (>= 0.9.0),
libx11-6, libxau6, libxcomposite1 (>= 1:0.3-1), libxext6, libxrender1,
libxtst6, dconf-gsettings-backend | gsettings-backend, dbus-x11,
gsettings-desktop-schemas, upower (>= 0.9.0)
Conflicts: gnome-session (<< 2.26.1-5)
Description: GNOME Session Manager - Minimal runtime
The GNOME Session Manager is in charge of starting the core components
of the GNOME desktop, and applications that should be launched at
login time. It also features a way to save and restore currently
running applications.
.
This package contains the binaries for the GNOME Session Manager, but
no startup scripts. It is meant for those willing to start
gnome-session by hand with the components of their choice, and for
applications such as GDM that use gnome-session internally.
$
Am 15.05.2014 15:38, schrieb althaser:
Hey Gabriel,
this is an old bug.
Could you please still reproduce this issue with newer gnome-session version
like 3.4.2.1-4 or 3.8.4-4 ?
thanks.
regards,
althaser
Am 15.05.14 18:40 schrieb "Gabriel Sailer" unter <gabriel.sai...@gmx.net>:
-------- Original-Nachricht --------
Betreff: gnome-session-bin: every session using 'gnome-session' (gnome,
ubuntu, ...) have a problem with 'ssh-add -s ...' - startkde, startlxde,
... works.
Datum: Sat, 02 Feb 2013 11:34:23 +0100
Von: Gabriel Sailer <gabriel.sai...@gmx.net>
An: sub...@bugs.debian.org
Package: gnome-session-bin
Version: 2.30.2-3
Severity: normal
Tags: squeeze
On standard installation of debian 6.0 (squeeze) a PKCS#11 key could not
be
added to the ssh-agent.
We use a own build PKCS#11 library but the same error occur with '/usr/lib
/opensc-pkcs11.so'.
After deactivating the 'Startup Apllications'
Certificate and Key Storage
GNOME Keyring: PKCS#11 Component
SSH Key Agent
Gnome Keyring: SSH Agent
the 'ssh-add -s ...' works.
-- System Information:
Debian Release: 6.0.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500,
'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-session-bin depends on:
ii dbus-x11 1.2.24-4+squeeze2 simple interprocess
messaging syst
ii gconf2 2.28.1-6 GNOME configuration database
syste
ii libc6 2.11.3-4 Embedded GNU C Library:
Shared lib
ii libdbus-1-3 1.2.24-4+squeeze2 simple interprocess
messaging syst
ii libdbus-glib-1-2 0.88-2.1 simple interprocess
messaging syst
ii libgconf2-4 2.28.1-6 GNOME configuration database
syste
ii libglib2.0-0 2.24.2-1 The GLib library of C
routines
ii libgtk2.0-0 2.20.1-2 The GTK+ graphical user
interface
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange
library
ii libsm6 2:1.1.1-1 X11 Session Management
library
ii libupower-glib1 0.9.5-5 abstraction for power
management -
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxau6 1:1.0.6-1 X11 authorisation library
ii libxext6 2:1.1.2-1 X11 miscellaneous extension
librar
ii libxrender1 1:0.9.6-1 X Rendering Extension client
libra
ii libxtst6 2:1.1.0-3 X11 Testing -- Record
extension li
ii upower 0.9.5-5 abstraction for power
management
gnome-session-bin recommends no packages.
gnome-session-bin suggests no packages.
-- no debconf information
### Tested sessions:
# Ubuntu 12.04
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session
--session=gnome -> Not OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session
--session=ubuntu -> Not OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session
--session=ubuntu-2d -> Not OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
/usr/bin/openbox-session -> OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
/usr/bin/startkde -> OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
/usr/bin/startlxde -> OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
startxfce4 -> OK
# Debian 6.0
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
/usr/bin/seahorse-agent --execute x-session-manager -> Not OK
/usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session
x-session-manager -> Not OK
$ ls -l /usr/bin/x-session-manager /etc/alternatives/x-session-manager
/usr/bin/gnome-session
lrwxrwxrwx 1 root root 22 16. Nov 12:30
/etc/alternatives/x-session-manager -> /usr/bin/gnome-session
-rwxr-xr-x 1 root root 219976 6. Nov 2010 /usr/bin/gnome-session
lrwxrwxrwx 1 root root 35 16. Nov 12:30 /usr/bin/x-session-manager ->
/etc/alternatives/x-session-manager
$
### ssh-add using login ssh-agent
$ ssh-add -s /usr/local/lib/libcardos11.so
Enter passphrase for PKCS#11:
SSH_AGENT_FAILURE
Could not add card: /usr/local/lib/libcardos11.so
$
### ssh-add using own ssh-agent
$ ssh-agent bash
$ ssh-add -s /usr/local/lib/libcardos11.so
Enter passphrase for PKCS#11:
Card added: /usr/local/lib/libcardos11.so
$ ssh-add -l
2048 20:b4:97:ca:0c:3c:2e:3a:a0:ea:67:ee:75:40:c8:e5
/usr/local/lib/libcardos11.so (RSA)
2048 c1:d4:e9:ed:9b:84:78:60:a0:29:93:c2:78:1f:36:35
/usr/local/lib/libcardos11.so (RSA)
$
Respectfully
Gabriel Sailer
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org