Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334921 - app-emulation/libvirt-0.8.3-r1: unknown option `--checksum-fill' for iptables
Summary: app-emulation/libvirt-0.8.3-r1: unknown option `--checksum-fill' for iptables
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Virtualization Team
URL:
Whiteboard:
Keywords:
: 334923 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-28 02:57 UTC by fkhp
Modified: 2011-02-02 19:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fkhp 2010-08-28 02:57:33 UTC
Aug 28 10:51:38 gentoo libvirtd: 10:51:38.542: error : virRunWithHook:857 : internal error '/sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill' exited with non-zero status 2 and signal 0: iptables v1.4.9.1: unknown option `--checksum-fill'


Reproducible: Always
Comment 1 fkhp 2010-08-28 03:01:18 UTC
Aug 28 10:58:23 gentoo libvirtd: 10:58:23.557: warning : networkAddIptablesRules:851 : May need to update iptables package & kernel to support CHECKSUM rule.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2010-08-31 14:06:18 UTC
*** Bug 334923 has been marked as a duplicate of this bug. ***
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2010-08-31 14:07:02 UTC
I see you're already running the latest iptables in the tree, which still doesn't have the option libvirt expects.
Comment 4 Michael Evans 2010-09-18 05:16:12 UTC
This is the offending commit.

http://libvirt.org/git/?p=libvirt.git;a=commitdiff;h=fd5b15ff1a2ec37e75609c091522ae1e2c74c811

Shortest term solution: patch this /out/ of effected source code (all versions gentoo currently retains if I'm not mistaken).

Alternate: iptables patch with CHECKSUM support

Longer term solutions:
A) Fix the patch to always treat iptables errors as warnings.
B) iptables release with CHECKSUM support

Sep 17 21:57:32 localhost libvirtd: 21:57:32.992: error : virRunWithHook:857 : internal error '/sbin/iptables --table mangle --insert POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill' exited with non-zero status 2 and signal 0: iptables v1.4.9.1: unknown option `--checksum-fill'
Sep 17 21:57:32 localhost libvirtd: 21:57:32.992: warning : networkAddIptablesRules:873 : Could not add rule to fixup DHCP response checksums on network 'default'.
Sep 17 21:57:32 localhost libvirtd: 21:57:32.992: warning : networkAddIptablesRules:874 : May need to update iptables package & kernel to support CHECKSUM rule.
Sep 17 21:57:33 localhost libvirtd: 21:57:33.003: error : virRunWithHook:857 : internal error '/usr/sbin/dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file=  --listen-address 192.168.122.1 --except-interface lo --dhcp-range 192.168.122.2,192.168.122.254 --dhcp-lease-max=253 --dhcp-no-override' exited with non-zero status 2 and signal 0: 
Sep 17 21:57:33 localhost libvirtd: 21:57:33.015: error : virRunWithHook:857 : internal error '/sbin/iptables --table mangle --delete POSTROUTING --out-interface virbr0 --protocol udp --destination-port 68 --jump CHECKSUM --checksum-fill' exited with non-zero status 2 and signal 0: iptables v1.4.9.1: unknown option `--checksum-fill'
Sep 17 21:57:33 localhost libvirtd: 21:57:33.114: error : virRunWithHook:857 : internal error '/sbin/iptables --table filter --delete INPUT --in-interface virbr0 --protocol udp --destination-port 69 --jump ACCEPT' exited with non-zero status 1 and signal 0: iptables: Bad rule (does a matching rule exist in that chain?).
Sep 17 21:57:33 localhost libvirtd: 21:57:33.867: warning : qemudStartup:1848 : Unable to create cgroup for driver: No such device or address
Comment 5 Michael Evans 2010-09-18 05:40:27 UTC
I ran in to an additional error-case which is unrelated to this bug, except for incidentally providing a possible workaround if my proposed resolution is realized.

https://bugzilla.redhat.com/show_bug.cgi?id=635211
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2011-02-02 19:24:48 UTC
Fixed in all libvirt's in the tree.