master - conf: system_id_source is referencing CONFDIR
Gitweb: http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=b7d80806b68a97cde6dfdf64ef7bc31e9c42a6b8 Commit: b7d80806b68a97cde6dfdf64ef7bc31e9c42a6b8 Parent: 6fb2552ef47200af1e9b1a987cb3edfdc8f3ee66 Author: Zdenek Kabelac <[email protected]> AuthorDate: Thu May 14 10:50:21 2015 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Thu May 14 10:52:55 2015 +0200
conf: system_id_source is referencing CONFDIR
Since we allow to configure /etc in configure and compile-in dir for /etc we need to properly advertise this location later.
--- conf/example.conf.in | 2 +- lib/config/config_settings.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
conf/example.conf.in +1 -1
@@ -925,7 +925,7 @@ global { # 'local' section of an lvm configuration file, e.g. lvmlocal.conf. # uname - Set the system ID from the hostname (uname) of the system. # System IDs beginning localhost are not permitted. - # machineid - Use the contents of the file /etc/machine-id to set the + # machineid - Use the contents of the file @CONFDIR@/machine-id to set the # system ID. Some systems create this file at installation time. # See 'man machine-id'. # file - Use the contents of another file (system_id_file) to set
lib/config/config_settings.h +1 -1
@@ -903,7 +903,7 @@ cfg(global_system_id_source_CFG, "system_id_source", global_CFG_SECTION, 0, CFG_"'local' section of an lvm configuration file, e.g. lvmlocal.conf.\n" "uname - Set the system ID from the hostname (uname) of the system.\n" "System IDs beginning localhost are not permitted.\n" -"machineid - Use the contents of the file /etc/machine-id to set the\n" +"machineid - Use the contents of the file " DEFAULT_ETC_DIR "/machine-id to set the\n" "system ID. Some systems create this file at installation time.\n" "See 'man machine-id'.\n" "file - Use the contents of another file (system_id_file) to set\n"