[pkg-cryptsetup-devel] Bug#688786: cryptsetup: crypttab(5) manual page should contain information regarding UUID

Felicitus felicitus at felicitus.org
Tue Sep 25 16:24:09 UTC 2012


Package: cryptsetup
Version: 2:1.4.3-2
Severity: normal

Dear Maintainer,

the manual page regarding crypttab (man 5 crypttab) misses information on how
to specify a device in UUID format. Redhat documents this as follows:

https://access.redhat.com/knowledge/docs/en-
US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/ch29s04s06.html

It would be very helpful to others to include that information.



-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.1.0-1-amd64 root=UUID=f589e608-5c42-4a91-8d3c-fd0b75ec67fe ro quiet

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>
home		UUID="6f3e71b5-39db-4595-9eb2-fce1cfbb5b4d"		none		luks

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# / was on /dev/sdb1 during installation
UUID=f589e608-5c42-4a91-8d3c-fd0b75ec67fe /               ext4    errors=remount-ro 0       1
UUID=4721d999-961e-4965-bd1b-87cfebfb59af /home		  ext4	defaults,user_xattr 0 0
/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0

-- lsmod
Module                  Size  Used by
isofs                  35131  0 
hmac                   12835  0 
nls_utf8               12456  0 
cifs                  238004  0 
ip6table_filter        12540  0 
ip6_tables             22175  1 ip6table_filter
iptable_filter         12536  0 
ip_tables              22042  1 iptable_filter
ebtable_nat            12580  0 
ebtables               26235  1 ebtable_nat
x_tables               19028  5 ebtables,ip_tables,iptable_filter,ip6_tables,ip6table_filter
parport_pc             22364  0 
ppdev                  12763  0 
lp                     17149  0 
parport                31858  3 lp,ppdev,parport_pc
bnep                   17567  2 
rfcomm                 33622  0 
bluetooth             119290  10 rfcomm,bnep
acpi_cpufreq           12935  1 
mperf                  12453  1 acpi_cpufreq
rfkill                 19012  2 bluetooth
cpufreq_powersave      12454  0 
cpufreq_stats          12866  0 
cpufreq_conservative    13147  0 
inet_diag              17144  1 
cpufreq_userspace      12576  0 
autofs4                27582  2 
snd_hrtimer            12604  1 
pci_stub               12429  1 
vboxpci                19103  0 
vboxnetadp             25443  0 
vboxnetflt             23608  0 
vboxdrv               186009  3 vboxnetflt,vboxnetadp,vboxpci
binfmt_misc            12957  1 
fuse                   61981  1 
nfsd                  259717  2 
nfs                   312135  0 
nfs_acl                12511  2 nfs,nfsd
auth_rpcgss            37143  2 nfs,nfsd
fscache                36739  2 nfs,cifs
lockd                  67328  2 nfs,nfsd
sunrpc                173516  6 lockd,auth_rpcgss,nfs_acl,nfs,nfsd
sha256_generic         16797  4 
cryptd                 14517  0 
aes_x86_64             16796  64 
aes_generic            33026  1 aes_x86_64
cbc                    12754  32 
dm_crypt               22586  2 
w83627ehf              31089  0 
hwmon_vid              12430  1 w83627ehf
coretemp               12943  0 
loop                   22597  0 
firewire_sbp2          18077  0 
kvm_intel             121792  0 
kvm                   278176  1 kvm_intel
snd_hda_codec_hdmi     26548  1 
snd_hda_codec_realtek   272344  1 
snd_usb_audio          84796  0 
snd_usbmidi_lib        23373  1 snd_usb_audio
uinput                 17440  1 
mxm_wmi                12473  0 
snd_ice1712            53863  1 
evdev                  17562  15 
snd_cs8427             13325  1 snd_ice1712
snd_i2c                13228  2 snd_cs8427,snd_ice1712
snd_ice17xx_ak4xxx     12716  1 snd_ice1712
snd_ak4xxx_adda        13382  2 snd_ice17xx_ak4xxx,snd_ice1712
snd_ac97_codec        106899  1 snd_ice1712
snd_hda_intel          26182  2 
snd_mpu401_uart        13507  1 snd_ice1712
snd_hda_codec          72920  3 snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
snd_pcm_oss            41081  0 
snd_seq_midi           12848  0 
snd_seq_midi_event     13316  1 snd_seq_midi
snd_mixer_oss          17916  3 snd_pcm_oss
snd_hwdep              13186  2 snd_hda_codec,snd_usb_audio
radeon                648863  2 
snd_rawmidi            23060  3 snd_seq_midi,snd_mpu401_uart,snd_usbmidi_lib
snd_pcm                63744  7 snd_pcm_oss,snd_hda_codec,snd_hda_intel,snd_ac97_codec,snd_ice1712,snd_usb_audio,snd_hda_codec_hdmi
sg                     25874  0 
psmouse                55543  0 
snd_page_alloc         13003  2 snd_pcm,snd_hda_intel
pcspkr                 12579  0 
snd_seq                45093  3 snd_seq_midi_event,snd_seq_midi
ac97_bus               12510  1 snd_ac97_codec
serio_raw              12850  0 
snd_seq_device         13176  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              22917  3 snd_seq,snd_pcm,snd_hrtimer
ttm                    48725  1 radeon
drm_kms_helper         27227  1 radeon
drm                   167371  4 drm_kms_helper,ttm,radeon
i2c_i801               16870  0 
snd                    52798  23 snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_rawmidi,snd_hwdep,snd_mixer_oss,snd_pcm_oss,snd_hda_codec,snd_mpu401_uart,snd_hda_intel,snd_ac97_codec,snd_ak4xxx_adda,snd_i2c,snd_cs8427,snd_ice1712,snd_usbmidi_lib,snd_usb_audio,snd_hda_codec_realtek,snd_hda_codec_hdmi
iTCO_wdt               17081  0 
power_supply           13475  1 radeon
iTCO_vendor_support    12704  1 iTCO_wdt
i2c_algo_bit           12841  1 radeon
i2c_core               23876  5 i2c_algo_bit,i2c_i801,drm,drm_kms_helper,radeon
soundcore              13065  3 snd
i7core_edac            18194  0 
edac_core              35258  3 i7core_edac
asus_atk0110           17297  0 
wmi                    13243  1 mxm_wmi
processor              27949  1 acpi_cpufreq
button                 12937  0 
thermal_sys            18040  1 processor
ext4                  312988  3 
crc16                  12343  2 ext4,bluetooth
jbd2                   62015  1 ext4
mbcache                13065  1 ext4
dm_mod                 63353  5 dm_crypt
raid10                 30812  0 
raid456                48363  0 
async_raid6_recov      12526  1 raid456
async_memcpy           12387  2 async_raid6_recov,raid456
async_pq               12605  2 async_raid6_recov,raid456
async_xor              12422  3 async_pq,async_raid6_recov,raid456
xor                    12605  1 async_xor
async_tx               12566  5 async_xor,async_pq,async_memcpy,async_raid6_recov,raid456
raid6_pq               82591  2 async_pq,async_raid6_recov
raid1                  30716  0 
raid0                  12904  0 
multipath              13020  0 
linear                 12735  0 
md_mod                 87742  6 linear,multipath,raid0,raid1,raid456,raid10
sr_mod                 21899  0 
cdrom                  35401  1 sr_mod
usbhid                 36379  0 
hid                    77192  1 usbhid
sd_mod                 36136  6 
crc_t10dif             12348  1 sd_mod
uhci_hcd               26865  0 
firewire_ohci          31530  0 
firewire_core          48407  2 firewire_ohci,firewire_sbp2
crc_itu_t              12347  1 firewire_core
r8169                  42391  0 
mii                    12675  1 r8169
ahci                   24997  3 
libahci                22860  1 ahci
libata                140545  2 libahci,ahci
ehci_hcd               40215  0 
xhci_hcd               64215  0 
scsi_mod              162376  5 libata,sd_mod,sr_mod,sg,firewire_sbp2
usbcore               124095  8 xhci_hcd,ehci_hcd,uhci_hcd,usbhid,snd_usbmidi_lib,snd_usb_audio


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.4.3-2
ii  debconf [debconf-2.0]  1.5.46
ii  dmsetup                2:1.02.74-4
ii  libc6                  2.13-35

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                                 1:1.20.0-6
ii  dosfstools                              3.0.13-1
ii  initramfs-tools [linux-initramfs-tool]  0.107
ii  liblocale-gettext-perl                  1.05-7+b1
ii  udev                                    175-7

-- debconf information:
  cryptsetup/prerm_active_mappings: true



More information about the pkg-cryptsetup-devel mailing list