[Bug 660943] New: Bad Hard Disk Enumeration in YaST-> Software-> Software Repositories
https://bugzilla.novell.com/show_bug.cgi?id=660943 https://bugzilla.novell.com/show_bug.cgi?id=660943#c0 Summary: Bad Hard Disk Enumeration in YaST-> Software-> Software Repositories Classification: openSUSE Product: openSUSE 11.4 Version: Milestone 5 of 6 Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gfarrell@netspeed.com.au QAContact: jsrain@novell.com Found By: --- Blocker: --- Created an attachment (id=405915) --> (http://bugzilla.novell.com/attachment.cgi?id=405915) Screenshot - Hard Disk enumeration User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101203 SUSE/3.6.13-3.1 Firefox/3.6.13 When trying to add a repository located on a hard disk partition (Add-> Hard Disk), the available partitions shown in the drop-down selection are in error. Instead of numbering from 1 to 11, the partitions are numbered from 0 to 9, with repetition of partition 1. This can be seen in the attached screenshot, where the only partition not visible is partition 9 (just below number 8). Neither 'sda1' selection results in partition 11 being selected. The result is that /dev/sda11 can't be selected as the target of the repository. Reproducible: Always Steps to Reproduce: 1. Open YaST-> Software-> Software Repositories. 2. Click Add-> Hard Disk. 3. Click the Disk Device drop-down selection box. Actual Results: Partitions are numbered from 0, not 1, and numbering does not progress past 9. The eleventh partition is shown as a duplicated '/dev/sda1'. Expected Results: Partitions should be numbered from 1, and should enumerate past 9, to 10, 11, etc. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660943 https://bugzilla.novell.com/show_bug.cgi?id=660943#c wei wang <wewang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wewang@novell.com AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660943 https://bugzilla.novell.com/show_bug.cgi?id=660943#c2 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |NEEDINFO InfoProvider| |gfarrell@netspeed.com.au --- Comment #2 from Ladislav Slezak <lslezak@novell.com> 2010-12-30 13:30:03 UTC --- Please, attach YaST logs (see http://en.opensuse.org/openSUSE:Report_a_YaST_bug) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660943 https://bugzilla.novell.com/show_bug.cgi?id=660943#c3 Geoff Farrell <gfarrell@netspeed.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|gfarrell@netspeed.com.au | --- Comment #3 from Geoff Farrell <gfarrell@netspeed.com.au> 2010-12-31 03:02:00 UTC --- Created an attachment (id=406639) --> (http://bugzilla.novell.com/attachment.cgi?id=406639) Yast logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660943 https://bugzilla.novell.com/show_bug.cgi?id=660943#c4 Ladislav Slezak <lslezak@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|--- |Milestone 6 of 6 --- Comment #4 from Ladislav Slezak <lslezak@novell.com> 2011-01-03 14:28:03 UTC --- Fixed in yast2-packager-2.20.14 (I have fixed a broken regular expression which I found, but I didn't do real testing as I have less than 10 partitions in my system, so please give it a try...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=660943 https://bugzilla.novell.com/show_bug.cgi?id=660943#c5 --- Comment #5 from Geoff Farrell <gfarrell@netspeed.com.au> 2011-01-08 06:38:37 UTC --- I installed yast2-packager-2.20.14-57.1.x86_64.rpm from the openSUSE Build Service. The drop-down box now correctly identifies all eleven partitions correctly (ie, I can select /dev/sda11), and the repository is created successfully. A remaining issue is that, after repository creation, the partition enumeration is shown as: hd://?device=/dev/disk/by%2did/wwn%2d0x5000cca614c37059%2dpart11&filesystem=auto The string seems to be correct except for the substitution of the '-' character with '%2d', as can be seen from the following bash commands: with the substitution: # ll /dev/disk/by%2did/wwn%2d0x5000cca614c37059%2dpart11 ls: cannot access /dev/disk/by%2did/wwn%2d0x5000cca614c37059%2dpart11: No such file or directory without the substitution: # ll /dev/disk/by-id/wwn-0x5000cca614c37059-part11 lrwxrwxrwx 1 root root 11 Jan 6 17:41 /dev/disk/by-id/wwn-0x5000cca614c37059-part11 -> ../../sda11 The substitution of '-' with '%2d' is confusing to a user, as the device does not exist in that form in /dev, as demonstrated by the 'No such file or directory' error message in the first listing above. Request that the representation to the user be corrected to include the '-' character instead of '%2d'. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com