Project

General

Profile

Actions

Bug #16387

closed

Rudder-agent postinst fails on non-systemd OS

Added by Benoît PECCATTE over 4 years ago. Updated over 4 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 #1

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #2

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/2162
Actions #3

Updated by Alexis Mousset over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Benoît PECCATTE over 4 years ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Alexis Mousset over 4 years ago

  • Subject changed from Rudder-agent doesn't finish installation on some OS to Rudder-agent postinst fails on non-systemd OS
  • Name check changed from To do to Reviewed
Actions #6

Updated by Nicolas CHARLES over 4 years ago

  • Fix check changed from To do to Checked
Actions #7

Updated by Vincent MEMBRÉ over 4 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.0.1 which was released today.

Actions

Also available in: Atom PDF