Project

General

Profile

Actions

Bug #4696

closed

initial promises don't detect basic Rudder inventory requirements (machine ID, CFEngine key, CFEngine user, users...) on non Linux/Windows/Android systems

Added by Jonathan CLARKE about 10 years ago. Updated about 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

#3289 introduced a nice pass of UNIX support, but missed out a couple of important cases:

  • We only ran detection of the CFEngine key and CFEngine user and user list on Windows, Android and Linux. That should also be run on all systems, using the UNIX default paths.
  • We tried to use dmidecode to get a machine ID on all non-Windows, non-Android systems. That obviously doesn't work. I'm fixing this one by adding in support for known OSes, for now AIX.

On AIX, we will use "uname -f" as a machine ID. From http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp?topic=/com.ibm.aix.cmds/doc/aixcmds5/uname.htm, this provides:

-F Displays a system identification string comprised of hexadecimal characters. This identification string is the same for all partitions on a particular system.
-f Similar to the F flag, except that the partition number is also used in the calculation of this string. The resulting identification string is unique for each partition on a particular system.

Actions #1

Updated by Jonathan CLARKE about 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/329
Actions #2

Updated by Jonathan CLARKE about 10 years ago

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

Applied in changeset commit:61f927f992078af1a69b30bc49d27dfc554b9c16.

Actions #3

Updated by Matthieu CERDA about 10 years ago

Applied in changeset commit:986c1739966cb10918a4bffad3db8072d3aae0b7.

Actions #4

Updated by Vincent MEMBRÉ almost 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 about 9 years ago

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

Also available in: Atom PDF