| Home |
|
» Kategorien
» Seiten » Suche |
« TYPO3 HTML save cropping How-to: Debian: Automatically mounted loopback images with dm-crypt, LUKS, pam_mount »
Debian Lenny: pam_mount, files and loop devicesWhen I was trying to automatically mount an encrypted image at login using pam_mount, I encountered a strange problem: pam_mount(misc.c:272) command: mount.crypt [-o loop] [/home/foobar/container] [/home/foobar/crypto] In Debians libpam-mount 0.44-1+lenny3, /sbin/mount.crypt is a bash script that calls cryptsetup with parameters generated during its runtime. cryptsetup -c aes -h ripemd160 -s 256 create _home_foobar_container /home/foobar/container …which returned the following error message: Command failed: BLKROGET failed on device: Inappropriate ioctl for device So mount.crypt has been passed the loop option but cryptsetup was told to mount the encrypted image instead of the associated loopback device (normally mount.crypt executes losetup to create this association in its function _losetup, but this apparently has never been called). Long story short: case ${KEY/ /} in This will remove all spaces. Donnerstag, Juni 17th, 2010 and is filed under Administration, Linux / Unix. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed. Comments are closed.
© 2007 - 2009 Thorsten Boock
nerdcenter is proudly powered by
WordPress
Entries (RSS) and Comments (RSS). Calella | Lloret de Mar Reisen | Stalker Clear Sky | Empire Total War |
» Archiv
|