Bug 1142443

Summary: 'Other devices' screen lists loop devices in lexical sort order
Product: [Fedora] Fedora Reporter: Adrian Likins <alikins>
Component: cockpitAssignee: Patrick Uiterwijk <puiterwijk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: puiterwijk, stefw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-0.26-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-16 02:09:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
sort order of block devices none

Description Adrian Likins 2014-09-16 18:59:36 UTC
Created attachment 938203 [details]
sort order of block devices

Description of problem:

On the 'Other devices' screen, the list of loop devices is displayed
sorted lexical, so that 'loop10' comes before 'loop2'.

See attached screenshot.

Version-Release number of selected component (if applicable):
Version 0.23.
Built on Wed Sep 10 13:43:38 UTC 2014.

Steps to Reproduce:
1. create more than ten loopback devices
2. go to 'other devices'


Actual results:
block devices seem to be listed in a lexical sort order


Expected results:
Unsure the preferred sort order, some options:

   Sort order to match the 'losetup -l' output.

   (the gnu sort '-V' option seems to match for this particular case as well.

   Sort in order the loop devices were created or setup.

Additional info:

Comment 1 Stef Walter 2014-09-18 13:45:08 UTC
Upstream bug: https://github.com/cockpit-project/cockpit/issues/1210

Comment 2 Fedora Update System 2014-10-08 08:39:27 UTC
cockpit-0.26-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/cockpit-0.26-1.fc21

Comment 3 Fedora Update System 2014-10-10 15:58:23 UTC
Package cockpit-0.26-1.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cockpit-0.26-1.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-12464/cockpit-0.26-1.fc21
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2014-10-16 02:09:38 UTC
cockpit-0.26-1.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.