lxc-net upstart script fails on nonexistent iptables rules
Bug #1429140 reported by
Daniel Dehennin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned |
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.
CVE References
Changed in lxc (Ubuntu): | |
importance: | Undecided → High |
status: | Incomplete → Triaged |
Changed in lxc (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in lxc (Ubuntu): | |
status: | Fix Committed → Fix Released |
Changed in lxc (Ubuntu Trusty): | |
status: | New → In Progress |
Changed in lxc (Ubuntu Trusty): | |
importance: | Undecided → High |
tags: |
added: verification-done removed: verification-needed |
To post a comment you must log in.
The attachment "Do not crash when removing iptables rules" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]