Project

General

Profile

Actions

Bug #4700

closed

cf-agent fails on systems that don't support "find . -not ..." (AIX, in particular)

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

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

#4460 introduced many changes to Techniques to support UNIX systems, but missed one, that causes this error:

find: bad option -not

This comes from the dynamic inputs calculation in promises.cf:

"ncf_inputs" slist => splitstring(execresult("/usr/bin/find /var/rudder/ncf -name '*.cf' -not -name 'promises.cf'", "noshell"), "\n", 10000);

This can be easily replaced with the POSIX supported "!" option instead.


Related issues 1 (0 open1 closed)

Related to Rudder - User story #4460: UNIX support - implementation for other Techniques - general casesReleasedJonathan CLARKE2014-02-10Actions
Actions #1

Updated by Jonathan CLARKE over 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/330
Actions #2

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:90594ac61fd1127adb48d53026847ef54dabc3f8.

Actions #3

Updated by Matthieu CERDA over 10 years ago

Applied in changeset commit:452dbfacdbdbc8404d33b552413c75e234a8e3e5.

Actions #4

Updated by Vincent MEMBRÉ over 10 years ago

  • Status changed from Pending release to Released

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

Actions #5

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 24 to Rudder
  • Category set to Techniques
Actions

Also available in: Atom PDF