Bug 1142443 - 'Other devices' screen lists loop devices in lexical sort order
Summary: 'Other devices' screen lists loop devices in lexical sort order
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Patrick Uiterwijk
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-16 18:59 UTC by Adrian Likins
Modified: 2014-10-16 02:09 UTC (History)
2 users (show)

Fixed In Version: cockpit-0.26-1.fc21
Clone Of:
Environment:
Last Closed: 2014-10-16 02:09:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
sort order of block devices (148.30 KB, application/octet-stream)
2014-09-16 18:59 UTC, Adrian Likins
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.