[lvm-devel] LVM2/daemons/lvmetad lvmetad-client.h

mornfall at sourceware.org mornfall at sourceware.org
Thu Feb 23 11:40:25 UTC 2012


CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	mornfall at sourceware.org	2012-02-23 11:40:24

Modified files:
	daemons/lvmetad: lvmetad-client.h 

Log message:
	Also use DEFAULT_RUN_DIR for the lvmetad socket on the client side.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/lvmetad/lvmetad-client.h.diff?cvsroot=lvm2&r1=1.5&r2=1.6

--- LVM2/daemons/lvmetad/lvmetad-client.h	2012/01/16 08:25:32	1.5
+++ LVM2/daemons/lvmetad/lvmetad-client.h	2012/02/23 11:40:24	1.6
@@ -67,7 +67,7 @@
 	/* TODO configurable */
 	daemon_info lvmetad_info = {
 		.path = "lvmetad",
-		.socket = socket ?: "/var/run/lvm/lvmetad.socket",
+		.socket = socket ?: DEFAULT_RUN_DIR "/lvmetad.socket",
 		.autostart = 1
 	};
 




More information about the lvm-devel mailing list