package zabbix-agent 1:2.0.2+dfsg-3 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1

Bug #1078183 reported by lako emani
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
zabbix (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

problem to install zabbix-agent in computer where zabbix-server is install

ProblemType: Package
DistroRelease: Ubuntu 12.10
Package: zabbix-agent 1:2.0.2+dfsg-3
ProcVersionSignature: Ubuntu 3.5.0-18.29-generic 3.5.7
Uname: Linux 3.5.0-18-generic i686
ApportVersion: 2.6.1-0ubuntu6
AptOrdering:
 zabbix-agent: Install
 zabbix-agent: Configure
Architecture: i386
Date: Mon Nov 12 16:46:57 2012
ErrorMessage: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
InstallationDate: Installed on 2009-10-30 (1110 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.2)
MarkForUpload: True
SourcePackage: zabbix
Title: package zabbix-agent 1:2.0.2+dfsg-3 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
lako emani (lakoemani) wrote :
Revision history for this message
lako emani (lakoemani) wrote :

zabbix-agent crash

Revision history for this message
Nicola Volpini (nicola-volpini) wrote :

I confirm this. The issue is in the init scripts for the agent, for the server and for the proxy. The issue has been fixed in the 2.0.3 version of the package (I did a comparison of the init scripts between 2.0.2 and 2.0.3).
Apparently there's a wrong evaluation in the _ev_ function on lines 28-30 . Here, this is the NON-working version from zabbix 2.0.2:

_ev_ () {
  [ "$VERBOSE" != "no" ] && eval $@
}

This is the working version from the package zabbix 2.0.3 (from Ubuntu Raring):

_ev_ () {
  [ "$VERBOSE" = "no" ] || eval $@
}

I copied the init scripts, recompiled the package and now it starts correctly.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in zabbix (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.