systemd: use standard dependencies for xendriverdomain.service
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
@@ -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
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.Cc Ian Jackson <[email protected]>Cc Wei Liu <[email protected]>Signed-off-by Marek Marczykowski-Górecki <[email protected]>
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@@ -1,6 +1,5 @@ [Unit] Description=Xen driver domain device daemon -DefaultDependencies=no Requires=proc-xen.mount After=proc-xen.mount ConditionVirtualization=xenSignature · 1 line
2.5.5
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
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.Cc Ian Jackson <[email protected]>Cc Wei Liu <[email protected]>Signed-off-by Marek Marczykowski-Górecki <[email protected]>
Quoted 6 lines
The reasoning makes sense.
Acked-by Wei Liu <[email protected]>Also CC Rusty (author of this file)
Pushed.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel