Bug 480736

Summary: partitioner fails to display used mount point for encrypted filesystems when edit
Product: [openSUSE] openSUSE 11.1 Reporter: Olli Artemjev <grey-olli>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P4 - Low CC: aschnell, grey-olli
Version: FinalKeywords: accessibility, security, UI
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: bzipped screenshort of yast2 partitioner window when editting (situation above)
bzipped yast2 logs

Description Olli Artemjev 2009-02-28 13:01:11 UTC
Created attachment 276193 [details]
bzipped screenshort of yast2 partitioner window when editting (situation above)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6

I use this setup on one of my PCs (created AFAIR by hands w/ SuSE 10.3):
acer15:/etc # ls -l /etc/crypttab
-rw-r--r-- 1 root root 183 2009-02-22 21:16 /etc/crypttab
acer15:/etc # cat /etc/crypttab
cr_olli-home.cfs  /home/olli-home.cfs  none       luks,tries=10
cr_records-l1.cfs /home/records-l1.cfs none       luks,tries=10
files_unsorted.cfs /home/files_unsorted.cfs none  luks
acer15:/etc # grep cfs /etc/fstab
/dev/mapper/cr_olli-home.cfs                          /home/olli             ext3       user,exec,acl,user_xattr,noauto 0 0
/dev/mapper/cr_records-l1.cfs                         /home/olli/Records-l1  ext3       user,acl,user_xattr,noauto 0 0
/dev/mapper/files_unsorted.cfs                        /home/olli/mnt         ext3       user,acl,user_xattr,noauto 0 0
acer15:/etc # ls -l /etc/fstab
-rw-r--r-- 1 root root 1704 2009-02-28 12:12 /etc/fstab
acer15:/etc #

This is mounted by 'service boot.crypto start' manually .

Now dealing that w/ partitioner (partitions are already mounted):

This is avaliable on the right side of the screen when pointing mouse to 
/dev/mapper/cr_olli-home.cfs below "Crypt Files" menu on the left side of the screen:

Device:
Device: /dev/mapper/cr_olli-home.cfs
Size: 649.50 MB
File Path: /home/olli-home.cfs
File System:
File System: Ext3
Mount Point: /home/olli

And there is button 'Edit' below. 
When pressing it I see empty value on partion mount point. :/
Also if I do not change anything and two times press Next - the mount point is not deleted from files (yast2 seem to do nothing, but quit w/o changes).

Reproducible: Always

Steps to Reproduce:
1. repeat setup similar to I 've noted above (fstab & crypttab).
2. service boot.crypto start 
3. after encrypted partitions mounted - run partitioner from yast2->System.

Actual Results:  
partitioner fails to display used mount point for encrypted filesystems when editting already mounted partition.

Expected Results:  
Obviousely the mount point should be present.
Comment 1 Olli Artemjev 2009-02-28 13:27:16 UTC
Currently all possible updates installed (AFAIK, at least updater displays that no any updates avaliable).

acer15:/etc # rpm -qa | grep -i yast | grep -i qt
yast2-qt-2.17.23-1.5
yast2-control-center-qt-2.17.3-1.8
yast2-qt-pkg-2.17.25-1.1
acer15:/etc # rpm -qa | grep -i yast | grep -i storage
yast2-storage-2.17.61-2.1
yast2-storage-lib-2.17.61-2.1
acer15:/etc #
Comment 2 Olli Artemjev 2009-02-28 13:28:01 UTC
Created attachment 276195 [details]
bzipped yast2 logs
Comment 3 Thomas Fehr 2009-12-15 12:10:59 UTC
fixed in current code base.
Now it is possible to edit and delete fiel based loop devices.
Fix will be available with openSuSE 11.3