Discussion:
11.3 x64 issue with pam and crypto_luks
(too old to reply)
Vahe Avedissian
2010-11-13 03:09:19 UTC
Permalink
Greetings,

I am experiencing an annoying problem with pam. I have an encrypted file system
that is mounted at system boot time.
I am using the standard mapper crypto_luks encryption.

At boot time, the system asks for a password to unlock and mount this
filesystem. When I provide the password I get an

error message (something about modprobe not finding or loading a module).
However, when the system is fully booted,
the encrypted filesystem is actually mounted and works fine. The error at boot
time seems bogus. The other thing is
I see password - KDE daemon window asking me for a password to unlock the
encrypted file system that is already mounted!
I have only one encrypted filesystem so this dialog is bogus too.

Now, if I do not provide a password to unlock the crypto_luks file system at
boot time, the system eventually completes booting
up and I can log in and of course the encrypted file system is not mounted. If I
go to Dolphin and click on the encrypted file
system and provide the password it fails and I cannot mount this file system!

Seems like something is broken. I have all packages updated to the most current
versions so it must be something else that is
broken.

Anyone experience this or have an idea where to look to fix this?

Thanks,

Vahe Avedissian
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Peter Münster
2010-11-13 07:30:18 UTC
Permalink
Post by Vahe Avedissian
At boot time, the system asks for a password to unlock and mount this
filesystem. When I provide the password I get an
error message (something about modprobe not finding or loading a module).
Hello,
See also: https://bugzilla.novell.com/show_bug.cgi?id=467014
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Carlos E. R.
2010-11-13 23:54:06 UTC
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



On Friday, 2010-11-12 at 19:09 -0800, Vahe Avedissian wrote:


...
Post by Vahe Avedissian
At boot time, the system asks for a password to unlock and mount this
filesystem. When I provide the password I get an
error message (something about modprobe not finding or loading a module).
A bug. Mostly cosmetic.
Post by Vahe Avedissian
The other thing is
I see password - KDE daemon window asking me for a password to unlock the
encrypted file system that is already mounted!
Another bug.
Post by Vahe Avedissian
Now, if I do not provide a password to unlock the crypto_luks file system at
boot time, the system eventually completes booting
up and I can log in and of course the encrypted file system is not mounted.
Correct.
Post by Vahe Avedissian
If I
go to Dolphin and click on the encrypted file
system and provide the password it fails and I cannot mount this file system!
Another bug :-)
Post by Vahe Avedissian
Anyone experience this or have an idea where to look to fix this?
Fix? No, but you can report all three bugs if they are not already
reported. By the way, #1 exists in 11.2, too.

But you can mount the missing encripted filesystem by using the system
script - as root - : "rccrypto start". This is what I always do.

- --
Cheers,
Carlos E. R.
(from 11.2 x86_64 "Emerald" at Telcontar)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)

iEYEARECAAYFAkzfJSUACgkQtTMYHG2NR9UN8ACfZ6XSWj0Nhf3tiEWeHm5NUz6I
E9cAn327VylSKHvRZ124SDMNKL08gU0I
=YI5C
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
michael getachew
2010-11-14 16:03:23 UTC
Permalink
Post by Vahe Avedissian
Post by Vahe Avedissian
At boot time, the system asks for a password to unlock
and mount this
Post by Vahe Avedissian
filesystem. When I provide the password I get an
error message (something about modprobe not finding or
loading a module).
what kind of encryption are you using ? and is the module available at boot time?i personally use serpent/xts so i compile both xts and serpent not as modules but as part of the kernel. another important thing is did you remake initrd after setting up your encrypted file system? something like:
mkinitrd -d /dev/mapper/root -f "dm luks"
Post by Vahe Avedissian
Post by Vahe Avedissian
The other thing is
I see password - KDE daemon window asking me for a
password to unlock the
Post by Vahe Avedissian
encrypted file system that is already mounted!
i don't know exactly what you mean but if it is asking you for a password then maybe it's not mounted?
Post by Vahe Avedissian
Post by Vahe Avedissian
Now, if I do not provide a password to unlock the
crypto_luks file system at
Post by Vahe Avedissian
boot time, the system eventually completes booting
up and I can log in and of course the encrypted file
my question here will again be on your setup. do you have another partition with linux installed on it? i mean the partition you booted into when you were setting you your encrypted partition? if so when decrypting your new partition fails linux usually "resumes" from your other partition.
you should pass 'noresume' flag to the kernel before booting it during the grub menu and see if it changes anything.
Post by Vahe Avedissian
Post by Vahe Avedissian
If I
go to Dolphin and click on the encrypted file
system and provide the password it fails and I cannot
mount this file system!
what exactly is the error?
Post by Vahe Avedissian
Post by Vahe Avedissian
Anyone experience this or have an idea where to look
to fix this?
i'm using 11.3 x86_64 (with 2.6.36 custom compiled) and it is working fine for me. again though it would be handy to know what kernel you are booting from the actual errors etc...
thre is a really good guide at :

http://en.opensuse.orgSBD:Encrypted_root_file_system

i'd like to bring this part to your attention though:

"Note: I had to use: "yast2 --> system --> editor for /etc/sysconfig --> system --> kernel --> initrd_modules --> add dm-mod dm-crypt aes_i586 blkcipher" to enable the right modules while booting. Maybe you also need the "lrw" module, if you wanna use a cipher like aes-lrw-benbi. "

have you taken this step? i don't know much about pam of if you need to do this but have you added pam or pam_mount in the etc/sysconfig editor and remade initrd?
--
To unsubscribe, e-mail: opensuse+***@opensuse.org
For additional commands, e-mail: opensuse+***@opensuse.org
Loading...