Debian Bug report logs - #1069569
extra_system_ids setting does not work

version graph

Package: lvm2; Maintainer for lvm2 is Debian LVM Team <[email protected]>; Source for lvm2 is src:lvm2 (PTS, buildd, popcon).

Reported by: Ian Jackson <[email protected]>

Date: Sat, 20 Apr 2024 16:21:02 UTC

Severity: normal

Found in version lvm2/2.03.11-2.1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian LVM Team <[email protected]>:
Bug#1069569; Package lvm2. (Sat, 20 Apr 2024 16:21:04 GMT) (full text, mbox, link).


Acknowledgement sent to Ian Jackson <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian LVM Team <[email protected]>. (Sat, 20 Apr 2024 16:21:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Ian Jackson <[email protected]>
To: [email protected]
Subject: extra_system_ids setting does not work
Date: Sat, 20 Apr 2024 17:18:57 +0100
Package: lvm2
Version: 2.03.11-2.1

root@recovery:~# lvcreate --config 'local/extra_system_id=["hub"]' -L 1G -n test -Z y hub-early-b
  Configuration setting "local/extra_system_id" unknown.
  Cannot access VG hub-early-b with system ID hub with local system ID recovery.
root@recovery:~# 

This is almost identical to the example from the lvmsystemid(7)
manpage, under "Overriding system ID".  I also tried the
"lvmlocal.conf" setting exhibited there, and that didn't work either.

I was able to work around the problem by setting "system_id_source" in
lvm.conf and setting and the system's hostname with hostname(8):

root@recovery:~# cat /etc/lvm/lvm.conf
global {
system_id_source = "uname"
}
root@recovery:~#

Ian.

-- 
Ian Jackson <[email protected]>   These opinions are my own.  

Pronouns: they/he.  If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 05:34:00 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.