Syntax error in nagios-nrpe-server init script.

Bug #447456 reported by Andrew Glen-Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios-nrpe (Debian)
Fix Released
Unknown
nagios-nrpe (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I am currently running Karmic.

Problem:

After upgrading from Jaunty, the nagios-nrpe-server init script now returns an error on start.

$ sudo /etc/init.d/nagios-nrpe-server restart
 * Stopping nagios-nrpe nagios-nrpe
   ...done.
[: 72: unexpected operator

Solution:

There is a syntax error in the 'start' case statement. Fix the typo and the error goes away (see attached patch).

Related branches

Revision history for this message
Andrew Glen-Young (aglenyoung) wrote :
Revision history for this message
Andrew Glen-Young (aglenyoung) wrote :

I should provide a few more details:

nagios-nrpe-server 2.12-3

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.10
DISTRIB_CODENAME=karmic
DISTRIB_DESCRIPTION="Ubuntu karmic (development branch)"

Changed in nagios-nrpe (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nagios-nrpe - 2.12-3ubuntu1

---------------
nagios-nrpe (2.12-3ubuntu1) karmic; urgency=low

  * Resolve bashism in init script thanks to Andrew Glen-Young
    (LP: #447456). Fixed in Debian version 2.12-3.1.

 -- Brian Murray <email address hidden> Tue, 13 Oct 2009 20:31:48 -0700

Changed in nagios-nrpe (Ubuntu):
status: Triaged → Fix Released
Changed in nagios-nrpe (Debian):
status: Unknown → Fix Released
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.