Package: ifupdown-extra
Version: 0.18
Severity: important

The /etc/init.d/networking-routes script has a typo which prevent routes to be 
added or deleted.
$@ in local COMMAND="route $@" (line 62) expands in a way that make the "-net" 
route argument to be passed as an argument to the "local" builtin bash command.
>From the bash manual : When the expansion occurs within double quotes, each 
>parameter expands to a separate word.

Replacing $@ by $* solves the problem.
Tested on squeeze + ifupdown from wheezy and on wheezy

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown-extra depends on:
ii  bind9-host [host 1:9.7.3.dfsg-1~squeeze3 Version of 'host' bundled with BIN
ii  iproute          20100519-3              networking and traffic control too
ii  iputils-arping   3:20100418-3            Tool to send ICMP echo requests to
ii  iputils-ping [pi 3:20100418-3            Tools to test the reachability of 
ii  net-tools        1.60-23                 The NET-3 networking toolkit
ii  netcat           1.10-38                 TCP/IP swiss army knife -- transit
ii  netcat-tradition 1.10-38                 TCP/IP swiss army knife

Versions of packages ifupdown-extra recommends:
pn  ethtool                       <none>     (no description available)

ifupdown-extra suggests no packages.

-- Configuration Files:
/etc/default/network-test changed [not included]
/etc/init.d/networking-routes changed [not included]
/etc/network/routes changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to