[opensuse] Luks and systemd
Before I mention my issue here is my setup : I have 2 installations one use to be 11.4 (now 12.1) and it's a regular installation of opensuse 64 bit (all are 64 bit) which is I suppose sort of my backup installation which I use when I mess things up in the main and need to fix it, my main installation is on an encrypted 2tb disk (full encryption serpent-xts-benbi entire / even /home is on it) /dev/sdb1 . and also my real /boot is on the backup /dev/sda1 now here is my problem , until recently it all worked fine the sda1 had 11.4/sysv init on it and I was running 12.1 and later factory on my sdb1 .now when I boot the boot messages pass and I even see a line asking me password for the sdb1 but it's followed by other messages and I can't input the password and it goes into waiting mode for the encrypted partition to somehow magically show up , and when I type the password it's displayed in plain text and it won't have any effect at all. I am thinking luks/cryptsetup isn't for some reason allowed to receive input from stdin. and it sounds like a systemd(or maybe luks) thing to me. now I am stuck using my backup installation , I normally use custom built kernels (which I know isn't supported) . serpent,xts and xfs(my file system for the encrypted /) are built into the kernel so it's not a module or kernel issue. I'd really appreciate any help on this . -Cheers -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am Samstag, 4. Februar 2012, 22:32:19 schrieb michael getachew:
Before I mention my issue here is my setup : I have 2 installations one use to be 11.4 (now 12.1) and it's a regular installation of opensuse 64 bit (all are 64 bit) which is I suppose sort of my backup installation which I use when I mess things up in the main and need to fix it, my main installation is on an encrypted 2tb disk (full encryption serpent-xts-benbi entire / even /home is on it) /dev/sdb1 . and also my real /boot is on the backup /dev/sda1 [...]
I am afraid I cannot help you since I only encrypt /home on a separate partition. And this works fine. There is the line asking me for the password and there are no other messages following. When I type in my password it is not displayed in plain text but stars. Sorry Jan -- He who hesitates is sometimes saved. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Sunday 05 Feb 2012 06:32:19 michael getachew wrote:
now here is my problem , until recently it all worked fine the sda1 had 11.4/sysv init on it and I was running 12.1 and later factory on my sdb1 .now when I boot the boot messages pass and I even see a line asking me password for the sdb1 but it's followed by other messages and I can't input the password and it goes into waiting mode for the encrypted partition to somehow magically show up , and when I type the password it's displayed in plain text and it won't have any effect at all. I am thinking luks/cryptsetup isn't for some reason allowed to receive input from stdin. and it sounds like a systemd(or maybe luks) thing to me.
sorry can't really help other than to say I have a fully encrypted luks drive that took the passwd fine under systemd on 12.1. I have now swapped to the old init as i was having nvidia issues which turned out to be a bad upgrade that left an old library in the system which confused kwin. May be you will need to boot a rescue disk and open your luks drive and mount the drives and make the change back to sysv -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
now here is my problem , until recently it all worked fine the sda1 had 11.4/sysv init on it and I was running 12.1 and later factory on my sdb1 .now when I boot the boot messages pass and I even see a line asking me password for the sdb1 but it's followed by other messages and I can't input the password and it goes into waiting mode for the encrypted partition to somehow magically show up , and when I type the password it's displayed in plain text and it won't have any effect at all. I am thinking luks/cryptsetup isn't for some reason allowed to receive input from stdin. and it sounds like a systemd(or maybe luks) thing to me.
sorry can't really help other than to say I have a fully encrypted luks drive that took the passwd fine under systemd on 12.1. I have now swapped to the old init as i was having nvidia issues which turned out to be a bad upgrade that left an old library in the system which confused kwin.
May be you will need to boot a rescue disk and open your luks drive and mount the drives and make the change back to sysv
I can succesfuly open the luks disk from my backup installation (which is not encrypted) . and changing back to sysv on the luks disk won't do any good since the issue happens without the luks disk being opened. the issue imo lies in the initrd. is there a new way of building them that I don't know about ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-02-17 06:17, michael getachew wrote:
I can succesfuly open the luks disk from my backup installation (which is not encrypted) . and changing back to sysv on the luks disk won't do any good since the issue happens without the luks disk being opened. the issue imo lies in the initrd. is there a new way of building them that I don't know about ?
It is a gziped archive. Make a copy, ungzip it, then you get a cpio archive you can also open. Then do the inverse process. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk8+urkACgkQIvFNjefEBxrIigCgu0YXe3peTwkR36XDHWBwrHDD iB0AnRKL9kmK7H65u5RPQooRNOHYOe7T =ZwmW -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrew Colvin
-
Carlos E. R.
-
Jan Ritzerfeld
-
michael getachew