Package: ifupdown-scripts-zg2
Version: 0.3-4
Severity: serious
Tags: squeeze sid patch

hi,
/etc/network/ifupdown-scripts-zg2.d/vlan fails if /bin/sh is dash
because of a bashism in common-functions.

But vlan is the only script which has /bin/sh. All others have
/bin/bash. Either change vlan to user /bin/bash or apply the folloing
patch:

--- /etc/network/ifupdown-scripts-zg2.d/common-functions.bak    2010-11-25 
11:22:49.000000000 +0100
+++ /etc/network/ifupdown-scripts-zg2.d/common-functions        2010-11-25 
11:23:11.000000000 +0100
@@ -381,7 +381,7 @@


 # Sanitize environment variables
-IF_VLAN_ID=$[${IF_VLAN_ID:-0}+0]
+IF_VLAN_ID=$((${IF_VLAN_ID:-0}+0))
 IF_TYPE=${IF_TYPE:-}
 IF_MASTER=${IF_MASTER:-}
 IF_SCOPE=${IF_SCOPE:-}


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ifupdown-scripts-zg2 depends on:
ii  debianutils                   3.4        Miscellaneous utilities specific t
ii  ifupdown                      0.6.10     high level tools to configure netw
ii  iproute                       20100519-3 networking and traffic control too

ifupdown-scripts-zg2 recommends no packages.

Versions of packages ifupdown-scripts-zg2 suggests:
ii  vlan                          1.9-3      user mode programs to enable VLANs

-- Configuration Files:
/etc/network/ifupdown-scripts-zg2.d/common-functions changed [not included]

-- no debconf information
-

Besuchen Sie unsere neue Website. Visit our new website.

http://www.BERCHTOLD.biz



Unser Unternehmen ist vom 06.-09. Januar 2011 geschlossen. Our company will be 
closed from 06.-09. January 2011.



Diese E-Mail kann vertrauliche Informationen enthalten. Wenn Sie nicht der

Adressat sind, sind Sie nicht zur Verwendung der in dieser E-Mail

enthaltenen Informationen befugt. Bitte benachrichtigen Sie uns sofort ueber

den irrtuemlichen Empfang.



This e-mail may contain confidential information. If you are not the

addressee you are not authorized to make use of the information contained

in this e-mail. Please inform us immediately that you have received it by

mistake.




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

Reply via email to