Project

General

Profile

Actions

Bug #8837

closed

Makke uuidgen a single point of uuid generation

Added by Alexis Mousset over 8 years ago. Updated about 8 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

/opt/rudder/bin/uuidgen: line 9: makeuuid: command not found

The uuidgen binary in /opt/rudder/bin should not ne balled uuigden since it does not have the same API as the read uuidgen binary.

Let's call it rudder-uuidgen.

Then it should be the only way to generate uuid, called by all other places that need. Thus it could contain all the smart thing we want to rudder the right uuid generation method depending on the situation.


Subtasks 1 (0 open1 closed)

Architecture #8987: call rudder-uuidgen in rudder agent checkReleasedAlexis Mousset2016-09-09Actions

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #9040: uuidgen should not be source packaged anymoreReleasedAlexis Mousset2016-09-14Actions
Actions #1

Updated by Jonathan CLARKE about 8 years ago

  • Target version set to 4.0.0~rc2

The file /opt/rudder/bin/uuidgen should not be installed on SLES. It should only be installed on AIX. This comes from the use of a single Makefile in master:
https://github.com/Normation/rudder-packages/blob/master/rudder-agent/SOURCES/Makefile#L189

Please also add a comment in the uuidgen file to explain this should only be used on AIX. And actually add a check, and if the OS has a uuidgen command use it, and only use our workaround if not.

Actions #2

Updated by Alexis Mousset about 8 years ago

  • Subject changed from Missing makeuuid on sles 12 to Missing makeuuid on RPM systems
Actions #3

Updated by Alexis Mousset about 8 years ago

  • Status changed from New to In progress
Actions #4

Updated by Alexis Mousset about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis Mousset to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1024
Actions #5

Updated by Benoît PECCATTE about 8 years ago

  • Description updated (diff)

The uuidgen binary in /opt/rudder/bin should not ne balled uuigden since it does not have the same API as the read uuidgen binary.

Let's call it rudder-uuidgen.

Then it should be the only way to generate uuid, called by all other places that need it.

Actions #6

Updated by Benoît PECCATTE about 8 years ago

  • Subject changed from Missing makeuuid on RPM systems to Makke uuidgen a single point of uuid generation
Actions #7

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from Pending technical review to In progress
  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
Actions #8

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request changed from https://github.com/Normation/rudder-packages/pull/1024 to https://github.com/Normation/rudder-packages/pull/1039
Actions #9

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Alexis Mousset to Jonathan CLARKE
Actions #10

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Jonathan CLARKE to Alexis Mousset
Actions #11

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Alexis Mousset to Jonathan CLARKE
Actions #12

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Jonathan CLARKE to Alexis Mousset
Actions #13

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Alexis Mousset to Jonathan CLARKE
Actions #14

Updated by Benoît PECCATTE about 8 years ago

  • Assignee changed from Jonathan CLARKE to Alexis Mousset
Actions #15

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from Pending technical review to Pending release
Actions #16

Updated by Benoît PECCATTE about 8 years ago

  • Related to Bug #9040: uuidgen should not be source packaged anymore added
Actions #17

Updated by Benoît PECCATTE about 8 years ago

  • Target version changed from 4.0.0~rc2 to 318
Actions #18

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 318 to 4.0.0~rc2
Actions #19

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 4.0.0~rc2 to 4.0.0~rc1
Actions #20

Updated by Alexis Mousset about 8 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.0.0 which was released the 10th November 2016.

Actions

Also available in: Atom PDF