Bug #7538
closed
User story #7409: Support CFEngine enterprise as agent
/etc/init.d/rudder-agent fails
Added by Nicolas CHARLES almost 9 years ago.
Updated almost 9 years ago.
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'
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>
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
- 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
- Related to Bug #7540: typo in /etc/init.d/rudder-agent added
- Related to deleted (Bug #7540: typo in /etc/init.d/rudder-agent)
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.2.0~beta1 which was released today.
Also available in: Atom
PDF