systemd: fix starting VMs _before_ allowing user login
systemd-user-sessions.service is specicically for that, do not use hack (plymouth-quit.service), which doesn't work when the service is disabled. Fixes QubesOS/qubes-issues#1250
This commit is contained in:
parent
d539bd2be1
commit
a30e8d1f33
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Qubes NetVM startup
|
Description=Qubes NetVM startup
|
||||||
After=qubes-core.service qubes-qmemman.service libvirtd.service
|
After=qubes-core.service qubes-qmemman.service libvirtd.service
|
||||||
Before=plymouth-quit.service
|
Before=systemd-user-sessions.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Start Qubes VM %i
|
Description=Start Qubes VM %i
|
||||||
After=qubes-netvm.service
|
After=qubes-netvm.service
|
||||||
Before=plymouth-quit.service
|
Before=systemd-user-sessions.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
Loading…
Reference in New Issue
Block a user