Bug 1547006 - [modularity] list - non-visible info about installed and default profiles
Summary: [modularity] list - non-visible info about installed and default profiles
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 27
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: rpm-software-management
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1478068
TreeView+ depends on / blocked
 
Reported: 2018-02-20 10:41 UTC by Eva Mrakova
Modified: 2018-11-22 18:22 UTC (History)
5 users (show)

Fixed In Version: dnf-4.0.4
Clone Of:
Environment:
Last Closed: 2018-11-22 18:22:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Eva Mrakova 2018-02-20 10:41:17 UTC
Description of problem:
when a module has more than two profiles, it is not possible to find out
reliable info about installed profiles; only the first two profiles are
always listed. 
Also, info about default profiles is not shown in the 'list' output
(it can be found only in .defaults cfg file).

Note: 
* wider terminal or stdout redirection to a file does not help, the 'list'
  output is always the same
* --installed option does not help
* only 'list' shows info about installed and default profiles so it's not
  possible to use 'profile' or 'info' subcommands instead

Version-Release number of selected component (if applicable):


How reproducible:
always

Steps to Reproduce:
1. create a module with multiple profiles
   (e.g. ModuleA/client, default, devel, minimal, server)
2. enable the module, install a profile that is not visible in the
   output of 'dnf module list ModuleA'
3. run 'dnf module list ModuleA' again

Actual results:
# dnf module list ModuleA
<snip>
Name             Stream           Version          Profiles                     
ModuleA          f26 [e]          2                client, default, ...         
# dnf module install ModuleA/minimal
<snip>
Complete!
# dnf module list ModuleA
<snip>
Name             Stream           Version          Profiles                     
ModuleA          f26 [e]          2                client, default, ...   


Expected results:
it is possible to find out installed and default profiles in the 'list' output

Comment 1 Martin Hatina 2018-07-24 13:13:29 UTC
Fixed by https://github.com/rpm-software-management/dnf/pull/1144


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