[Pkg-xfce-devel] Bug#666104: xfce4-utils: xfce4 should not start ssh-agent if does not exist

Miklos Quartus lista at miklos.info
Wed Mar 28 18:11:51 UTC 2012


Package: xfce4-utils
Version: 4.8.3-2
Severity: normal

Dear Maintainer,

This bug report has been submitted by the 'bugreport' program. The issue
is that ssh-agent (or ssh) is not installed on my PC, but xfce4 during
start up tries to invoke it and fails. I get the following error in 
my .xsession-errors.

"/etc/xdg/xfce4/xinitrc: 1: /etc/xdg/xfce4/xinitrc: ssh-agent: not
found"

this happens at line 171. Otherwise xfce4 and everything else on my
system is working fine, I can use the X environment without having ssh
on my system. I suggest to fix it by setting line 139 as follows.

CHANGE
"if test -z "$ssh_agent_type"; then"
TO
"if ! test -z "$ssh_agent_type"; then"

With the fix above, the condition later see and will not try to start
ssh-agent. Other suggestion is to make the package *dependant* on the
ssh package. Currently this package does not depend on ssh, see below.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xfce4-utils depends on:
ii  dpkg                         1.16.1.2
ii  exo-utils                    0.6.2-4
ii  libc6                        2.13-27
ii  libdbus-1-3                  1.4.18-1
ii  libdbus-glib-1-2             0.98-1
ii  libglib2.0-0                 2.30.2-6
ii  libgtk2.0-0                  2.24.10-1
ii  libxfce4ui-1-0               4.8.1-1
ii  libxfce4util4                4.8.2-1
ii  procps                       1:3.3.2-3
ii  x11-xserver-utils            7.6+3
ii  xinit                        1.3.1-1
ii  xterm [x-terminal-emulator]  276-2

Versions of packages xfce4-utils recommends:
ii  dbus-x11       1.4.18-1
ii  thunar         1.2.3-3
ii  xdg-user-dirs  0.14-1
ii  xfce4-panel    4.8.6-3
ii  xfwm4          4.8.3-1
ii  xinput         1.5.3-1
ii  xscreensaver   5.15-2

Versions of packages xfce4-utils suggests:
ii  xfce4-session  4.8.3-2

-- Configuration Files:
/etc/xdg/xfce4/xinitrc changed [not included]

-- no debconf information

Thanks,
-- 
Miklos Quartus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20120328/4011e8f9/attachment.pgp>


More information about the Pkg-xfce-devel mailing list