Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 270441 - app-crypt/truecrypt-6.2 can't mount devices
Summary: app-crypt/truecrypt-6.2 can't mount devices
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-19 15:17 UTC by Jens Meißner
Modified: 2009-05-21 17:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Meißner 2009-05-19 15:17:35 UTC
If i try to mount device with truecrypt (after update to 6.2) it fails.

# truecrypt -t /dev/sdb1 /mnt
Enter password for /dev/sdb1: 
Enter keyfile [none]: 
Protect hidden volume (if any)? (y=Yes/n=No) [No]: 
Error: No such file or directory:
dmsetup


Reproducible: Always

Steps to Reproduce:
1. install truecrypt 6.2
2. try to mount device
3.

Actual Results:  
Error: No such file or directory:
dmsetup

Expected Results:  
truecrypt should mount device

Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-glibc2.0
Timestamp of tree: Mon, 18 May 2009 17:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.4-r2
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ http://ftp.tu-chemnitz.de/pub/linux/gentoo/ http://de-mirror.org/distro/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/ http://ftp.tu-clausthal.de/pub/linux/gentoo/ http://sunsite.informatik.rwth-aachen.de/ftp/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.arcticnetwork.ca/ http://distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.proxy.afra/gentoo-portage"
USE="X aac acl acpi alsa apache2 avahi bash-completion bluetooth branding bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dv dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran ftp gdbm gif gnome gnutls gpm gstreamer gtk hal iconv isdnlog java jpeg lame libnotify mad midi mikmod mp3 mpeg mudflap mysql nautilus ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl php png ppds pppd python qt3support quicktime readline reflection samba sasl sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb v4l v4l2 vorbis win32codecs x264 x86 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Konrad Karczewski 2009-05-19 23:14:14 UTC
dmsetup comes from sys-fs/device-mapper . When this packet is installed truecrypt works as expected. It looks like RDEPEND for this ebuild needs to be extended
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-19 23:33:07 UTC
arfrever: why did you drop the RDEPEND="|| ( >=sys-fs/lvm2-2.02.45 sys-fs/device-mapper )" block from the 6.2 ebuild? Please restore it.
Comment 3 Jens Meißner 2009-05-20 06:34:06 UTC
(In reply to comment #1)
> dmsetup comes from sys-fs/device-mapper . When this packet is installed 
truecrypt works as expected. It looks like RDEPEND for this ebuild needs to be 
extended

I have installed sys-fs/device-mapper. Now truecrypt give me an other error:
# truecrypt -t /dev/sdb1 /mnt 
Enter password for /dev/sdb1: 
Enter keyfile [none]: 
Protect hidden volume (if any)? (y=Yes/n=No) [No]: 
Error: /proc/misc: No entry for device-mapper found
Is device-mapper driver missing from kernel?
Failure to communicate with kernel device-mapper driver.
Command failed

I have not changed the kernel configuration, but with old version of truecrypt 
this kernel has work. Where is the problem? Must I change the kernel 
configuration?
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-20 14:44:25 UTC
(In reply to comment #2)
> arfrever: why did you drop the RDEPEND="|| ( >=sys-fs/lvm2-2.02.45
> sys-fs/device-mapper )" block from the 6.2 ebuild?

It was absent in truecrypt-6.0a.ebuild, so I didn't drop it.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-05-21 01:15:32 UTC
arfrever: please add it.
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-21 17:40:03 UTC
Fixed.