Skip to contentSkip to conversation

tools/hotplug: create XEN_LOG_DIR at runtime

PATCH In review Andrii Anisov 4 participants 4 messages Oct 27, 2017 – Nov 2, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools/hotplug: create XEN_LOG_DIR at runtime

From: Andrii Anisov <[email protected]>

/var/log could be a tmpfs mount point, so create xen subfolder at runtime.

---
 tools/hotplug/Linux/init.d/xencommons.in | 1 +
 1 file changed, 1 insertion(+)
tools/hotplug/Linux/init.d/xencommons.in +1 -0
index a6a40d6..ec42b05 100644
@@ -58,6 +58,7 @@ do_start () {
 
 	mkdir -p ${XEN_RUN_DIR}
 	mkdir -p ${XEN_LOCK_DIR}
+	mkdir -p ${XEN_LOG_DIR}
 
 	@XEN_SCRIPT_DIR@/launch-xenstore || exit 1
 
Signature · 7 lines
2.7.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · Andrii Anisov

From: Andrii Anisov <[email protected]>

/var/log could be a tmpfs mount point, so create xen subfolder at runtime.

Julien I think we should apply this for 4.10.

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

Acked-by
#2 lore raw

Wei Liu writes ("Re: [PATCH] tools/hotplug: create XEN_LOG_DIR at runtime"):

Quoted 5 lines · Andrii Anisov
Quoted 4 lines

From: Andrii Anisov <[email protected]>

/var/log could be a tmpfs mount point, so create xen subfolder at runtime.

Quoted 7 lines
Quoted 3 lines

Julien I think we should apply this for 4.10.

I agree. Subject line tag added.

Ian.

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

#3 lore raw
Quoted 10 lines · Ian Jackson

Wei Liu writes ("Re: [PATCH] tools/hotplug: create XEN_LOG_DIR at runtime"):

Quoted 9 lines · Andrii Anisov
Quoted 7 lines

From: Andrii Anisov <[email protected]>

/var/log could be a tmpfs mount point, so create xen subfolder at runtime.

Quoted 7 lines
Quoted 3 lines

Julien I think we should apply this for 4.10.

I agree. Subject line tag added.

Cheers,

Quoted 8 lines

Ian.

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

Signature · 6 lines
Julien Grall

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