Debian Bug report logs - #1069182
initscripts: udev initscript SHOULD NOT clear the udev database at startup

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

Reported by: Alex Volkov <[email protected]>

Date: Wed, 17 Apr 2024 12:51:02 UTC

Severity: important

Tags: help, moreinfo

Full log


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

Received: (at 1069182) by bugs.debian.org; 18 Apr 2024 09:24:12 +0000
From [email protected] Thu Apr 18 09:24:11 2024
X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
	(2021-04-09) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.2 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	RCVD_IN_SORBS_DUL,RDNS_NONE,SPF_HELO_NONE,SPF_NONE autolearn=ham
	autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 114; neutral, 33; spammy,
	0. spammytokens: hammytokens:0.000-+--udevadm, 0.000-+--Hindley,
	0.000-+--hindley, 0.000-+--lvm2, 0.000-+--devicemapper
Return-path: <[email protected]>
Received: from [92.248.173.52] (port=58904 helo=bootes.sytes.net)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.94.2)
	(envelope-from <[email protected]>)
	id 1rxO03-0088Y4-Tu
	for [email protected]; Thu, 18 Apr 2024 09:24:11 +0000
Received: from localhost.lan ([127.0.0.1] helo=bootes.localnet)
	by bootes.sytes.net with esmtp (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1rxNzy-0002Wu-1S;
	Thu, 18 Apr 2024 14:24:06 +0500
From: Alex Volkov <[email protected]>
To: [email protected], Mark Hindley <[email protected]>
Subject: Re: Bug#1069182: More background
Date: Thu, 18 Apr 2024 14:24:06 +0500
Message-ID: <12422790.O9o76ZdvQC@bootes>
In-Reply-To: <[email protected]>
References:
 <6039903.lOV4Wx5bFT@bootes> <9268517.CDJkKcVGEf@bootes>
 <[email protected]>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="UTF-8"
On четверг, 18 апреля 2024 г. 11:38:18 +05 Mark Hindley wrote:

>       udevadm: info --cleanup-db
>       "db_persist=" -> "db_persist"
>       require explicit "db_persist" to exclude device info from --db-cleanup

Wow. I knew there's something in this transition to --db-cleanup.

> Does this mean that dm mapper should set db_persist in the initramfs?

More like it's actually needs to be set by the corresponding udev rule in lvm2
package (which does all that device-mapper devices detection). I tried adding
the corresponding OPTIONS+="db_persist" line into 55-dm.rules file and it
worked as intended. I will report the bug to lvm2.






Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 17:42:20 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.