Skip to content

Commit d8d5a6a

Browse files
committed
Merge remote-tracking branch 'origin/pr/581'
* origin/pr/581: disable firewalld by default qubes-core-agent: remove conflict with firewalld Pull request description: Retrying #580 🤞 Currently, qubes-core-agent does not allow installation alongside firewalld. They seem to get along as fine as one would expect when allowed, though. Users should be allowed to use it if they want. firewalld will not run even if the default systemd service is enabled: The service is actually enabled by presence of `/var/run/qubes-service/firewalld`.
2 parents 1c538af + bd9945f commit d8d5a6a

File tree

6 files changed

+7
-2
lines changed

6 files changed

+7
-2
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ SYSTEM_DROPINS += cups.service cups-browsed.service cups.path cups.socket ModemM
4646
SYSTEM_DROPINS += getty@tty.service serial-getty@.service
4747
SYSTEM_DROPINS += tmp.mount
4848
SYSTEM_DROPINS += org.cups.cupsd.service org.cups.cupsd.path org.cups.cupsd.socket
49+
SYSTEM_DROPINS += firewalld.service
4950
SYSTEM_DROPINS += systemd-random-seed.service
5051
SYSTEM_DROPINS += tor.service tor@default.service
5152
SYSTEM_DROPINS += systemd-timesyncd.service

debian/control

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ Recommends:
7979
xterm
8080
Conflicts:
8181
qubes-core-agent-linux,
82-
firewalld,
8382
qubes-core-vm-sysvinit,
8483
qubes-gui-agent (<< 4.1.6-1),
8584
pulseaudio-qubes (<< 4.2.0-1),

debian/qubes-core-agent.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ lib/systemd/system/cups.service.d/30_qubes.conf
8686
lib/systemd/system/cups.socket.d/30_qubes.conf
8787
lib/systemd/system/cups-browsed.service.d/30_qubes.conf
8888
lib/systemd/system/exim4.service.d/30_qubes.conf
89+
lib/systemd/system/firewalld.service.d/30_qubes.conf
8990
lib/systemd/system/getty@tty.service.d/30_qubes.conf
9091
lib/systemd/system/netfilter-persistent.service.d/30_qubes.conf
9192
lib/systemd/system/org.cups.cupsd.path.d/30_qubes.conf

rpm_spec/core-agent.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ Vendor: Invisible Things Lab
125125
License: GPL
126126
URL: https://www.qubes-os.org
127127

128-
Conflicts: firewalld
129128
Requires: xdg-utils
130129
Requires: qubes-utils >= 3.1.3
131130
Requires: qubes-utils-libs >= 4.3.1
@@ -1313,6 +1312,7 @@ The Qubes core startup configuration for SystemD init.
13131312
%_unitdir/org.cups.cupsd.socket.d/30_qubes.conf
13141313
%dir %_unitdir/org.cups.cupsd.path.d
13151314
%_unitdir/org.cups.cupsd.path.d/30_qubes.conf
1315+
%_unitdir/firewalld.service.d/30_qubes.conf
13161316
%_unitdir/getty@tty.service.d/30_qubes.conf
13171317
%_unitdir/ModemManager.service.d/30_qubes.conf
13181318
%_unitdir/NetworkManager.service.d/30_qubes.conf

vm-systemd/75-qubes-vm.preset

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
disable avahi.service
3535
disable avahi-daemon.service
3636
disable avahi-daemon.socket
37+
disable firewalld.service
3738

3839
# Fedora only services
3940
disable rpcbind.service
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[Unit]
2+
ConditionPathExists=/var/run/qubes-service/firewalld
3+
After=qubes-firewall.service

0 commit comments

Comments
 (0)