Bug ID | 934226 |
---|---|
Summary | [yast2-storage] Changing the disk for a mount point fails silently (if in one go) |
Classification | openSUSE |
Product | openSUSE Distribution |
Version | 13.2 |
Hardware | x86-64 |
OS | Other |
Status | NEW |
Severity | Normal |
Priority | P5 - None |
Component | YaST2 |
Assignee | yast2-maintainers@suse.de |
Reporter | svollath@suse.com |
QA Contact | jsrain@suse.com |
Found By | --- |
Blocker | --- |
Created attachment 637324 [details]
yast2 debug logs
"yast2 disk" fails (silently) to un-/mount disks for an existing mount point
that's in use, because actions will be summarized in the wrong order (1. add
mount point, 2.remove mount point).
How to reproduce:
1. e.g. have /dev/sda3 mounted to /datadisk
2. have /dev/sdb5 ready to be used as new "datadisk" disk
3. start YaST2 Expert Partitioner
4. edit partition e.g. "/dev/sda2" to not being mounted anymore
5. edit partition e.g. "/dev/sdb5" to be mounted as "/datadisk"
6. click finish and see wrong (bad idea-) summary (first add, then remove)
7. continue, realizing "yast2 disk" will finish without any error
8. check with "df" that the initial disk is mounted, still
This should not happen.
1. I expected Yast2 to order actions accordingly (remove/add)
2. I expected Yast2 to throw an error for the first failing command (mount
point
already in use)
3. The second command wasn't executed, otherwise "/dev/sda3" wouldn't be
mounted to "/datadisk" anymore
((It's reproducible with e.g. SLES-11-SP4-RC2, so most likely true for all
prior versions))
Find debug logs attached.