From b7d80806b68a97cde6dfdf64ef7bc31e9c42a6b8 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 14 May 2015 10:50:21 +0200 Subject: [PATCH] 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(-) diff --git a/conf/example.conf.in b/conf/example.conf.in index fc27a9824..cc02e98f6 100644 --- a/conf/example.conf.in +++ b/conf/example.conf.in @@ -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 diff --git a/lib/config/config_settings.h b/lib/config/config_settings.h index 4fd886d4e..d1d35b15e 100644 --- a/lib/config/config_settings.h +++ b/lib/config/config_settings.h @@ -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" -- 2.43.5