Author Topic: Firewall appears to fail on boot  (Read 1794 times)

abluesongbird

  • Guest
Firewall appears to fail on boot
« on: May 15, 2010, 03:29:41 am »
During its boot sequence my eBox (1.4 on Ubuntu LTS 8.04.4) machine reports

Code: [Select]
Starting eBox module: firewall                     [fail]
but afterward a call to

Code: [Select]
sudo iptables -L
reveals that the rules were loaded properly during boot.  There is nothing in the eBox logs reporting the failure and restarting the firewall with

Code: [Select]
sudo /etc/init.d/ebox firewall restart
reports success.

Any ideas?

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Firewall appears to fail on boot
« Reply #1 on: May 15, 2010, 11:34:26 am »
Could you give us the exact version of your firewall module? (apt-cache policy ebox-firewall)
Zentyal Server Lead Developer

abluesongbird

  • Guest
Re: Firewall appears to fail on boot
« Reply #2 on: May 16, 2010, 01:24:11 pm »
Sure, the output of the apt-get call is

Code: [Select]
ebox-firewall:
  Installed: 1.4.3-0ubuntu1~ppa1~hardy1
  Candidate: 1.4.3-0ubuntu1~ppa1~hardy1
  Version table:
 *** 1.4.3-0ubuntu1~ppa1~hardy1 0
        500 http://ppa.launchpad.net hardy/main Packages
        100 /var/lib/dpkg/status
     0.11.99-0ubuntu2 0
        500 http://ca.archive.ubuntu.com hardy/universe Packages

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: Firewall appears to fail on boot
« Reply #3 on: May 16, 2010, 10:26:53 pm »
Look at the /var/log/ebox/ebox.log file while you execute "/etc/init.d/ebox firewall restart" to see if any error appears there.
Zentyal Server Lead Developer

abluesongbird

  • Guest
Re: Firewall appears to fail on boot
« Reply #4 on: May 18, 2010, 10:01:27 pm »
Everything looks good...

Code: [Select]
2010/05/18 16:59:59 INFO> Service.pm:625 EBox::Module::Service::restartService - Restarting service for module: firewall
2010/05/18 17:00:02 INFO> Base.pm:781 EBox::Module::Base::_hook - Running hook: /etc/ebox/hooks/firewall.postservice 1