Should qubes-mount-dirs.service depend on qubes-db.service?

19 views
Skip to first unread message

Patrick Schleizer

unread,
Jul 23, 2016, 1:17:27 PM7/23/16
to qubes...@googlegroups.com
mount-dirs.sh an bind-dirs.sh [1] depend on qubesdb-read and
/var/run/qubes-service/qubes-dvm'

Are we missing any systemd dependencies?

Should qubes-mount-dirs.service add

After=qubes-db.service

or is this somehow implicit already the case?

Cheers,
Patrick

[1]
https://github.com/marmarek/qubes-core-agent-linux/blob/master/vm-systemd/bind-dirs.sh
[2]
https://github.com/marmarek/qubes-core-agent-linux/blob/master/vm-systemd/qubes-mount-dirs.service

Marek Marczykowski-Górecki

unread,
Jul 23, 2016, 1:21:44 PM7/23/16
to Patrick Schleizer, qubes...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, Jul 23, 2016 at 05:17:00PM +0000, Patrick Schleizer wrote:
> mount-dirs.sh an bind-dirs.sh [1] depend on qubesdb-read and
> /var/run/qubes-service/qubes-dvm'
>
> Are we missing any systemd dependencies?
>
> Should qubes-mount-dirs.service add
>
> After=qubes-db.service
>
> or is this somehow implicit already the case?

Yes, it is - qubes-sysinit.service[3] is part of sysinit.target, after
which all services are ordered by default (unless
DefaultDependencies=no is specified).
[3]
https://github.com/marmarek/qubes-core-agent-linux/blob/master/vm-systemd/qubes-sysinit.service

- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJXk6efAAoJENuP0xzK19csgPoIAJWE0UpQAxLjIdhEeMqvtuJ0
LzNVM4LlFr5WKzzQx/F0hFOD/vRkU4B3acXbGXscvOQCJzHVzQ6GmOo4i4qkzMts
lavsTFa9ttz4gl8lz6Rlmu2Duxs8JlFheCCgkri20+iiYBslzHW8xvwL8c4WCiIb
YP4usS/7YsSaVsl+HbxViql1ZZ6VB6u6w/io60uYdJR6IFYvC2cr2FuOgvfKtN5Y
KDj+d0XXIl24RQPsSzyQiocFjagf0DsyzUWC36Z2NzjckbEJxRgywxQHO6+lhQjn
e1LDtnDK2HmR6UcVc0OBh2mWPtFEjxoNAgKITx+t3G1X43xKxMsSSrk0R/8LaFI=
=Z8lN
-----END PGP SIGNATURE-----
Reply all
Reply to author
Forward
0 new messages