Project

General

Profile

Actions

Bug #5227

closed

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

Bug #5194: correct permission on /var/rudder/configuration-repository so ncf-builder can write/delete techniques

rudder-webapp fails with chmod in its postinst as bashism does not work

Added by Nicolas PERRON over 9 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

The rudder-webapp postinst fails to install with this error log:

[...]
INFO: Creating group rudder... Done
06:15:29 INFO: Adding ncf-api-venv to the rudder group... Done
06:15:29 chmod: cannot access `/var/rudder/configuration-repository/{ncf,techniques}': No such file or directory
06:15:29 Setting up ca-certificates-java (20121112+nmu2) ...
06:15:29 dpkg: error processing rudder-webapp (--configure):
[...]

This is due to the bashim "/var/rudder/configuration-repository/{ncf,techniques}" which is not permitted.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #5220: The package rudder-webapp enforce mode of all files/folder under /var/rudder/configuration-files into '2775'ReleasedJonathan CLARKE2014-07-04Actions
Actions #1

Updated by Nicolas PERRON over 9 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Nicolas PERRON to Jonathan CLARKE
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/439

This bug appears since #5220

PR URL added: https://github.com/Normation/rudder-packages/pull/439

Jon, could you review it please ?

Actions #2

Updated by Nicolas PERRON over 9 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:commit:1f1434efdc7dd0ba6ffd94c3e27f4dd6e5650877.

Actions #3

Updated by Nicolas CHARLES over 9 years ago

Applied in changeset packages:commit:70e91550a51391b7768211b9d2b07db8826e5ebe.

Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Parent task set to #5194
Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.0~rc1 (announcement , changelog), which was released today.

Actions

Also available in: Atom PDF