Public bug reported:
Binary package hint: arno-iptables-firewall
re: arno-iptables-firewall 1.9.2.h-1
arno-iptables-firewall has a script that implements QoS -- it is at
/usr/share/arno-iptables-firewall/plugins/60traffic-shaper.plugin.
This script has an incompatibility with the default /bin/sh shell in
Ubuntu (actually /bin/dash). An error “Bad substitution” is reported
when the QoS script runs.
Test case:
vi /etc/arno-iptables-firewall/plugins/traffic-shaper.conf
change to ENABLED=1
/etc/init.d/arno-iptables-firewall restart or
/etc/init.d/arno-iptables-firewall status
An error "Bad substitution" will be reported and the QoS script fails to
run completely.
As a workaround, switch the arno script to use /bin/bash.
vi /usr/sbin/arno-iptables-firewall
change the first line to #!/bin/bash instead of calling /bin/sh
With this change, no error is reported and QoS is enabled as expected.
I also tried the Ubuntu 10.10 version but had the same behavior.
Thanks,
Tim Miller Dyck
---
Description: Ubuntu 10.04.1 LTS
Release: 10.04
arno-iptables-firewall:
Installed: 1.9.2.h-1
Candidate: 1.9.2.h-1
Version table:
*** 1.9.2.h-1 0
500 http://ca.archive.ubuntu.com/ubuntu/ lucid/universe Packages
100 /var/lib/dpkg/status
** Affects: arno-iptables-firewall (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/693115
Title:
arno-iptables-firewall 1.9.2.h-1 QoS script component has "Bad substitution"
error with /bin/dash but not with /bin/bash
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs