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

Status:
Released
Priority:
1 (highest)
Assignee:
Jonathan CLARKE
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

Also available in: Atom PDF