1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

system_id: explain the reason for choosing appmachineid over machineid

Since understanding the reason for choosing the appmachineid over the
direct use of machineid is not easily found, I extended to help text to
clarify this a bit.
This commit is contained in:
Andre Klärner 2024-02-05 13:57:30 -06:00 committed by David Teigland
parent 82f187ce88
commit fe822f7043
2 changed files with 5 additions and 8 deletions

View File

@ -1327,8 +1327,9 @@ cfg(global_system_id_source_CFG, "system_id_source", global_CFG_SECTION, CFG_DEF
" Use an LVM-specific derivation of the local machine-id as the\n" " Use an LVM-specific derivation of the local machine-id as the\n"
" system ID. See 'man machine-id'.\n" " system ID. See 'man machine-id'.\n"
" machineid\n" " machineid\n"
" Use the contents of the machine-id file to set the system ID\n" " Use the contents of the machine-id file to set the system ID.\n"
" (appmachineid is recommended.)\n" " (appmachineid is recommended to avoid exposing the confidential\n"
" machine-id.)\n"
" file\n" " file\n"
" Use the contents of another file (system_id_file) to set the\n" " Use the contents of another file (system_id_file) to set the\n"
" system ID.\n" " system ID.\n"

View File

@ -192,12 +192,8 @@ global {
.B machineid .B machineid
.br .br
The content of /etc/machine-id is used as the system ID if available. The content of /etc/machine-id is used as the system ID if available.
See (appmachineid is recommended to avoid exposing the confidential
.BR machine-id (5) machine-id.)
and
.BR systemd-machine-id-setup (1)
to check if machine-id is available on the host.
(appmachineid is recommended in place of machineid.)
.sp .sp
.I lvm.conf .I lvm.conf
.nf .nf