Public bug reported:

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/firestarter/firestarter.sh cannot
detect network mask. This problem can be solved typing "export LC_ALL=C"
after "#!/bin/bash" in /etc/firestarter/firestarter.sh

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=es_ES.UTF-8)
eth0      Link encap:Ethernet  HWaddr 00:11:22:33:44:55  
          inet dirección:192.168.1.2  Bcast:192.168.1.255  Máscara:255.255.255.0

Code from /etc/firestarter/firestarter.sh searching for network mask:
MASK=`/sbin/ifconfig $IF | grep Mas | cut -d : -f 4`
...
if [ "$MASK" = "" -a "$1" != "stop" ]; then
        echo "External network device $IF is not ready. Aborting.."
        exit 2
fi

PS: sorry for my bad English.

** Affects: firestarter (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Firestarter restart fails after language-pack upgrade
https://bugs.launchpad.net/bugs/174436
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to