Project

General

Profile

Actions

Bug #16387

closed

Rudder-agent postinst fails on non-systemd OS

Added by Benoît PECCATTE almost 5 years ago. Updated almost 5 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Reviewed
Fix check:
Checked
Regression:

Description

Running Transaction
  Installing : 1:dmidecode-2.12-7.el6.x86_64                                                                                                                                              1/2 
  Installing : 1398866025:rudder-agent-6.0.1.rc1.git201912100236-1.EL.6.x86_64                                                                                                            2/2 
rudder-agent[3754]: [ALERT] can't execute cf-serverd
warning: %post(rudder-agent-1398866025:6.0.1.rc1.git201912100236-1.EL.6.x86_64) scriptlet failed, exit status 1
Non-fatal POSTIN scriptlet failure in rpm package 1398866025:rudder-agent-6.0.1.rc1.git201912100236-1.EL.6.x86_64
  Verifying  : 1398866025:rudder-agent-6.0.1.rc1.git201912100236-1.EL.6.x86_64                                                                                                            1/2 
  Verifying  : 1:dmidecode-2.12-7.el6.x86_64                                                                                                                                              2/2 

Installed:
  rudder-agent.x86_64 1398866025:6.0.1.rc1.git201912100236-1.EL.6                                                                                                                             
@
Dependency Installed:
  dmidecode.x86_64 1:2.12-7.el6                                                                                                                                                               

Complete!
/opt/rudder/share/commands/agent-update: line 64: /var/rudder/cfengine-community/bin/cf-agent: No such file or directory
ok: Rudder agent promises were updated.
Agent is currently in bootstrap policies, cannot run an inventory, you need to download initial policies from the server
rudder-agent[3922]: [ALERT] can't execute cf-serverd
error: start service rudder-agent failed
@

This is because we try to stop the agent with a biary that doesn't exist yet
Actions

Also available in: Atom PDF