Bug #4728
closedcheck-rudder-agent is not added to the crontab on AIX systems
Description
check-rudder-agent script is not run using a cronjob on AIX.
We should add a cronjob to use in AIX.
Updated by François ARMAND over 10 years ago
- Status changed from New to 8
- Assignee set to Matthieu CERDA
This bug is blocking for 2.10.2.
Updated by Matthieu CERDA over 10 years ago
- Subject changed from check-rudder-agent is missing on AIX agent to check-rudder-agent is not added to the crontab on AIX systems
Updated by Matthieu CERDA over 10 years ago
- Status changed from 8 to Discussion
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
AIX does not provide a /etc/cron.d mechanism, and no /etc/crontab too actually. The only thing usable is the /var/spool/cron/crontabs directory, containing the user crontabs. Problem is, we have no exclusivity here, the root crontab can contain something already and we can only use root.
We haven't a lot of possibilities here:- Do not use cron on AIX and trust startsvc / inittab (the "AIX" way)
- Hack into /var/spool/cron/crontabs/root to add our check-rudder-agent script, with a lot of care
What should we do ?
Updated by Jonathan CLARKE over 10 years ago
- Assignee changed from Jonathan CLARKE to Matthieu CERDA
We don't really have a choice: let's add a line to the crintab.
But since we don't have historical upgrades to manage on AIX, just make it the simplest possible : if [ - X check Rudder agent then run check Rudder agent. Simple one liner.
Updated by Nicolas CHARLES over 10 years ago
- Status changed from Discussion to Rejected
This has been solved in http://www.rudder-project.org/redmine/issues/4907, rejecting it as duplicate