Bug 435244 - new partitioner unable to configure ciphered disk created by 11.0
Summary: new partitioner unable to configure ciphered disk created by 11.0
Status: RESOLVED NORESPONSE
: 441107 446651 (view as bug list)
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: Beta 1
Hardware: Other Other
: P3 - Medium : Normal (vote)
Target Milestone: Future/Later
Assignee: Arvin Schnell
QA Contact: Jiri Srain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-14 14:44 UTC by Pavel Nemec
Modified: 2009-01-03 18:34 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
yast logs (1.39 MB, application/x-bzip)
2008-10-14 14:44 UTC, Pavel Nemec
Details
screen shot of the error popup (41.74 KB, image/jpeg)
2008-11-13 09:00 UTC, Pavel Nemec
Details
yast2 logs from openSUSE 11.1 beta4 (393.76 KB, application/x-bzip2)
2008-11-13 09:01 UTC, Pavel Nemec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Nemec 2008-10-14 14:44:35 UTC
Created attachment 245452 [details]
yast logs

I created ciphered disk using 11.0 (i386). I install new 11.1 Beta1 and try to configure (mount) this device.
Partitioner showed that this device is ciphered (c symbol) and allow me to set mount point. After click to apply it faild with message "mount faild unknown filesystem ...."
Logs will follow
Comment 1 Arvin Schnell 2008-10-15 10:15:09 UTC
Seems to work for me. Please test again with Beta 3.
Comment 2 Pavel Nemec 2008-11-13 09:00:40 UTC
Created attachment 251810 [details]
screen shot of the error popup
Comment 3 Pavel Nemec 2008-11-13 09:01:20 UTC
Created attachment 251812 [details]
yast2 logs from openSUSE 11.1 beta4

Still issue in Beta4
Comment 4 Pavel Nemec 2008-11-13 09:03:37 UTC
Steps to reproduce
1. Install 11.0
2. Create some ciphered disk somewhere (not /home or / or whatever)
3. Install 11.1 - new installation
4. In new system (11.1) go to YaST
5. Use Paritioner and select ciphered device
6. Set mount point, do not format
7. You should see same picture as I did. 
Comment 6 Arvin Schnell 2008-11-19 10:48:30 UTC
Should be fixed.
Comment 7 Arvin Schnell 2008-11-19 10:49:11 UTC
*** Bug 441107 has been marked as a duplicate of this bug. ***
Comment 8 Arvin Schnell 2008-11-19 10:49:54 UTC
*** Bug 446020 has been marked as a duplicate of this bug. ***
Comment 9 Arvin Schnell 2008-11-19 17:02:55 UTC
*** Bug 446651 has been marked as a duplicate of this bug. ***
Comment 10 Forgotten User 0RO3Kla3Ru 2008-12-02 15:43:34 UTC
Negative. I just tried RC1 with an encrypted /home . It wasn't shown as encrypted drive (no "C") in the first view. I couldn't mount it as /home - filesystem not known (oh, encrypted ;) ).
Then it showed "CF" !! . I reverted this and the "C" was now there.

If I select the "encrypt partition" beneath the format options and "just mount", then it worked. Thats pretty confusing!
Comment 11 Arvin Schnell 2008-12-03 17:02:59 UTC
Please provide YaST2 logs. Or check the output of blkid for the device
with the encrypted home: Does blkid report TYPE="crypt_LUKS" or some
filesystem?
Comment 12 Arvin Schnell 2008-12-04 10:29:19 UTC
It might also be interesting to see what /lib/udev/vol_id reports for the
partition.

I see the problem as following: The partition contained some filesystem before
creating the encrypted partition. cryptsetup does not wipe out existing
signatures (see bug #410418 comment #3). So the partition contains several
signatures now and blkid simply reports the wrong. vol_id seems to make a
better job in this case.

But changing YaST to use vol_id instead of blkid is far to risky at this time.

Also, this is not a regression to 11.0. And affect only some encrypted
partitions. Thus changing priority.
Comment 13 Forgotten User 0RO3Kla3Ru 2008-12-04 10:55:58 UTC
It reported TYPE="crypt_LUKS". For y2logs I need more time.
Comment 14 Arvin Schnell 2009-01-03 18:34:03 UTC
Closing after receiving no response within four weeks. Feel free to reopen
when requested information is provided.