Project

General

Profile

Actions

Bug #8838

closed

Broken "rudder agent reinit" on 4.0

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

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

Description

   error: Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
/opt/rudder/bin/uuidgen: line 9: makeuuid: command not found
cp: target `/var/rudder/ncf/common/' is not a directory
ok: Rudder agent state has been reset.
/opt/rudder/share/commands/agent-factory-reset: line 75: /opt/rudder/share/commands/agent-inventory : No such file or directory

The makeuuid part is #8837.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #9233: Error during upgrade from 3.2 to 4.0ReleasedAlexis Mousset2016-10-21Actions
Actions #1

Updated by Alexis Mousset about 8 years ago

  • Description updated (diff)
Actions #2

Updated by Alexis Mousset about 8 years ago

resrt also gives:

cp: target `/var/rudder/ncf/common/' is not a directory
Actions #3

Updated by Alexis Mousset about 8 years ago

  • Subject changed from Broken rudder agent reinit on 3.3 to Broken "rudder agent reinit" on 4.0
Actions #4

Updated by Alexis Mousset about 8 years ago

The missing /var/rudder/ncf/common/ happens because postinst script are broken

Actions #5

Updated by Alexis Mousset about 8 years ago

The key creation was previously done by:

    echo "Making sure that the permissions on the CFEngine key directory are correct..." 
    if [ -d /var/rudder/cfengine-community/ppkeys ]; then
    chmod 700 /var/rudder/cfengine-community/ppkeys
    if [ `ls /var/rudder/cfengine-community/ppkeys | wc -l` -gt 0 ]; then
      chmod 600 /var/rudder/cfengine-community/ppkeys/*
    fi
    fi

in Debian postinst. I don't know yet why it was necessary to make this check...

Actions #6

Updated by Benoît PECCATTE about 8 years ago

  • Status changed from New to In progress
  • Assignee changed from Alexis Mousset to Benoît PECCATTE
Actions #7

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 set to https://github.com/Normation/rudder-packages/pull/1038
Actions #8

Updated by Benoît PECCATTE about 8 years ago

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

Updated by Alexis Mousset about 8 years ago

  • Related to Bug #9233: Error during upgrade from 3.2 to 4.0 added
Actions #10

Updated by Benoît PECCATTE about 8 years ago

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

Updated by Vincent MEMBRÉ about 8 years ago

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

Updated by Vincent MEMBRÉ about 8 years ago

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

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