Skip to content

nixos/libvirtd: Use preferred version of iptables#228625

Merged
FliegendeWurst merged 1 commit intoNixOS:masterfrom
zhaofengli:libvirtd-preferred-iptables
May 10, 2025
Merged

nixos/libvirtd: Use preferred version of iptables#228625
FliegendeWurst merged 1 commit intoNixOS:masterfrom
zhaofengli:libvirtd-preferred-iptables

Conversation

@zhaofengli
Copy link
Copy Markdown
Member

Description of changes

Similar to #181334. Currently, if you set networking.firewall.package = pkgs.iptables-legacy; and enable libvirtd at the same time, the system path will contain the nft-based iptables.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.05 Release Notes (or backporting 22.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

@github-actions github-actions Bot added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` labels Apr 28, 2023
@ofborg ofborg Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 28, 2023
Copy link
Copy Markdown
Contributor

@tomfitzhenry tomfitzhenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. nixosTests.libvirtd passes.

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Mar 9, 2024
@wegank wegank added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Mar 19, 2024
@stale stale Bot removed the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Dec 1, 2024
@wegank wegank added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Dec 1, 2024
@wegank wegank added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jan 2, 2025
@wegank wegank added the 2.status: merge conflict This PR has merge conflicts with the target branch label Apr 2, 2025
@zhaofengli zhaofengli force-pushed the libvirtd-preferred-iptables branch from 0bbc4d5 to 88fc736 Compare May 10, 2025 03:33
@ofborg ofborg Bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label May 10, 2025
Comment thread nixos/modules/virtualisation/libvirtd.nix Outdated
@stale stale Bot removed 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md labels May 10, 2025
@zhaofengli zhaofengli force-pushed the libvirtd-preferred-iptables branch from 88fc736 to 13bb852 Compare May 10, 2025 18:50
@FliegendeWurst FliegendeWurst merged commit 4d4f862 into NixOS:master May 10, 2025
22 of 23 checks passed
@zhaofengli zhaofengli deleted the libvirtd-preferred-iptables branch May 10, 2025 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants