From Fedora Project Wiki

Description

Listing all enabled and disabled modules in Fedora 27 Modular Server

Setup

  1. Download and install Fedora 27 DVD image from XX
  2. Login as root

How to test

Listing All Modules:

  1. Execute dnf module list --all

Listing All enbaled Modules:

  1. Execute dnf module list --enabled

Listing All disabled Modules:

  1. Execute dnf module list --disabled

Expected Results

The commands execute without error

  1. The first command prints all the modules with their stream , version and profile details.
dnf module list --all                                                                                                                                                                                                            
Last metadata expiration check: 2:18:16 ago on Fri 10 Nov 2017 03:35:01 AM IST.                                                                                                                                                                      
Fedora Modular Server 27 - x86_64                                                                                                                                                                                                                    
Name                                                         Stream                                                  Version                                                  Profiles                                                               
389-ds                                                       1.3 [d]                                                 20171102233352                                           default                                                                
X11-base                                                     f27 [d][e]                                              20171103131108                                           default                                                                
                                                                                                                                                                                                                                                                                                                                                                              Hint: [d]efault, [e]nabled, [i]nstalled, [l]ocked
  1. The second command prints all the modules which are enabled in the the system
  2. The third command prints all the modules which are presently disabled

Optional

Optionally provide hints for exploratory testing.