[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cryptsetup migration: libcryptsetup1-udeb package?



Hello,

On 02/01/2011 Otavio Salvador wrote:
> On Sat, Jan 1, 2011 at 16:30, Jonas Meurer <jonas@freesources.org> wrote:
> ...
> > I guess that the relavant point is rather: will any d-i component use
> > libcryptsetup1 without the need for the cryptsetup binary anytime soon?
> > I know that systemd developers intend to use libcryptsetup1.
> ...
> 
> Let's split it; it won't hurt.
> 
> It is not planned to be used without the binary right now but I think
> it is easier for you to have both working as equal as possible.
> 
> Please do it in experimental :-)

Sure, I intended to upload the new packages to experimental anyway. They
will not enter unstable before squeeze has been released.

But now that I added a libcryptsetup1-udeb package, I faced a problem:
libcryptsetup1-udeb depends on libgcrypt11 (>= 1.4.2) instead of
libcrypt11-udeb. libgcrypt11 is not a udeb package and thus not
available at debian-installer.
Is this due to the fact, that no libgcrypt11-udeb package is available
at the debian archive yet? It currently sits in NEW, awaiting approval.
Or does it have another reason?

See the information and content of udebs below.

greetings,
 jonas

That's the result:

$ dpkg-deb -I cryptsetup-udeb_1.2.0-1_amd64.udeb 
 new debian package, version 2.0.
 size 33288 bytes: control archive= 669 bytes.
     961 bytes,    19 lines      control              
 Package: cryptsetup-udeb
 Source: cryptsetup
 Version: 2:1.2.0-1
 Architecture: amd64
 Maintainer: Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>
 Installed-Size: 176
 Depends: libc6-udeb (>= 2.11), libcryptsetup1-udeb (>= 2:1.2.0), libpopt0-udeb (>= 1.16), dmsetup-udeb
 Section: debian-installer
 Priority: optional
 Description: configures encrypted block devices
  Cryptsetup provides a command-line interface for configuring encrypted
  devices. This is done using the Linux kernel device mapper target
  dm-crypt. This version of cryptsetup has integrated support for LUKS.
  .
  cryptsetup is backwards compatible with the on-disk format of cryptoloop,
  but also supports more secure formats. This package includes support for
  automatically configuring encrypted devices at boot time via the config
  file /etc/crypttab. Additional features are cryptoroot support through
  initramfs-tools and several supported ways to read a passphrase or key.

$ dpkg-deb -c cryptsetup-udeb_1.2.0-1_amd64.udeb 
drwxr-xr-x root/root         0 2011-01-03 02:19 ./
drwxr-xr-x root/root         0 2011-01-03 02:19 ./lib/
drwxr-xr-x root/root         0 2011-01-03 02:19 ./lib/cryptsetup/
drwxr-xr-x root/root         0 2011-01-03 02:19 ./lib/cryptsetup/scripts/
-rwxr-xr-x root/root      1476 2011-01-03 02:19 ./lib/cryptsetup/scripts/decrypt_opensc
-rwxr-xr-x root/root      2686 2011-01-03 02:19 ./lib/cryptsetup/scripts/decrypt_keyctl
-rwxr-xr-x root/root      9576 2011-01-03 02:19 ./lib/cryptsetup/scripts/passdev
-rwxr-xr-x root/root      1785 2011-01-03 02:19 ./lib/cryptsetup/scripts/decrypt_openct
-rwxr-xr-x root/root       576 2011-01-03 02:19 ./lib/cryptsetup/scripts/decrypt_gnupg
-rwxr-xr-x root/root       730 2011-01-03 02:19 ./lib/cryptsetup/scripts/decrypt_derived
-rwxr-xr-x root/root       349 2011-01-03 02:19 ./lib/cryptsetup/scripts/decrypt_ssl
-rwxr-xr-x root/root     15888 2011-01-03 02:19 ./lib/cryptsetup/askpass
drwxr-xr-x root/root         0 2011-01-03 02:19 ./lib/cryptsetup/checks/
-rwxr-xr-x root/root       827 2011-01-03 02:19 ./lib/cryptsetup/checks/un_blkid
-rwxr-xr-x root/root       147 2011-01-03 02:19 ./lib/cryptsetup/checks/xfs
-rwxr-xr-x root/root       148 2011-01-03 02:19 ./lib/cryptsetup/checks/swap
-rwxr-xr-x root/root      1040 2011-01-03 02:19 ./lib/cryptsetup/checks/blkid
-rwxr-xr-x root/root       387 2011-01-03 02:19 ./lib/cryptsetup/checks/ext2
-rw-r--r-- root/root     15481 2011-01-03 02:19 ./lib/cryptsetup/cryptdisks.functions
drwxr-xr-x root/root         0 2011-01-03 02:19 ./etc/
drwxr-xr-x root/root         0 2011-01-03 02:19 ./etc/init.d/
-rwxr-xr-x root/root       868 2010-07-22 12:52 ./etc/init.d/cryptdisks
-rwxr-xr-x root/root       817 2010-07-22 12:52 ./etc/init.d/cryptdisks-early
drwxr-xr-x root/root         0 2011-01-03 02:19 ./etc/default/
-rw-r--r-- root/root       652 2010-06-16 15:07 ./etc/default/cryptdisks
drwxr-xr-x root/root         0 2011-01-03 02:19 ./sbin/
-rwxr-xr-x root/root     34440 2011-01-03 02:19 ./sbin/cryptsetup

$ dpkg-deb -I libcryptsetup1-udeb_1.2.0-1_amd64.udeb 
 new debian package, version 2.0.
 size 43564 bytes: control archive= 528 bytes.
     671 bytes,    15 lines      control              
 Package: libcryptsetup1-udeb
 Source: cryptsetup
 Version: 2:1.2.0-1
 Architecture: amd64
 Maintainer: Debian Cryptsetup Team <pkg-cryptsetup-devel@lists.alioth.debian.org>
 Installed-Size: 108
 Depends: libc6-udeb (>= 2.11), libdevmapper1.02.1-udeb (>= 2:1.02.48), libgcrypt11 (>= 1.4.2), libuuid1-udeb (>= 2.16)
 Section: debian-installer
 Priority: optional
 Description: configures encrypted block devices
  Cryptsetup provides a command-line interface for configuring encrypted
  devices. This is done using the Linux kernel device mapper target
  dm-crypt. This version of cryptsetup has integrated support for LUKS.
  .
  This package provides the libcryptsetup shared library.

$ dpkg-deb -c libcryptsetup1-udeb_1.2.0-1_amd64.udeb 
drwxr-xr-x root/root         0 2011-01-03 02:19 ./
drwxr-xr-x root/root         0 2011-01-03 02:19 ./lib/
-rw-r--r-- root/root     91312 2011-01-03 02:19 ./lib/libcryptsetup.so.1.1.0
lrwxrwxrwx root/root         0 2011-01-03 02:19 ./lib/libcryptsetup.so.1 -> libcryptsetup.so.1.1.0

Attachment: signature.asc
Description: Digital signature


Reply to: