Bug 728963

Summary: Missing separator in swapon -s command
Product: [Fedora] Fedora Reporter: Pavel Holica <pholica>
Component: util-linuxAssignee: Karel Zak <kzak>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: jonathan, kzak
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-09 11:15:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Add_separator_in_swapon_for_long_names.patch none

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!