Project

General

Profile

Actions

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 over 8 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

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
Actions #1

Updated by Jonathan CLARKE over 8 years ago

  • 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.

Actions #2

Updated by Jonathan CLARKE over 8 years ago

  • Status changed from New to In progress
  • Assignee set to Jonathan CLARKE
Actions #3

Updated by Jonathan CLARKE over 8 years ago

  • 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
Actions #4

Updated by Benoît PECCATTE over 8 years ago

The problem is that not all RPM distribution will have that package

Actions #5

Updated by Jonathan CLARKE over 8 years ago

  • 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
Actions #6

Updated by Jonathan CLARKE over 8 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100
Actions #8

Updated by Vincent MEMBRÉ over 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.5 which was released today.

Actions

Also available in: Atom PDF