Your message dated Mon, 08 Mar 2010 13:47:12 +0000
with message-id <[email protected]>
and subject line Bug#563975: fixed in cryptsetup 2:1.1.0-1
has caused the Debian Bug report #563975,
regarding cryptsetup: passing of additional mkfs options in luksformat
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
563975: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563975
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.1.0~rc2-1
Severity: wishlist
Tags: patch

Hello,

I would like to pass additional flags to the mkfs command (like --fast
to mkfs.ntfs) in the luksformat script. ATM it's not possible, the
attached patch does implement it.

Regards,
Eduard.


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.32.toi 
root=UUID=b7a6aea2-9b9c-463f-af61-e72bfe194d3c ro resume=/dev/sda2 reboot=acpi

-- /etc/crypttab
# <target name> <source device>         <key file>      <options>

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
#sys            /sys            sysfs   defaults        0       0
UUID="b7a6aea2-9b9c-463f-af61-e72bfe194d3c"       /               ext4     
defaults,errors=remount-ro 0       1
/dev/sda2       none            swap    sw              0       0
/dev/cdrom        /media/cdrom0   udf,iso9660 ro,user,noauto  0       0
#/dev/cdrom1        /media/cdrom1   udf,iso9660 ro,user,noauto  0       0
#/chroot/a/home /home           none    bind

#/dev/hdc1      /mnt/x  auto    user,umask=000,showexec,codepage=850,utf8=yes   
0       0
#UUID="AA6875756875415D"        /mnt/d  ntfs-3g,vfat  
user,showexec,umask=000,codepage=850,utf8=yes     0       0
#/dev/sda8 /mnt/data    ext3     defaults,errors=remount-ro 0       1
#UUID="10181A191819FE82" /data1    ntfs-3g     locale=de_DE.UTF-8,allow_other
#UUID="8C482AE3482ACBB0" /data2    ntfs-3g     locale=de_DE.UTF-8,allow_other
UUID="501A21471A212C02" /mnt/c ntfs-3g utf8,user,umask=000 0 0

#/dev/sda7      /mnt/d  vfat  
user,showexec,umask=000,codepage=850,iocharset=iso8859-1  0       0
#/dev/sda7      /mnt/e  vfat  user,showexec,umask=000,codepage=850,utf8=yes     
0       0
#UUID="4612-AFD4"  /mnt/x       vfat,ntfs-3g  
user,showexec,umask=000,codepage=850,utf8=yes     0       0
#/dev/hdf1      /mnt/z  vfat  
user,showexec,umask=000,codepage=850,iocharset=iso8859-1  0       0
#/dev/fd0       /mnt/floppy     auto    user,noexec,noauto      0       0
#//qubeck/e /mnt/q smbfs username=inet,password=fuji,fmask=777,dmask=777
#isdn:/data/debian-mirror  /mnt/isdn nfs
# /tmp/foobar /mnt/misc asdf defaults 0 0
#/mnt/e/pub.private /home/ftp/misc  none bind 0 0
#/mnt/e/incoming /home/ftp/incoming  none bind 0 0
#/mnt/e/pub /home/ftp/pub  none bind 0 0
usbdevfs /proc/bus/usb usbfs
none /var/cache/pbuilder/build/ tmpfs defaults

#/dev/sdb6       /mnt/sdb6               ext3     defaults,noauto 0       1
#/dev/sdb5       /mnt/sdb5               ntfs-3g     defaults   0       1

#/dev/mapper/bigfs      /mnt/cfs        ntfs-3g 
locale=de_DE.UTF-8,allow_other,noauto

-- lsmod
Module                  Size  Used by
iptable_filter          1490  0 
iptable_nat             3838  1 
nf_nat                 14931  1 iptable_nat
nf_conntrack_ipv4      10699  3 iptable_nat,nf_nat
nf_defrag_ipv4          1155  1 nf_conntrack_ipv4
ip_tables              15932  2 iptable_filter,iptable_nat
x_tables               15514  2 iptable_nat,ip_tables
sha256_generic          9757  0 
cryptd                  5948  0 
aes_x86_64              7420  6 
aes_generic            26178  1 aes_x86_64
cbc                     2699  3 
radeon                556097  2 
ttm                    36865  1 radeon
drm_kms_helper         21883  1 radeon
drm                   151732  5 radeon,ttm,drm_kms_helper
i2c_algo_bit            4839  1 radeon
uinput                  7833  0 
binfmt_misc             6911  1 
ppdev                   6230  0 
lp                      8460  0 
parport                29955  2 ppdev,lp
sco                     8408  2 
bridge                 46557  0 
stp                     1552  1 bridge
llc                     3625  2 bridge,stp
bnep                   10170  2 
rfcomm                 34507  1 
l2cap                  31655  6 bnep,rfcomm
bluetooth              49849  6 sco,bnep,rfcomm,l2cap
rfkill                 14479  2 bluetooth
nfsd                  285748  2 
lockd                  65244  1 nfsd
nfs_acl                 2335  1 nfsd
auth_rpcgss            39648  1 nfsd
sunrpc                189447  8 nfsd,lockd,nfs_acl,auth_rpcgss
autofs4                23835  0 
cpufreq_conservative     6128  0 
cpufreq_stats           3849  0 
cpufreq_powersave        966  0 
cpufreq_userspace       2056  0 
ipv6                  262149  47 
dm_crypt               11278  3 
dm_snapshot            20688  0 
vboxnetadp              4529  0 
vboxnetflt             11343  0 
vboxdrv              1722868  2 vboxnetadp,vboxnetflt
w83627ehf              20902  0 
k8temp                  3379  0 
hwmon_vid               2724  1 w83627ehf
i2c_nforce2             5488  0 
fuse                   61381  9 
nf_conntrack_irc        3427  0 
nf_conntrack_ftp        5908  0 
nf_conntrack           53089  5 
iptable_nat,nf_nat,nf_conntrack_ipv4,nf_conntrack_irc,nf_conntrack_ftp
powernow_k8            11886  0 
psmouse                40125  0 
ide_cd_mod             26821  0 
ves1x93                 5601  1 
snd_hda_codec_realtek   246933  1 
snd_hda_intel          19648  4 
snd_hda_codec          52304  2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep               6116  1 snd_hda_codec
dvb_ttpci              95062  0 
snd_pcm_oss            38115  0 
snd_mixer_oss          16915  1 snd_pcm_oss
dvb_core               88031  1 dvb_ttpci
snd_pcm                69262  4 snd_hda_intel,snd_hda_codec,snd_pcm_oss
saa7146_vv             43883  1 dvb_ttpci
snd_seq_dummy           1375  0 
videodev               35483  1 saa7146_vv
v4l1_compat            15386  1 videodev
v4l2_compat_ioctl32     9873  1 videodev
saa7146                14038  2 dvb_ttpci,saa7146_vv
snd_seq_oss            27743  0 
snd_seq_midi            4976  0 
snd_rawmidi            18100  1 snd_seq_midi
videobuf_dma_sg         9003  1 saa7146_vv
snd_seq_midi_event      5380  2 snd_seq_oss,snd_seq_midi
videobuf_core          13529  2 saa7146_vv,videobuf_dma_sg
snd_seq                48222  6 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              18415  3 snd_pcm,snd_seq
ttpci_eeprom            1608  1 dvb_ttpci
snd_seq_device          5085  5 
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
rtc_cmos                8808  0 
snd                    53949  18 
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               5967  1 snd
pcspkr                  1827  0 
evdev                   8729  13 
joydev                  9640  0 
rtc_core               13413  1 rtc_cmos
amd64_edac_mod         17020  0 
snd_page_alloc          6969  2 snd_hda_intel,snd_pcm
i2c_core               17625  8 
radeon,drm,i2c_algo_bit,i2c_nforce2,ves1x93,dvb_ttpci,videodev,ttpci_eeprom
processor              35430  1 powernow_k8
edac_mce_amd            6721  1 amd64_edac_mod
button                  4810  0 
rtc_lib                 1810  1 rtc_core
hid_microsoft           3035  0 
usbhid                 28009  0 
sr_mod                 14851  0 
cdrom                  35138  2 ide_cd_mod,sr_mod
sg                     27707  12 
ohci1394               27948  0 
ata_generic             3111  0 
pata_acpi               3288  0 
ohci_hcd               21261  0 
ehci_hcd               34346  0 
8139too                19904  0 
8139cp                 18020  0 
pata_atiixp             3633  1 
ieee1394               71390  1 ohci1394
usbcore               138757  4 usbhid,ohci_hcd,ehci_hcd
r8169                  35774  0 
mii                     3706  3 8139too,8139cp,r8169
thermal                12826  0 
fan                     3378  0 
dm_mirror              12204  0 
dm_region_hash          7091  1 dm_mirror
dm_log                  8408  2 dm_mirror,dm_region_hash
dm_mod                 61438  10 dm_crypt,dm_snapshot,dm_mirror,dm_log


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32.toi (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  dmsetup                      2:1.02.39-1 The Linux Kernel Device Mapper use
ii  libc6                        2.10.2-3    Embedded GNU C Library: Shared lib
ii  libdevmapper1.02.1           2:1.02.39-1 The Linux Kernel Device Mapper use
ii  libpopt0                     1.15-1      lib for parsing cmdline parameters
ii  libuuid1                     2.16.2-0    Universally Unique ID library

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  dosfstools                    3.0.7-1    utilities for making and checking 
ii  initramfs-tools [linux-initra 0.93.4     tools for generating an initramfs
ii  udev                          149-2      /dev/ and hotplug management daemo

-- no debconf information

-- 
Wilkommen bei Slash-Boing-Heise ...
anna_k, [email protected] (466 Beiträge seit 18.4.00)        
Bewertung dieses Beitrags:      [Beitragsbewertung: 87%]        
        

... dem Internet-Magazin der etwas anderen Art.

In Zukunft werden wir Sie tagesaktuell auch über folgende Themen
informieren:

 -- SuicideGirls --- Schlampen oder Schätzchen?
 -- Hamster im PC: Grillgut oder Superconductor?
 -- Pappraketen und Roboter, die Kinder fressen.
 -- Windows Vista im Wohnzimmer: Welches "Theme" ist das richtige für
mich?
 -- Die Bundescomputerliga: Steigt HP ab? Und: Alles über das
Win/Mac-Pokalspiel.
 --PC-Tuning extrem: "Gleisch hasdu meine Lüfter in die Fresse,
Alder!"
 -- HURD oder JOGHURD - Milchspeisen für Admins.
 -- Welche Unterhose trägt Cory Doctorow heute (und warum?).
 -- Immer nur "Sendmail" nervt auch: Warum nicht einfach mal Mail
empfangen?
 -- Schnurers Frisurentips (Mo-Fr und Sa-So auf c't-TV) (wird  Do-Mo
und Di-Mi wiederholt)
 -- "Mir zwickts am Kernel" (Eine ehrliche Fragestunde mit dem Dr.
Sommer-Team)
 -- RAM gegen RAM - das ulimative Shootout: Wer fliegt weiter? (mit
Steinschleudern)
 -- Deutschlands Geilste Festplatten: Wo Sie am besten fscken können.

Und noch vieles, vieles mehr!

Bookmarken Sie jetzt, um in den vollen Genuss unseres Bookmarks zu
kommen!
--- /usr/sbin/luksformat	2009-10-15 19:29:00.000000000 +0200
+++ luksformat	2010-01-06 20:43:10.608630752 +0100
@@ -8,7 +8,7 @@
 # License: GNU General Public License, v2 or any later
 # (http://www.gnu.org/copyleft/gpl.html)
 
-use Getopt::Long;
+use Getopt::Long qw(:config pass_through);
 
 sub help() {
     print "luksformat - Create and format an encrypted LUKS device
@@ -20,14 +20,14 @@
 $fs = 'vfat';
 exit 1 unless GetOptions ('t|type=s' => \$fs);
 
-help() if $#ARGV != 0;
+help() if $#ARGV < 0;
 
 if ($> != 0) {
     print STDERR "This program needs to be started as root\n";
     exit 1;
 }
 
-$device = $ARGV[0];
+$device = shift(@ARGV);
 
 open(MOUNTS, "/proc/mounts");
 while (<MOUNTS>) {
@@ -69,7 +69,7 @@
     exit 1;
 }
 
-$result = system $mkfs, "/dev/mapper/$name";
+$result = system $mkfs, "/dev/mapper/$name", @ARGV;
 print "\n";
 system 'cryptsetup', 'luksClose', $name;
 
@@ -83,7 +83,7 @@
 
 =head1 SYNOPSIS
 
-B<luksformat> [B<-t> I<fstype>] I<device>
+B<luksformat> [B<-t> I<fstype>] I<device> [ mkfs options ]
 
 =head1 DESCRIPTION
 

--- End Message ---
--- Begin Message ---
Source: cryptsetup
Source-Version: 2:1.1.0-1

We believe that the bug you reported is fixed in the latest version of
cryptsetup, which is due to be installed in the Debian FTP archive:

cryptsetup-udeb_1.1.0-1_amd64.udeb
  to main/c/cryptsetup/cryptsetup-udeb_1.1.0-1_amd64.udeb
cryptsetup_1.1.0-1.diff.gz
  to main/c/cryptsetup/cryptsetup_1.1.0-1.diff.gz
cryptsetup_1.1.0-1.dsc
  to main/c/cryptsetup/cryptsetup_1.1.0-1.dsc
cryptsetup_1.1.0-1_amd64.deb
  to main/c/cryptsetup/cryptsetup_1.1.0-1_amd64.deb
cryptsetup_1.1.0.orig.tar.gz
  to main/c/cryptsetup/cryptsetup_1.1.0.orig.tar.gz
libcryptsetup-dev_1.1.0-1_amd64.deb
  to main/c/cryptsetup/libcryptsetup-dev_1.1.0-1_amd64.deb
libcryptsetup1_1.1.0-1_amd64.deb
  to main/c/cryptsetup/libcryptsetup1_1.1.0-1_amd64.deb



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Meurer <[email protected]> (supplier of updated cryptsetup 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 08 Mar 2010 14:15:35 +0100
Source: cryptsetup
Binary: cryptsetup cryptsetup-udeb libcryptsetup1 libcryptsetup-dev
Architecture: source amd64
Version: 2:1.1.0-1
Distribution: unstable
Urgency: low
Maintainer: Debian Cryptsetup Team 
<[email protected]>
Changed-By: Jonas Meurer <[email protected]>
Description: 
 cryptsetup - configures encrypted block devices
 cryptsetup-udeb - configures encrypted block devices (udeb)
 libcryptsetup-dev - libcryptsetup development files
 libcryptsetup1 - libcryptsetup shared library
Closes: 557329 557405 559184 559510 560034 563162 563975 570418 572463
Changes: 
 cryptsetup (2:1.1.0-1) unstable; urgency=low
 .
   * NOT RELEASED YET
   * new upstream stable release (1.1.0), notable changes since rc2:
     - default key size for LUKS changed from 128 to 256 bits
     - default plain mode changed to aes-cbc-essiv:sha256
     - key slot and key diggest iteration minimum set to 1000
     - convert hash name to lower case in header
   * update patch 02_manpage
   * add more supported filesystems to passdev.c, isofs->iso9660. thanks to
     Christoph Anton Mitterer. (closes: #557405)
   * update to standards-version 3.8.4, no changes needed
   * accept spaces in $opts at postinst script. (closes: #559184)
   * set extended $PATH in cryptdisks.functions. thanks to christoph anton
     mitterer. (closes: #557329)
   * fix huge initramfs for archs which don't have kernel/arch directory.
     thanks to martin michlmayr for bugreport and patch. (closes: #559510)
   * support commandline options to mkfs in luksformat. thanks to eduard
     bloch for bugreport and patch. (closes: #563975)
   * extend error messages for evms setup in cryptroot-script
   * add 03_luksAddKey.patch, to not verify unlocking passphrase in luksAddKey
     command. (closes: #570418)
   * add 04_crypto_init.patch, to properly initialise crypto backend in header
     backup/restore commands.
   * change build-dependency on cvs to new autopoint package (closes: #572463)
   * rename decrypt_gpg keyscript to decrypt_gnupg, improve it based on ideas
     by Christoph Anton Mitterer, mention the keyscript rename in NEWS.Debian.
     Also, provide a initramfs cryptgnupg hook script. Thanks to Christoph
     Anton Mitterer for bugreport and ideas. (closes: #560034)
   * check for root privileges with '/usr/bin/id -u' in init scripts and
     cryptdisks_{start|stop}. (closes: #563162)
Checksums-Sha1: 
 8fe4a3f4f5157ef64148a78c9618446f40066ca4 1823 cryptsetup_1.1.0-1.dsc
 398dbd8af0b5aa815a4366bb2dac996154952046 546062 cryptsetup_1.1.0.orig.tar.gz
 4193aef3b645cbde70f56413fb685153fd31ec50 69714 cryptsetup_1.1.0-1.diff.gz
 4f3148ac213586cbd3f703ef26dfa4c42979c8fd 392226 cryptsetup_1.1.0-1_amd64.deb
 719a49c24e184858e9abe401e8d3ad78fd05407a 296130 
cryptsetup-udeb_1.1.0-1_amd64.udeb
 c28490e35e584161f346572597b3f1ff314f4672 72432 libcryptsetup1_1.1.0-1_amd64.deb
 595137e85cfce04e70affad41fed31c624fb7141 82734 
libcryptsetup-dev_1.1.0-1_amd64.deb
Checksums-Sha256: 
 7028f96775328a57e324506cc05768c7453e3fe5035f4ce3c8e7f03b491621fa 1823 
cryptsetup_1.1.0-1.dsc
 c278da68e916802497baebd60dcf34a9645cf2b525ab7a537dd9964d63aaf439 546062 
cryptsetup_1.1.0.orig.tar.gz
 5a3794d1e6e483c495d67c6d61154d1f4d7e2a83cad3f400af6aa60d6770b55a 69714 
cryptsetup_1.1.0-1.diff.gz
 efc7c985913255ba806f4268f7aa559db151bbd7f74d1ddb44da53e60dce8cbb 392226 
cryptsetup_1.1.0-1_amd64.deb
 d1ebb84760caa3fd611490935a575a558ab7abbbbc153ffcb6ecd6f0d8633738 296130 
cryptsetup-udeb_1.1.0-1_amd64.udeb
 7787cbcdb03edb5805d7ba2b5f3fd6efbbeda426cd6448aba383221885c59b99 72432 
libcryptsetup1_1.1.0-1_amd64.deb
 0aea4f76626ec84c70ea226a761a91698bf35ad371c8711d0679e2b8fc69689d 82734 
libcryptsetup-dev_1.1.0-1_amd64.deb
Files: 
 57a6f22a209f7b7b7fae16b4763bf0e2 1823 admin optional cryptsetup_1.1.0-1.dsc
 a7b8f54f7c9f41633a8d61aaa209186e 546062 admin optional 
cryptsetup_1.1.0.orig.tar.gz
 d59c69d8e32b177cdc30f1958c09799b 69714 admin optional 
cryptsetup_1.1.0-1.diff.gz
 55a45afbed543f2cba41a6342d6d2e16 392226 admin optional 
cryptsetup_1.1.0-1_amd64.deb
 591d86280c2041c2f2b12c448e27f28b 296130 debian-installer optional 
cryptsetup-udeb_1.1.0-1_amd64.udeb
 ab66a2469ca56c27868ee34aaa5e3b12 72432 libs optional 
libcryptsetup1_1.1.0-1_amd64.deb
 7799157a368e1c9be478d5bbcb427252 82734 libdevel optional 
libcryptsetup-dev_1.1.0-1_amd64.deb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBCAAGBQJLlPkXAAoJEHUY1PcOVR4zf+MH+gN/k2TGS7FS/OtQVLGw1u8H
5ZXrjml0LvWxC6zJW7R2niOTL47zAYH11NwFoHYqc7ru23NBLhTFZioHOkg6/6uz
f2PT1/rTxSVaX2wcdr2znoMo7b9S3mvno15LmBc5z60NWXIS+zTjrTp5mSa8J8L0
Z9LbeHpItdhi3IVGL2cpKL4mKbUXwylu73zvZBjl1Ny9oG+J2iufQeVJUqQBJbzZ
QDOZM1xORCaZ+xhn9au23PZgdiPH6Z/PJbuCY+UndCR/20ndNj/vrPx2MpP7x4Qx
nOzLV/5tjU1Qjj3GDJ+7CQNngV8L3r1NSsXoOU5IVp1v1ZHxZhDv9FSixsrf8XU=
=KlmA
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to