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 #1

Updated by Vincent MEMBRÉ over 10 years ago

  • Target version changed from 2.10.1 to 2.10.0
Actions #2

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/291
Actions #3

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:76898d6517bdcae0b5a72b0452cac6cd2108dd8d.

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

Applied in changeset commit:ea934681cd192fa185329dfdb211316035152c63.

Actions #5

Updated by Vincent MEMBRÉ over 10 years ago

  • Parent task set to #4595
Actions #6

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending release to Pending technical review
  • % Done changed from 100 to 0
  • Pull Request changed from https://github.com/Normation/rudder-packages/pull/291 to https://github.com/Normation/rudder-packages/pull/292

This change did not fix the problem - we still need the mkdir commands! So I reverted it.

New PR that actually does fix the problem: https://github.com/Normation/rudder-packages/pull/292

Actions #7

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:1886db744c12873766a2c4c8c713a7c2057caf18.

Actions #8

Updated by Vincent MEMBRÉ over 10 years ago

Applied in changeset commit:e461ba970dcb93f07d9542d1bc2398e02139b5ce.

Actions #9

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.0, which was released today.
Check out:

Actions #10

Updated by Benoît PECCATTE over 9 years ago

  • Category set to Packaging
Actions

Also available in: Atom PDF