[Bug 1037911] New: Installer seemed confused about encrypted partitions
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911 Bug ID: 1037911 Summary: Installer seemed confused about encrypted partitions Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.3 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation Assignee: yast2-maintainers@suse.de Reporter: nwr10cst-oslnx@yahoo.com QA Contact: jsrain@suse.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build Identifier: This is from 42.3, Build 0184. I used the DVD installer (written to a USB). For partitioning, I clicked on "create partition ..." and then "custom partitioning". I wanted to install in existing partitions, mostly using an encrypted LVM ("/dev/sdb5"). I'll note that I did provide the encryption key when prompted. Most of that worked. However, I also wanted to use "/dev/sdb8" to be mounted at "/shared". That's an encrypted partition. In the display of partitions, "/dev/sdb8" was not shown as encrypted. I set it to be mounted as "/shared". When I did that, the partitioner showed it as using "ext4", which it could only know by looking inside the encryption. (The display of "/dev/sda8" had similar problems, but I did not plan to use that). When I accepted the partitioning, the summary showed: setup encrypted dm device on /dev/sda8 (that was shown in red) setup encrypted dm device on /dev/sdb8 (that was shown in black) During the install it informed me that volume mount of "/dev/sdb8" failed (trying to mount at "/mnt/shared". The message indicated that the partition was not valid "ext4". So it apparently attempted to mount without handling the encryption. I continued the install, ignoring the error. On the installed system, neither "/dev/sda8" nor "/dev/sdb8" showed up in "/etc/crypttab". I added an entry for "/dev/sdb8", and added the appropriate line to "/etc/fstab", and rebooted. After this reboot, "/dev/sdb8" was properly mounted as "/shared".
From my point of view, it is a minor issue that I could easily deal with. However, it might be confusing to other folk.
I'll attach Yast logs. Reproducible: Always -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911#c1
--- Comment #1 from Neil Rickert
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911#c8
--- Comment #8 from Neil Rickert
In the display of partitions, "/dev/sdb8" was not shown as encrypted.
I guess that this was the root of the problem: It did not detect it as encrypted. And from there on, things went downhill.
And yet it knew that "/dev/sdb8" was already formatted with "ext4". It could not know that without seeing it as encrypted.
Just a wild guess: There are three prompts for encryption passwords in the logs; that means you are using three different passwords for those encrypted devices.
Actually, no. They all have the same encryption key. However, I did not like what I was seeing, so I used clicked "back" and retried a couple of times. And it seemed to undo the cryptsetup that it had already done, so prompted me again. I should also note that there are 4 encrypted partitions: /dev/sda5 and /dev/sdb5: these are both encrypted LVMS. /dev/sda8 and /dev/sdb8: these are both "ext4" file systems on top of the LUKS encryption. The installer seemed to handle "/dev/sda5" and "/dev/sdb5" correctly. But it appeared to mishandle "/dev/sda8" and "/dev/sdb8".
But I don't think we can spare the resources to fix this pretty complex scenario in the old code as well. So we will have to ask for your patience for the fix in the great, shiny new storage-ng.
Fair enough. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911
http://bugzilla.opensuse.org/show_bug.cgi?id=1037911#c9
Neil Rickert
participants (1)
-
bugzilla_noreply@novell.com