Project

General

Profile

Actions

Bug #5172

closed

ncf-api does not run as root and cannot use command to read/write promises

Added by Vincent MEMBRÉ over 10 years ago. Updated over 10 years ago.

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

Description

ncf-api cannot write or read completetly data from techniques:

Since it's run as apache user you can't run cf-promises from /var/rudder/cfengine-community/bin, not run as root hooks from ncf-hooks.d

Several ways:

  • run the app as root
  • add commands in path and use sudo, modify sudoer so that user apache can use it

Subtasks 7 (0 open7 closed)

Bug #5194: correct permission on /var/rudder/configuration-repository so ncf-builder can write/delete techniquesReleasedJonathan CLARKE2014-07-03Actions
Bug #5209: Some issues on perms still persists even with shared repositoryReleasedVincent MEMBRÉ2014-07-03Actions
Bug #5220: The package rudder-webapp enforce mode of all files/folder under /var/rudder/configuration-files into '2775'ReleasedJonathan CLARKE2014-07-04Actions
Bug #5212: The group 'rudder' can't be added on SLES or RHEL during installation of rudder-webappReleasedJonathan CLARKE2016-11-14Actions
Bug #9674: Wrong group parameter during installation of rudder-webappReleasedAlexis Mousset2016-11-14Actions
Bug #5229: ncf-api needs to adjust permissions on .git ReleasedJonathan CLARKE2014-07-07Actions
Bug #5227: rudder-webapp fails with chmod in its postinst as bashism does not workReleasedJonathan CLARKE2014-07-07Actions
Actions

Also available in: Atom PDF