Skip to content

Commit

Permalink
Remove qubes-netvm.service
Browse files Browse the repository at this point in the history
Since qubesd properly handle chained startup of sys-net->sys-firewall
etc, we don't need a separate service to start netvm explicitly earlier.

Fixes QubesOS/qubes-issues#2533
  • Loading branch information
marmarek committed Jul 7, 2017
1 parent d9db4f7 commit a9ece6f
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 24 deletions.
1 change: 0 additions & 1 deletion linux/systemd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ all:
install:
mkdir -p $(DESTDIR)$(UNITDIR)
cp qubes-core.service $(DESTDIR)$(UNITDIR)
cp qubes-netvm.service $(DESTDIR)$(UNITDIR)
cp qubes-vm@.service $(DESTDIR)$(UNITDIR)
cp qubes-reload-firewall@.service $(DESTDIR)$(UNITDIR)
cp qubes-reload-firewall@.timer $(DESTDIR)$(UNITDIR)
Expand Down
17 changes: 0 additions & 17 deletions linux/systemd/qubes-netvm.service

This file was deleted.

1 change: 0 additions & 1 deletion linux/systemd/qubes-reload-firewall@.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[Unit]
Description=Reload firewall for VM %i
After=qubes-netvm.service

[Service]
Type=simple
Expand Down
1 change: 0 additions & 1 deletion linux/systemd/qubes-vm@.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[Unit]
Description=Start Qubes VM %i
After=qubes-netvm.service
Before=systemd-user-sessions.service

[Service]
Expand Down
4 changes: 0 additions & 4 deletions rpm_spec/core-dom0.spec
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ make -C doc DESTDIR=$RPM_BUILD_ROOT \

%post
%systemd_post qubes-core.service
%systemd_post qubes-netvm.service
%systemd_post qubes-qmemman.service
%systemd_post qubesd.service

Expand Down Expand Up @@ -180,7 +179,6 @@ fi

%preun
%systemd_preun qubes-core.service
%systemd_preun qubes-netvm.service
%systemd_preun qubes-qmemman.service
%systemd_preun qubesd.service

Expand All @@ -192,7 +190,6 @@ fi

%postun
%systemd_postun qubes-core.service
%systemd_postun qubes-netvm.service
%systemd_postun_with_restart qubes-qmemman.service
%systemd_postun_with_restart qubesd.service

Expand Down Expand Up @@ -391,7 +388,6 @@ fi
/usr/lib/qubes/startup-misc.sh
/usr/libexec/qubes/qubesd-query-fast
%{_unitdir}/qubes-core.service
%{_unitdir}/qubes-netvm.service
%{_unitdir}/qubes-qmemman.service
%{_unitdir}/qubes-vm@.service
%{_unitdir}/qubesd.service
Expand Down

0 comments on commit a9ece6f

Please sign in to comment.