Bug 728963 - Missing separator in swapon -s command
Summary: Missing separator in swapon -s command
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 15
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-08 13:42 UTC by Pavel Holica
Modified: 2011-08-09 11:15 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-09 11:15:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Add_separator_in_swapon_for_long_names.patch (283 bytes, patch)
2011-08-08 14:06 UTC, Pavel Holica
no flags Details | Diff

Description Pavel Holica 2011-08-08 13:42:36 UTC
Description of problem:
Having swap on luks device (or swap device with any other long path) and running swapon -s causes, that Filename and Type entries are blended.

Version-Release number of selected component (if applicable):
util-linux-2.19.1-1.4.fc15.x86_64

How reproducible:
always

Steps to Reproduce:
1. Have swap on luks device and use it
2. Run swapon -s
  
Actual results:
$ swapon -s
Filename				Type		Size	Used	Priority
/dev/mapper/luks-470952af-2b85-40cd-9c00-64515dd5dda7partition	6289432	17432	0


Expected results:
$ swapon -s
Filename				Type		Size	Used	Priority
/dev/mapper/luks-470952af-2b85-40cd-9c00-64515dd5dda7 partition	6289432	17432	0


Additional info:

Comment 1 Pavel Holica 2011-08-08 14:06:43 UTC
Created attachment 517229 [details]
Add_separator_in_swapon_for_long_names.patch

Attaching patch fixing this issue.

Comment 2 Karel Zak 2011-08-09 11:15:15 UTC
Fixed by upstream commit 09e8b3852cb5a2c0b375419bcb369ae46db611c1. Fedora package will be fixed in F16 (after update to >= util-linux 2.20-rc2). Thanks!


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