Skip to contentSkip to conversation

systemd: use standard dependencies for xendriverdomain.service

PATCH In review Marek Marczykowski-Górecki 2 participants 3 messages Jul 24, 2016 – Jul 25, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 systemd: use standard dependencies for xendriverdomain.service

Having DefaultDependencies=no means it can be started before / is remounted read-write, which will result in various failures (to start with opening the log).
Since "libxl: trigger attach events for devices attached before xl devd startup" it is no longer important to start it as early as possible, because it will process devices created before its startup.

---
 tools/hotplug/Linux/systemd/xendriverdomain.service.in | 1 -
 1 file changed, 1 deletion(-)
tools/hotplug/Linux/systemd/xendriverdomain.service.in +0 -1
index c0cd454..0afb54d 100644
@@ -1,6 +1,5 @@
 [Unit]
 Description=Xen driver domain device daemon
-DefaultDependencies=no
 Requires=proc-xen.mount
 After=proc-xen.mount
 ConditionVirtualization=xen
Signature · 1 line
2.5.5

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

Acked-by on v1 1/2
#1 lore raw
Quoted 10 lines · Marek Marczykowski-Górecki

Having DefaultDependencies=no means it can be started before / is remounted read-write, which will result in various failures (to start with opening the log).
Since "libxl: trigger attach events for devices attached before xl devd startup" it is no longer important to start it as early as possible, because it will process devices created before its startup.

The reasoning makes sense.

Also CC Rusty (author of this file)

Quoted 17 lines
---
 tools/hotplug/Linux/systemd/xendriverdomain.service.in | 1 -
 1 file changed, 1 deletion(-)
tools/hotplug/Linux/systemd/xendriverdomain.service.in +0 -1
index c0cd454..0afb54d 100644
@@ -1,6 +1,5 @@
 [Unit]
 Description=Xen driver domain device daemon
-DefaultDependencies=no
 Requires=proc-xen.mount
 After=proc-xen.mount
 ConditionVirtualization=xen
Signature · 1 line
2.5.5

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw
Quoted 12 lines · Wei Liu
Quoted 10 lines · Marek Marczykowski-Górecki

Having DefaultDependencies=no means it can be started before / is remounted read-write, which will result in various failures (to start with opening the log).
Since "libxl: trigger attach events for devices attached before xl devd startup" it is no longer important to start it as early as possible, because it will process devices created before its startup.

Quoted 6 lines

The reasoning makes sense.

Also CC Rusty (author of this file)

Pushed.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel