Skip to content

Commit 0ed39e6

Browse files
committed
Restart qubes-firewall on failure
Sometimes, on a small sys-net, qubes-firewall gets killed by OOM killer, if it happens to start and reload rules at the time when many other services are starting. This results in no network access to downstream VMs. Restart it on failure automatically, but with 5s delay. QubesOS/qubes-issues#10886
1 parent 8a74a7d commit 0ed39e6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

vm-systemd/qubes-firewall.service

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ Before=qubes-network.service
77
[Service]
88
Type=notify-reload
99
ExecStart=/usr/bin/qubes-firewall
10+
Restart=on-failure
11+
RestartSec=5s
1012

1113
[Install]
1214
WantedBy=multi-user.target

0 commit comments

Comments
 (0)