RHV: Host upgrade fails with the error :- semanage permissive -nl returned non-zero exit status

Solution Verified - Updated -

Issue

  • Upgrade of RHV-H fails with the following errors in the imgbased.log
[DEBUG] (MainThread) Exception! libsemanage.semanage_direct_get_module_info: Unable to read ovirt_vmconsole module lang ext file.
OSError: Error

Followed by

"Command '['semanage', 'permissive', '-nl']' returned non-zero exit status 1"

or

CalledProcessError: Command '['semanage', 'permissive', '-a', 'setfiles_t']' returned non-zero exit status 1

Environment

  • Red Hat Virtualization 4.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In