Order qubesd.service after lvm2-pvscan@.service

qubesd needs to list LVM volumes, so start it when the list is
available.

Fixes QubesOS/qubes-issues#2960
This commit is contained in:
Marek Marczykowski-Górecki 2017-08-12 19:50:50 +02:00
parent 5a9f478466
commit 8d8bbb99e9
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724
3 changed files with 6 additions and 0 deletions

View File

@ -11,3 +11,6 @@ install:
cp qubes-reload-firewall@.timer $(DESTDIR)$(UNITDIR)
cp qubes-qmemman.service $(DESTDIR)$(UNITDIR)
cp qubesd.service $(DESTDIR)$(UNITDIR)
install -d $(DESTDIR)$(UNITDIR)/lvm2-pvscan@.service.d
install -m 0644 lvm2-pvscan@.service.d_30_qubes.conf \
$(DESTDIR)$(UNITDIR)/lvm2-pvscan@.service.d/30_qubes.conf

View File

@ -0,0 +1,2 @@
[Unit]
Before=qubesd.service

View File

@ -392,6 +392,7 @@ fi
/usr/lib/qubes/fix-dir-perms.sh
/usr/lib/qubes/startup-misc.sh
/usr/libexec/qubes/qubesd-query-fast
%{_unitdir}/lvm2-pvscan@.service.d/30_qubes.conf
%{_unitdir}/qubes-core.service
%{_unitdir}/qubes-qmemman.service
%{_unitdir}/qubes-vm@.service