Bug 1499206

Summary: [modularity] "dnf module list" output is corrupt
Product: [Fedora] Fedora Reporter: Stephen Tweedie <sct>
Component: dnfAssignee: Martin Hatina <mhatina>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: dmach, jmracek, mhatina, rpm-software-management
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-13 08:00:55 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:
Bug Depends On:    
Bug Blocks: 1478068    

Description Stephen Tweedie 2017-10-06 11:27:49 UTC
Description of problem:
Running from a docker container, "dnf module list" output is badly corrupt, wrapping lines confusingly in incorrect places.

This is a cosmetic issue but probably an f27 blocker, as "dnf module list" is almost unusable in this form.

The problem starts with lines where the "Profiles" column has been split over multiple lines; the following line seems to start midway across the screen without a linebreak, and this persists over the following lines.

Version-Release number of selected component (if applicable):
dnf-2.6.3-13.module_1d780a7b.modularity.2.22c5c22.noarch

How reproducible:
100%


Steps to Reproduce:
1. sudo docker pull jamesantill/boltron-27
2. sudo docker run --rm -ti jamesantill/boltron-27 bash
3. dnf module list

Actual results:
Tabular columns are corrupt.  Module entries appear all over the screen, some starting halfway across a line rather than each beginning at the start of a new line.

Comment 1 Martin Hatina 2017-10-23 08:11:56 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/951