It is really inconvenient to hear complaints like: $ sudo bash -c '/usr/bin/modulecmd bash load existing-scl' locate_module.c(245):ERROR:107: 'MODULEPATH' not set ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'existing-scl' So I would propose to not strictly *require* MODULEPATH variable, but have it as an option (let's have a set of directories we load by default, even if MODULEPATH is not set).
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'.
Closing in favor of older bug-ID. *** This bug has been marked as a duplicate of bug 1139165 ***