[Pkg-kde-extras] Bug#503110: kvpnc uses incorrect command for adding/deleting additional network routes

Andrej Kartashov gorilych at gmail.com
Wed Oct 22 16:10:16 UTC 2008


Package: kvpnc
Version: 0.9.0-1
Severity: normal

kvpnc forgets to place space character between destination network and 'gateway' in scripts:

/root/.kde/share/apps/kvpnc# cat addAdditionalNetworkRoutes.598651.sh
#!/bin/bash
/sbin/route add 217.73.236.50/32gateway 62.149.129.1 lo

/root/.kde/share/apps/kvpnc# cat delAdditionalNetworkRoutes.598651.sh
#!/bin/bash
/sbin/route del 217.73.236.50/32gw 62.149.129.1 lo


it should be:

/sbin/route add 217.73.236.50/32 gateway 62.149.129.1 lo
and
/sbin/route del 217.73.236.50/32 gw 62.149.129.1 lo

The following error appears in log (log level 10):

отладка: Adding the following additional network routes:
отладка: 1: 217.73.236.50/32 over gateway 62.149.129.1 
ошибка: [route err] Usage: inet_route [-vF] del {-host|-net} Target[/prefix] [gw Gw] [metric M] [[dev] If] 
inet_route [-vF] add {-host|-net} Target[/prefix] [gw Gw] [metric M] [netmask N] [mss Mss] [window W] 
[irtt I] [mod] [dyn] [reinstate] [[dev] If] inet_route [-vF] add {-host|-net} Target[/prefix] [metric M] 
reject inet_route [-FC] flush NOT supported 

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

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages kvpnc depends on:
ii  gksu                    2.0.0-5          graphical frontend to su
ii  kdebase-bin             4:3.5.9.dfsg.1-5 core binaries for the KDE base mod
ii  kdelibs4c2a             4:3.5.9.dfsg.1-6 core libraries and binaries for al
ii  libc6                   2.7-15           GNU C Library: Shared libraries
ii  libgcrypt11             1.4.1-1          LGPL Crypto library - runtime libr
ii  libqt3-mt               3:3.3.8b-5       Qt GUI Library (Threaded runtime v
ii  libstdc++6              4.3.2-1          The GNU Standard C++ Library v3
ii  menu                    2.1.40           generates programs menu for all me
ii  module-init-tools       3.4-1            tools for managing Linux kernel mo
ii  net-tools               1.60-21          The NET-3 networking toolkit
ii  psmisc                  22.6-1           Utilities that use the proc filesy

kvpnc recommends no packages.

Versions of packages kvpnc suggests:
ii  iptables                     1.4.1.1-4   administration tools for packet fi
pn  openct                       <none>      (no description available)
pn  opensc                       <none>      (no description available)
ii  openssl                      0.9.8g-13   Secure Socket Layer (SSL) binary a
pn  openswan                     <none>      (no description available)
pn  openvpn                      <none>      (no description available)
ii  pptp-linux                   1.7.2-1     Point-to-Point Tunneling Protocol 
pn  racoon                       <none>      (no description available)
ii  vpnc                         0.5.1r334-1 Cisco-compatible VPN client
pn  xl2tpd                       <none>      (no description available)

-- no debconf information





More information about the pkg-kde-extras mailing list