When a resolution to the Bug 1669527 - dnf module install <module> - just enable it, without installing it. bug is agreed on, document it here.
The bug was resolved in Fedora 29: DNF now reports an error when installing a module without specifying a profile if there is no default profile set. Verified in libdnf-0.66.0-1.fc37.
Empty profiles are explicitly allowed https://docs.fedoraproject.org/en-US/modularity/policies/packaging-guidelines/#_profiles: It is possible to define a profile that doesn’t install any packages. But broken in libmodulemd https://github.com/fedora-modularity/libmodulemd/issues/593. I could verify DNF behavior because of the libmodulemd bug.
Documentation amended https://pagure.io/fedora-docs/modularity/c/72eb70e95fba832b113dedda69d061ce3056bd36?branch=master
Metadata Update from @ppisar: - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.