Debian Bug report logs -
#494910
partman-crypto: No longer allows to manually create LVM on crypto setup
Reported by: Frans Pop <elendil@planet.nl>
Date: Wed, 13 Aug 2008 00:24:01 UTC
Severity: serious
Tags: patch
Fixed in version partman-lvm/63
Done: Jérémy Bobbio <lunar@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#494910; Package partman-crypto.
(full text, mbox, link).
Acknowledgement sent to Frans Pop <elendil@planet.nl>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>.
(full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: partman-crypto
Version: 34
Severity: serious
This is probably not a bug in partman-crypto itself, but I think that's
the best place to start. Potential culprits include libparted,
partman-base and partman-lvm...
For a new laptop I wanted to manually create an encrypted LVM setup, so I
first created a physical partition, then selected to use that for
dm-crypt. After doing that the encrypted was initially shown in partman
as ext3.
Next I selected the encrypted device and changed it to "Use for LVM" and
selected "Configure LVM". This resulted in a red screen. VT4 shows "Can't
open /dev/mapper/hda6_crypt exclusively. Mounted filesystem?".
Confused I exited partman and restarted it. After that I suddenly find the
following device listed on the main partman screen:
LVM VG hda6_cryptp1, LV hda6_cryptp1
And:
# ls /dev/mapper/
control hda6_crypt hda6_cryptp1
This last device obviously should NOT be there.
Setting severity RC as this used to work and is IMO a serious regression.
Note that this was still with the "old" libparted1.8-udeb (which I
installed manually after anna to work around current breakage).
Image used is daily amd64 netboot.
[signature.asc (application/pgp-signature, inline)]
Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#494910; Package partman-crypto.
(full text, mbox, link).
Acknowledgement sent to Jérémy Bobbio <lunar@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>.
(full text, mbox, link).
Message #10 received at 494910@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
reassign 494910 partman-lvm
tags 494910 + patch
thanks
On Wed, Aug 13, 2008 at 02:21:28AM +0200, Frans Pop wrote:
> This is probably not a bug in partman-crypto itself, but I think that's
> the best place to start. Potential culprits include libparted,
> partman-base and partman-lvm...
This bug seems triggered by recent changes in parted, but is actually in
partman-lvm.
> […]
> And:
> # ls /dev/mapper/
> control hda6_crypt hda6_cryptp1
>
> This last device obviously should NOT be there.
This last devices is created because update.d/lvm_sync_flag did not skip
crypto devices and did set the "lvm" flag on the "virtual" partition.
The result is that partman believes that the "virtual" (of type loop)
has been changed and apply these changes on commit.
It then gets everything wrong and create the _cryptp1 partition.
update.d/lvm_sync_flag previously partitions on RAID devices, but this
must also be done for partition on crypto devices. And actually, it
looks to me like we could skip every disk with partition type "loop"
from LVM flag settings.
The attached patch fixed the issue in my tests.
Cheers,
--
Jérémy Bobbio .''`.
lunar@debian.org : :Ⓐ : # apt-get install anarchism
`. `'`
`-
[partman-lvm_fix-494910.diff (text/x-diff, attachment)]
[signature.asc (application/pgp-signature, inline)]
Tags added: patch
Request was from Jérémy Bobbio <lunar@debian.org>
to control@bugs.debian.org.
(Fri, 15 Aug 2008 12:39:07 GMT) (full text, mbox, link).
Reply sent to Jérémy Bobbio <lunar@debian.org>:
You have taken responsibility.
(full text, mbox, link).
Notification sent to Frans Pop <elendil@planet.nl>:
Bug acknowledged by developer.
(full text, mbox, link).
Message #19 received at 494910-close@bugs.debian.org (full text, mbox, reply):
Source: partman-lvm
Source-Version: 63
We believe that the bug you reported is fixed in the latest version of
partman-lvm, which is due to be installed in the Debian FTP archive:
partman-lvm_63.dsc
to pool/main/p/partman-lvm/partman-lvm_63.dsc
partman-lvm_63.tar.gz
to pool/main/p/partman-lvm/partman-lvm_63.tar.gz
partman-lvm_63_all.udeb
to pool/main/p/partman-lvm/partman-lvm_63_all.udeb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 494910@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jérémy Bobbio <lunar@debian.org> (supplier of updated partman-lvm package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 19 Aug 2008 17:32:40 +0000
Source: partman-lvm
Binary: partman-lvm
Architecture: source all
Version: 63
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Jérémy Bobbio <lunar@debian.org>
Description:
partman-lvm - Adds support for LVM to partman (udeb)
Closes: 494910
Changes:
partman-lvm (63) unstable; urgency=low
.
[ Jérémy Bobbio ]
* Don't fiddle with label on devices of type loop (e.g. RAID or crypto) in
update.d/lvm_sync_flag. (Closes: #494910)
.
[ Updated translations ]
* Arabic (ar.po) by Ossama M. Khayat
* Kurdish (ku.po) by Erdal Ronahi
* Portuguese (Brazil) (pt_BR.po) by Felipe Augusto van de Wiel (faw)
* Traditional Chinese (zh_TW.po) by Tetralet
Checksums-Sha1:
5c9e7bf78095f4e70d9b6c4ac34cba15d293e7cb 896 partman-lvm_63.dsc
60410438c63dfe78e032ecaff3c4ecfdcf5b3686 222767 partman-lvm_63.tar.gz
692f18e135f315951d88a576fd4e52690097b191 211758 partman-lvm_63_all.udeb
Checksums-Sha256:
5653b737d6c7bc4ed120a6aa6e9ec3fd179e48f9017d45d846dca02924034962 896 partman-lvm_63.dsc
b7dfb9fd3fe3650f04ecee35e4db1895c431ebedc10aa25c836b091755bad512 222767 partman-lvm_63.tar.gz
b74a295a8f8c6887cbc933f2a8e70f5b8c557dabcaa7a9dc1d1033e3c58f8731 211758 partman-lvm_63_all.udeb
Files:
3daf63a52aa2ed1596e7d0d5d57bdbdf 896 debian-installer optional partman-lvm_63.dsc
48ab896b20b5b7eb8c2247b2daaf3d4d 222767 debian-installer optional partman-lvm_63.tar.gz
04400ebdf7a98d85c0011a6bc42f87ba 211758 debian-installer optional partman-lvm_63_all.udeb
Package-Type: udeb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIqwP+2PUjs9fQ72URAlWxAJ44H+TL5Dp2q3mI7xDt7zYD67E8bACfaJip
C8g1iTjfI9Y+JABo9ta4/y8=
=nOxx
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 11 Oct 2008 07:25:52 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Jan 11 07:59:39 2018;
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.