Project

General

Profile

Actions

Bug #3515

closed

Upgrading rudder-agent from 2.4.4 to 2.6.0 nightly lead to having an error from CFEngine because of permissions of directories

Added by Nicolas PERRON almost 11 years ago. Updated about 9 years ago.

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

Description

After upgrade from Rudder 2.4.4 to Rudder 2.6.0 nightly, CFEngine can't start with theses messages:

rudder-agent[10933]: [INFO] Using /etc/default/rudder-agent for configuration
rudder-agent[10936]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[10937]: [INFO] Halting CFEngine Community cf-serverd...
rudder-agent[10938]: [INFO] can't read PID file, not stopping cf-serverd
rudder-agent[10939]: [INFO] Halting CFEngine Community cf-execd...
rudder-agent[10940]: [INFO] can't read PID file, not stopping cf-execd
rudder-agent[10946]: [INFO] Found no CFEngine Community cf-serverd processes running
rudder-agent[10953]: [INFO] Found no CFEngine Community cf-execd processes running
CFEngine binaries copied to workdir
rudder-agent[10972]: [INFO] Using /etc/default/rudder-agent for configuration
rudder-agent[10975]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
rudder-agent[10976]: [INFO] Launching CFEngine Community cf-serverd...
Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[11098]: [ALERT] no PID file for cf-serverd after 30 seconds. Trying again...
Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[11220]: [ALERT] no PID file for cf-serverd after 60 seconds. Trying again...
Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[11263]: [ALERT] no PID file for cf-serverd after 70 seconds
rudder-agent[11264]: [INFO] Launching CFEngine Community cf-execd...
Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[11385]: [ALERT] no PID file for cf-execd after 30 seconds. Trying again...
Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[11508]: [ALERT] no PID file for cf-execd after 60 seconds. Trying again...
Fatal CFEngine error: UNTRUSTED: Private key directory /var/rudder/cfengine-community/ppkeys (mode 755) was not private!
rudder-agent[11551]: [ALERT] no PID file for cf-execd after 70 seconds

Related issues 2 (0 open2 closed)

Related to Rudder - Bug #3633: During the first installation of rudder-agent, chmod is made on nonexistent ppkeys of CFEngineReleasedNicolas PERRON2013-06-04Actions
Related to Rudder - Bug #10034: Error when upgrading rudder-agentReleasedBenoît PECCATTEActions
Actions #1

Updated by Nicolas PERRON almost 11 years ago

  • Assignee deleted (Nicolas PERRON)
Actions #2

Updated by Matthieu CERDA almost 11 years ago

  • Status changed from New to In progress
  • Assignee set to Matthieu CERDA
Actions #3

Updated by Matthieu CERDA almost 11 years ago

  • Status changed from In progress to Pending technical review
  • % Done changed from 0 to 100
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/45

PR available.

Actions #4

Updated by Jonathan CLARKE almost 11 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:1ca64f5434aa4c937f1bea046bcc5e7c811fd2d9.

Actions #5

Updated by Jonathan CLARKE almost 11 years ago

  • Status changed from Pending release to Released
Actions #6

Updated by Nicolas PERRON almost 11 years ago

A bug has been introduced by this commit. See #3633

Actions #7

Updated by Benoît PECCATTE about 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions #8

Updated by Alexis Mousset about 7 years ago

  • Related to Bug #10051: When upgrading agent on Centos6 from 3.1 to 4.1, all promises are replaced by initial promises added
Actions #9

Updated by Alexis Mousset about 7 years ago

  • Related to deleted (Bug #10051: When upgrading agent on Centos6 from 3.1 to 4.1, all promises are replaced by initial promises)
Actions #10

Updated by Alexis Mousset about 7 years ago

  • Related to Bug #10034: Error when upgrading rudder-agent added
Actions

Also available in: Atom PDF