Bug #7418
closed
Bug #7393: Selinux policy prevent running cf-agent when using technique editor
"semanage: command not found" error during ncf-api-virtualenv package installation on RHEL/Fedora systems
Added by Jonathan CLARKE about 9 years ago.
Updated almost 9 years ago.
Category:
System integration
Description
I just installed a Rudder 3.2 server on CentOS 7, and saw this in the output:
==> server_centos: INFO: Creating the ncf-api-venv user... Done
==> server_centos: /var/tmp/rpm-tmp.xY6YjS: line 20: semanage: command not found
- Target version set to 3.1.5
- Parent task set to #7393
This was introduced by #7393 recently, and has never been released in a Rudder version.
It turns out the semanage command is provided by the "policycoreutils-python" package, which is not necessarily installed. If we need this, we should depend on it.
- Status changed from New to In progress
- Assignee set to Jonathan CLARKE
- Subject changed from "semanage: command not found" error during ncf-api-virtualenv package installation on RPM systems to "semanage: command not found" error during ncf-api-virtualenv package installation on RHEL/Fedora systems
The problem is that not all RPM distribution will have that package
- Status changed from In progress to Pending technical review
- Assignee changed from Jonathan CLARKE to Benoît PECCATTE
- Pull Request set to https://github.com/Normation/rudder-packages/pull/794
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.1.5 which was released today.
Also available in: Atom
PDF