I'd be ok with adding a /usr/share/lxc/hooks/network-bootpc-checksum
script which does the iptables add, and having the debian template add
that to lxc.hook.pre-start.  However, in that hook script we'd want to
avoid having one rule added per container start.  What's the cleanest
and most robust way to detect if the rule has already been inserted?  We
can do a iptables -t mangle -L and look for

CHECKSUM   udp  --  anywhere             anywhere             udp
dpt:bootpc CHECKSUM fill

but that feels fragile.  Any better ideas?

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to dhcp3 in Ubuntu.
https://bugs.launchpad.net/bugs/930962

Title:
  dhcp3-server reports many bad udp checksums to syslog using virtio NIC

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dhcp3/+bug/930962/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to