Project

General

Profile

Actions

Bug #7019

closed

Could not upload inventory when SELinux is enabled

Added by Alexis Mousset over 9 years ago. Updated over 9 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

Rudder 3.1.0, Centos 7:

2015-07-21T11:54:47+0000    error: /default/doInventory/methods/'any'/default/sendInventory/files/'/var/rudder/inventories'[0]: Finished command related to promiser '/var/rudder/inventories' -- an error occurred, returned 22
2015-07-21T11:54:47+0000    error: /default/doInventory/methods/'any'/default/sendInventory/files/'/var/rudder/inventories'[0]: Transformer '/var/rudder/inventories/server-root.ocs' => '/usr/bin/curl -k -f -s --proxy '' --user rudder:rudder -T /var/rudder/inventories/server-root.ocs https://127.0.0.1/inventory-updates/' returned error
2015-07-21T11:54:47+0000    error: /default/doInventory/methods/'any'/default/sendInventory/files/'/var/rudder/inventories'[0]: Finished command related to promiser '/var/rudder/inventories' -- an error occurred, returned 22
2015-07-21T11:54:47+0000    error: /default/doInventory/methods/'any'/default/sendInventory/files/'/var/rudder/inventories'[0]: Transformer '/var/rudder/inventories/server-root.ocs.sign' => '/usr/bin/curl -k -f -s --proxy '' --user rudder:rudder -T /var/rudder/inventories/server-root.ocs.sign https://127.0.0.1/inventory-updates/' returned error

The request returns a 403, and works after a setenforce 0.


Subtasks 6 (0 open6 closed)

Bug #7051: rudder-webapp.fc is not copied in the builddirReleasedMatthieu CERDA2015-07-30Actions
Bug #7076: Broken SELinux packagingReleasedMatthieu CERDA2015-08-07Actions
Bug #7083: Broken SELinux packaging in ncf-api-virtualenvRejectedMatthieu CERDA2015-08-07Actions
Bug #7088: Unable to build ncf-api-virtualenv since rudderdir does not exists in spec ReleasedMatthieu CERDA2015-08-10Actions
Bug #7089: ncf-api-virtualenv package does not create its own 'share/selinux' directory ReleasedMatthieu CERDA2015-08-10Actions
Bug #7090: Wrong buidl directory when building selinux policy for ncf-api-virtualenvReleasedMatthieu CERDA2015-08-10Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #7021: When SELinux is enabled, the ncf-api-venv home is owned by rootReleasedMatthieu CERDA2015-07-21Actions
Actions

Also available in: Atom PDF