Actions
Bug #8838
closedBroken "rudder agent reinit" on 4.0
Pull Request:
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.
Updated by Alexis Mousset over 8 years ago
resrt also gives:
cp: target `/var/rudder/ncf/common/' is not a directory
Updated by Alexis Mousset over 8 years ago
- Subject changed from Broken rudder agent reinit on 3.3 to Broken "rudder agent reinit" on 4.0
Updated by Alexis Mousset over 8 years ago
The missing /var/rudder/ncf/common/ happens because postinst script are broken
Updated by Alexis Mousset over 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...
Updated by Benoît PECCATTE over 8 years ago
- Status changed from New to In progress
- Assignee changed from Alexis Mousset to Benoît PECCATTE
Updated by Benoît PECCATTE over 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
Updated by Benoît PECCATTE over 8 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset rudder-packages|2217880105e41fd949de3258d7abf658d509bf43.
Updated by Alexis Mousset about 8 years ago
- Related to Bug #9233: Error during upgrade from 3.2 to 4.0 added
Updated by Benoît PECCATTE about 8 years ago
- Target version changed from 4.0.0~rc2 to 318
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 318 to 4.0.0~rc2
Updated by Vincent MEMBRÉ about 8 years ago
- Target version changed from 4.0.0~rc2 to 4.0.0~rc1
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