Bug 626443 - systemctl: headers/footers are wrapping
Summary: systemctl: headers/footers are wrapping
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-23 14:58 UTC by Zing
Modified: 2010-09-15 07:13 UTC (History)
6 users (show)

Fixed In Version: initscripts-9.20-1.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-09-14 23:32:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zing 2010-08-23 14:58:50 UTC
Description of problem:
The headers and footers of the systemctl output don't fit in 80 characters.  

Also, the header output should match the output from the command.  There is no description output, so that can just be chopped in this context.

Version-Release number of selected component (if applicable):
systemd-7-3.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. 80 column terminal
2. $ systemctl
  
Actual results:
UNIT                                          LOAD   ACTIVE       SUB          JOB             DESCRIPTION
basic.target                                  loaded active       active
<SNIP>
sys-devices-virtual-block-dm\x1d1.device      loaded active       plugged     

LOAD   = Load State, reflects whether the unit configuration was properly loaded.
ACTIVE = Active State, the high-level unit activation state, i.e. generalization of the substate.
SUB    = Substate, the low-level unit activation state, possible values depend on unit type.
JOB    = Job, shows pending jobs for the unit.

75 units listed. Pass --all to see inactive units, too.

Expected results:
Chop or format the output to fit in 80 columns.

Comment 1 Matthew Miller 2010-08-27 02:35:32 UTC
See also bug #626891 -- output changes based on terminal width.

Comment 2 Lennart Poettering 2010-08-31 14:59:50 UTC
systemd git now carefully makes sure we never print more than 80ch per line if we are on a 80ch terminal. This should fix this bug.

Comment 3 Zing 2010-09-01 13:28:05 UTC
In systemd-8-3.fc14.x86_64, the footer looks good, but the header is still wrapping and describes columns that don't exist.  I'll assume the fix hasn't hit rawhide yet.  thanks.

Comment 4 Rahul Sundaram 2010-09-02 09:01:57 UTC
Zing, 

He referred to systemd git aka the latest development. Not the version in rawhide yet.  So you will have to wait for the next update to test this.

Comment 5 Fedora Update System 2010-09-03 03:38:13 UTC
systemd-9-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/systemd-9-2.fc14

Comment 6 Fedora Update System 2010-09-03 16:44:15 UTC
systemd-9-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update systemd'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/systemd-9-2.fc14

Comment 7 Fedora Update System 2010-09-03 22:37:06 UTC
systemd-9-3.fc14, initscripts-9.18-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update systemd initscripts'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/systemd-9-3.fc14,initscripts-9.18-1.fc14

Comment 8 Fedora Update System 2010-09-08 03:18:27 UTC
initscripts-9.19-1.fc14, systemd-9-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update initscripts systemd'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/systemd-9-3.fc14,initscripts-9.19-1.fc14

Comment 9 Fedora Update System 2010-09-10 15:14:15 UTC
initscripts-9.20-1.fc14, sysvinit-2.87-5.dsf.fc14, systemd-9-3.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update initscripts sysvinit systemd'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/systemd-9-3.fc14,initscripts-9.20-1.fc14,sysvinit-2.87-5.dsf.fc14

Comment 10 Fedora Update System 2010-09-14 04:28:39 UTC
systemd-10-1.fc14, initscripts-9.20-1.fc14, sysvinit-2.87-5.dsf.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update systemd initscripts sysvinit'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/systemd-10-1.fc14,initscripts-9.20-1.fc14,sysvinit-2.87-5.dsf.fc14

Comment 11 Fedora Update System 2010-09-15 07:12:14 UTC
initscripts-9.20-1.fc14, sysvinit-2.87-5.dsf.fc14, systemd-10-2.fc14 has been pushed to the Fedora 14 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.