Project

General

Profile

Actions

Bug #7538

closed

User story #7409: Support CFEngine enterprise as agent

/etc/init.d/rudder-agent fails

Added by Nicolas CHARLES about 9 years ago. Updated about 9 years ago.

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

Description

On a system with both CFEngine Community and CFEngine Enterprise, I have

/etc/init.d/rudder-agent start
rudder-agent[20107]: [INFO] Using /var/rudder/cfengine-community for CFEngine workdir
/etc/init.d/rudder-agent: line 162: [: root: integer expression expected
/etc/init.d/rudder-agent: line 293: syntax error near unexpected token `then'
/etc/init.d/rudder-agent: line 293: `      then'


Subtasks 1 (0 open1 closed)

Bug #7540: typo in /etc/init.d/rudder-agentReleasedVincent MEMBRÉ2015-12-03Actions
Actions #1

Updated by Nicolas CHARLES about 9 years ago

MYUID=`id | cut -d\( -f2 | cut -d\) -f1`     # For UNIX compatibility => modify this command

MYUID returns root on Centos

It is likely that it happens on all systems and on previous versions as well

# id
uid=0(root) gid=0(root) groupes=0(root) contexte=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
<pre>
Actions #2

Updated by Benoît PECCATTE about 9 years ago

  • Status changed from New to In progress
Actions #3

Updated by Benoît PECCATTE about 9 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/823
Actions #4

Updated by Benoît PECCATTE about 9 years ago

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

Updated by Jonathan CLARKE about 9 years ago

Actions #6

Updated by Nicolas CHARLES about 9 years ago

  • Subject changed from /etc/init.d/rudder-agent fails if I have Rudder agent and cfengine enterprise agent to /etc/init.d/rudder-agent fails
Actions #7

Updated by Nicolas CHARLES about 9 years ago

  • Related to Bug #7540: typo in /etc/init.d/rudder-agent added
Actions #8

Updated by Vincent MEMBRÉ about 9 years ago

  • Related to deleted (Bug #7540: typo in /etc/init.d/rudder-agent)
Actions #9

Updated by Vincent MEMBRÉ about 9 years ago

  • Parent task set to #7409
Actions #10

Updated by Vincent MEMBRÉ about 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.2.0~beta1 which was released today.

Actions

Also available in: Atom PDF