-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
"nixos-rebuild switch" kills container networking 2 #26342
Copy link
Copy link
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Fields
Give feedbackNo fields configured for issues without a type.
Issue description
When upgrading from
69d9061908to05126bc8503(release-17.03),network-setup.servicewas stopped and then started. Becausebr0-netdev.servicehasPartOf=network-setup.serviceit was stopped too, despite configuredX-ReloadIfChanged=true. This effectively broke internet access in container, just as described in #21745Looks like #22850 wasn't designed to handle such cases. In other words, it didn't fix the #21745 at all!
pinging @volth @kampfschlaefer @fpletz who were involved previously.
Steps to reproduce
Here is an adapted test that shows what did I expect:
Technical details
69d9061908and05126bc8503