$TOP is not detected, nor defined in /etc/hobbit/hobbitclient.cfg

Bug #269060 reported by Alain Baeckeroot
2
Affects Status Importance Assigned to Milestone
hobbit (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Hardy by Alain Baeckeroot

Bug Description

Binary package hint: hobbit-client

$TOP is not defined in /etc/hobbit/hobbitclient.cfg, so near line 68 in /var/lib/hobbit/client/bin/hobbitclient-linux.sh the test fails and we don't have top processes reported in "cpu" feature on our hobbit-server.

--------------------------------
# $TOP must be set, the install utility should do that for us if it exists.
if test "$TOP" != ""
then
    if test -x "$TOP"
    then
        echo "[top]"
        $TOP -b -n 1
    fi
fi
----------------------

Trivial fix:
-----------
edit /etc/hobbit/hobbitclient.cfg and replace
TOP=""
by
TOP="/usr/bin/top"

$ lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04

$ apt-cache policy hobbit-client
hobbit-client:
  Installé : 4.2.0.dfsg-10
  Candidat : 4.2.0.dfsg-10
 Table de version :
 *** 4.2.0.dfsg-10 0
        500 http://fr.archive.ubuntu.com hardy/universe Packages
        100 /var/lib/dpkg/status

Revision history for this message
Alain Baeckeroot (alain-baeckeroot) wrote :

Checked on i386 and x86_64 for ubuntu-server 8.04.1

top is provided by procps package, which is mandatory.

Package: procps
Priority: required
Section: base

Changed in hobbit:
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.