Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xen service: fix wrong netmask handed out by xen-bridge.service #19900

Merged
merged 1 commit into from
Nov 28, 2016

Conversation

michalpalka
Copy link

Motivation for this change

The xen-bridge.service serves an invalid netmask over DHCP to VMs, as described in #19883. Fix it by omitting the option specifying the netmask from dnsmasq.conf used by the dnsmasq of xen-bridge.service.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

The dnsmasq instance run by the xen-bridge.service errorenously
hands out 172.16.0.0 as the netmask over DHCP to the VMs. This
commit removes the option responsible for that from dnsmasq.conf,
so that the proper netmask is inferred by dnsmasq instead.

Addresses #19883

The dnsmasq instance run by the xen-bridge.service errorenously
hands out 172.16.0.0 as the netmask over DHCP to the VMs. This
commit removes the option responsible for that from dnsmasq.conf,
so that the proper netmask is inferred by dnsmasq instead.

Addresses NixOS#19883
@mention-bot
Copy link

@michalpalka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @edolstra, @lethalman and @peti to be potential reviewers.

@joachifm joachifm merged commit 8eefcb5 into NixOS:master Nov 28, 2016
@michalpalka michalpalka deleted the xen-fix-xen-bridge2 branch May 11, 2017 10:00
@SigmaSquadron SigmaSquadron added the 6.topic: xen-project The Xen Project hypervisor label Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.topic: xen-project The Xen Project hypervisor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants