Project

General

Profile

Actions

Bug #7517

closed

Bug #7508: The rudder-agent cron on AIX uses if then, which makes some security test fails

Erroneous use of "\&" in initial promises

Added by Jonathan CLARKE over 8 years ago. Updated over 8 years ago.

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

Description

This was copied from the techniques, where we need to escape "&" characters, but should not be in initial promises:

        edit_line     => insert_lines("0,5,10,15,20,25,30,35,40,45,50,55 * * * * test -x /opt/rudder/bin/check-rudder-agent \&\& /opt/rudder/bin/check-rudder-agent >/dev/null"),                                                                                                                                                               
Actions

Also available in: Atom PDF