ufw doesn't load at startup

Bug #197285 reported by Fred
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw (Ubuntu)
Fix Released
Undecided
Jamie Strandboge

Bug Description

Binary package hint: ufw

$ ufw --version
ufw 0.12
Copyright (C) 2008 Canonical Ltd.

$ sudo ufw enable
Firewall started and enabled on system startup

So, now I started 'ufw', but when I restart Ubuntu, it does not start.

also...
-------
if sys.version_info[0] < 2 or sys.version_info[1] < 5:
    print >> sys.stderr, programName + ": Need at least python 2.5\n"
    sys.exit(1)
---
Isn't that a bug in the script?
What if version is 3.4? Then its "at least 2.5" but still fail?

Related branches

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for filing this bug report and helping to make Ubuntu even better. Do you have ipv6 blacklisted? Try running:

$ lsmod|grep ipv6
ipv6 311720 20

If you don't see the 'ipv6' line, then it's blacklisted and you are hitting bug #192123.

Changed in ufw:
assignee: nobody → jamie-strandboge
status: New → Incomplete
Revision history for this message
Fred (eldmannen+launchpad) wrote :

$ lsmod|grep ipv6
ipv6 267780 14

$ uname -a
Linux ubuntu 2.6.24-10-generic #1 SMP Fri Feb 22 19:08:18 UTC 2008 i686 GNU/Linux

Revision history for this message
Fred (eldmannen+launchpad) wrote :

$ cat /etc/ufw/ufw.conf
# /etc/ufw/ufw.conf
#

# set to yes to start on boot
ENABLED=yes

Revision history for this message
Fred (eldmannen+launchpad) wrote :

I did provide information that was requested.
I do have th ipv6 line.

Changed in ufw:
status: Incomplete → New
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

I will be updating the initscript for the next upload, which will hopefully fix the problem.

Changed in ufw:
status: New → In Progress
Revision history for this message
Fred (eldmannen+launchpad) wrote :

Thanks, I look forward to it! :)

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ufw - 0.14

---------------
ufw (0.14) hardy; urgency=low

  * conf/initscript
    - move sysctl to after rules load (LP: #192123)
    - don't make sysctl and modprobe failures fatal (LP: #197285)
    - make output less verbose and fix formatting (LP: #198211)
  * debian/rules: update setup.py version with changelog version
  * debian/control
    - update maintainer to Ubuntu Core Developers
    - add Vcs-Bzr url

 -- Jamie Strandboge <email address hidden> Fri, 15 Feb 2008 08:56:24 -0500

Changed in ufw:
status: In Progress → Fix Released
Revision history for this message
HASSAN SAID OMAR (sayyidhassan) wrote :

when i enable ufw it gives a message that it is loaded,but on rebooting the status is given as "not loaded".
running
$ lsmod|grep ipv6 gives
 ipv6 267780 18
and
$ cat /etc/ufw/ufw.conf
# /etc/ufw/ufw.conf
#

# set to yes to start on boot
ENABLED=yes
$ ufw version
ufw 0.16.2
Copyright (C) 2008 Canonical Ltd.

please advise

Revision history for this message
HASSAN SAID OMAR (sayyidhassan) wrote :

sorry i forgot to add that am running Hardy Heron
Linux home 2.6.24-16-generic #1 SMP Thu Apr 10 13:23:42 UTC 2008 i686 GNU/Linux

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Hassan,

Please post the output of the following commands:
$ sudo ufw status
$ sudo /etc/init.d/ufw force-reload

Revision history for this message
HASSAN SAID OMAR (sayyidhassan) wrote : Re: [Bug 197285] Re: ufw dont load at startup
  • unnamed Edit (885 bytes, text/html; charset=iso-8859-1)

when i posted the problem i was running Hardy that was updated from the beta release.i have since made a clean install which did not have the problem.thanks alot anyhow.

Jamie Strandboge <email address hidden> wrote: Hassan,

Please post the output of the following commands:
$ sudo ufw status
$ sudo /etc/init.d/ufw force-reload

--
ufw dont load at startup
https://bugs.launchpad.net/bugs/197285
You received this bug notification because you are a direct subscriber
of the bug.

---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.