touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #60422
[Bug 1429140] [NEW] lxc-net upstart script fails on nonexistent iptables rules
Public bug reported:
Hello,
On Trusty, the stop of lxc-net fails if the iptables rules are not
present.
I added “exec >> /tmp/lxc-net.log 2>&1” at the beginning of pre-start
and post-stop and get:
iptables: Bad rule (does a matching rule exist in that chain?).
On Precise, a “|| true” was added to avoid errors.
I attach a patch to disable exit on failing iptables call.
Regards.
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Tags: trusty
** Patch added: "Do not crash when removing iptables rules"
https://bugs.launchpad.net/bugs/1429140/+attachment/4336120/+files/lxc-net.conf.patch
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1429140
Title:
lxc-net upstart script fails on nonexistent iptables rules
Status in lxc package in Ubuntu:
New
Bug description:
Hello,
On Trusty, the stop of lxc-net fails if the iptables rules are not
present.
I added “exec >> /tmp/lxc-net.log 2>&1” at the beginning of pre-start
and post-stop and get:
iptables: Bad rule (does a matching rule exist in that chain?).
On Precise, a “|| true” was added to avoid errors.
I attach a patch to disable exit on failing iptables call.
Regards.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1429140/+subscriptions
Follow ups
-
[Bug 1429140] Update Released
From: Stéphane Graber, 2015-11-30
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Launchpad Bug Tracker, 2015-11-30
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Stéphane Graber, 2015-11-25
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Chris J Arges, 2015-11-18
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Daniel Dehennin, 2015-11-16
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Chris J Arges, 2015-11-13
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Daniel Dehennin, 2015-11-13
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Mathew Hodson, 2015-11-12
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Chris J Arges, 2015-11-11
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Stéphane Graber, 2015-11-09
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Serge Hallyn, 2015-03-19
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Serge Hallyn, 2015-03-19
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Serge Hallyn, 2015-03-19
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Daniel Dehennin, 2015-03-19
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Serge Hallyn, 2015-03-19
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Serge Hallyn, 2015-03-19
-
[Bug 1429140] Re: lxc-net upstart script fails on nonexistent iptables rules
From: Ubuntu Foundations Team Bug Bot, 2015-03-06
-
[Bug 1429140] [NEW] lxc-net upstart script fails on nonexistent iptables rules
From: Daniel Dehennin, 2015-03-06
References