Project

General

Profile

Actions

Bug #4694

closed

User story #4595: Support for AIX (agent only)

RPM postinst fails on all systems due to missing directories

Added by Jonathan CLARKE over 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

When #4671 changed the way we include files in the %files section, some directories that used to be created (empty directories) got ignored, and are no longer in the RPM. This results in this during postinst:

cp: target `/var/rudder/cfengine-community/bin/' is not a directory
ls: cannot access /var/rudder/cfengine-community/bin/: No such file or directory
cp: target `/var/rudder/cfengine-community/inputs' is not a directory
cp: target `/var/rudder/cfengine-community/inputs/' is not a directory

We should include this directly in the %files section to make sure they are created.


Related issues 1 (0 open1 closed)

Related to Rudder - User story #4671: Avoid listing files twice in .spec %files sectionReleasedMatthieu CERDA2014-03-27Actions
Actions

Also available in: Atom PDF