Package: cryptsetup
Version: 2:1.0.4-8
Severity: normal

The manpage of crypttab(5) says to the checkscripts:

"swap
          Checks for partition type swap. Only useful as <precheck>."

But the script in /lib/cryptsetup/checks/swap checks for a valid swap 
signature. Because checking for partition type is a bad idea (#342079) 
an there is no solution for good precheck available (#350922) 
perhaps /lib/cryptsetup/checks/swap should be removed completely.

There is no sense to use it as precheck. Encrypting the raw device,
the signature has gone away.
There is also no sense to use it as check. Swapon will do it itself.

At least the manual should be corrected:

"swap
        Check for swap signature. This is not very useful. In creating 
        an encrypted swap device you destroy any swap signature on raw 
        device. Hence you cannot check for it."

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages cryptsetup depends on:
ii  dmsetup  2:1.02.08-1                     The Linux Kernel Device Mapper use
ii  libc6    2.3.6.ds1-8                     GNU C Library: Shared libraries
ii  libdevma 2:1.02.08-1                     The Linux Kernel Device Mapper use
ii  libgcryp 1.2.3-2                         LGPL Crypto library - runtime libr
ii  libgpg-e 1.4-1                           library for common error values an
ii  libpopt0 1.10-3                          lib for parsing cmdline parameters
ii  libuuid1 1.39+1.40-WIP-2006.11.14+dfsg-1 universally unique id library

cryptsetup recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to