Firestarter restart fails after language-pack upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
firestarter (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: firestarter
I use Ubuntu 7.04 with Spanish locale set and firestarter version 1.0.3-2ubuntu1.
Firestarter run ok at boot time, but later attempt to restart the firewall fails and rules cannot been modified. In GUI a window is shown with "External network device eth0 is not ready. Aborting.." message. This problem appeared after language-pack-es upgrade (1:7.04+20070601 -> 1:7.04+20071115).
I discovered that language-pack upgrade modify /sbin/ifconfig output (es_ES.UTF-8 locale) and now /etc/firestarte
Output of $ /sbin/ifconfig | head -n 2 (LC_ALL=C)
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
...
Output of $ /sbin/ifconfig | head -n 2 (LC_ALL=
eth0 Link encap:Ethernet HWaddr 00:11:22:33:44:55
inet dirección:
Code from /etc/firestarte
MASK=`/
...
if [ "$MASK" = "" -a "$1" != "stop" ]; then
echo "External network device $IF is not ready. Aborting.."
exit 2
fi
PS: sorry for my bad English.
I can confirm this bug.
I couldn't get Firestarter to work and I got the same message in the console. After adding
"export LC_ALL=C" to firestarter.sh as rmorales said, the problem disappeared.