Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1223251

Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption

Path csiph.com!weretis.net!feeder8.news.weretis.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Chris Hofstaedtler <zeha@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption
Date Sun, 08 Dec 2024 19:20:01 +0100
Message-ID <JRu2R-eTGP-7@gated-at.bofh.it> (permalink)
References <JRmoF-eFNq-9@gated-at.bofh.it> <JRmoF-eFNq-9@gated-at.bofh.it>
X-Original-To Sergey Aleynikov <sergey.aleynikov+deb@gmail.com>, 1089516@bugs.debian.org
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sun Dec 8 18:18:07 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -3.999
Reply-To Chris Hofstaedtler <zeha@debian.org>, 1089516@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>
X-Debian-Pr-Message followup 1089516
X-Debian-Pr-Package kpartx
X-Debian-Pr-Source multipath-tools
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
X-Debian-User zeha
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1872484
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Sun, 8 Dec 2024 19:15:09 +0100
X-Original-Message-ID <fogqb7az2a3jade5ewklpcvar645kfhdxansvpafxvmckbgaqk@wqbzk5krnnjq>
X-Original-References <173365229040.69707.11742781212516913712.reportbug@fangorn> <173365229040.69707.11742781212516913712.reportbug@fangorn>
Xref csiph.com linux.debian.bugs.dist:1223251

Show key headers only | View raw


Control: tags -1 + wontfix

* Sergey Aleynikov <sergey.aleynikov+deb@gmail.com> [241208 11:09]:
> While investigating this, I found that kpartx package has two following changes between bullseye and bookworm:
> 
> - dropped /lib/udev/dmsetup_env
> - removed IMPORT{program}="dmsetup_env %M %m" line from /lib/udev/rules.d/60-kpartx.rules
> 
> After reverting those two changes, automatic boot sequence is restored for me. Is it possible to revert this change and restore
> old correct behaviour? Or is some new mechanism suggested (and in this case it'd be great to mention it in Changes,
> as currently there's no mentions of possible breakage and workarounds)?

If dmsetup_env helps with anything, then you found some other
package's udev rules relying on extremely outdated stuff.

dmsetup_env should have exported DM_NAME, DM_UUID, DM_STATE=ACTIVE,
DM_TABLE_STATE=LIVE. DM_NAME and DM_UUID should be exported by the
dmsetup udev helper (from src:lvm2).

Hope that helps.

Chris

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption Sergey Aleynikov <sergey.aleynikov+deb@gmail.com> - 2024-12-08 11:10 +0100
  Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption Chris Hofstaedtler <zeha@debian.org> - 2024-12-08 19:20 +0100
  Bug#1089516: kpartx won't handle boot cryptsetup'ed devices after decryption Chris Hofstaedtler <zeha@debian.org> - 2024-12-08 20:50 +0100

csiph-web