[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
no dpkg in... errors in hobbitclient logs
- To: hobbit (at) hswn.dk
- Subject: no dpkg in... errors in hobbitclient logs
- From: smith.js.8 (at) pg.com
- Date: Wed, 23 Nov 2005 10:35:57 -0500
- Pgsenderhost: bdc-notes083.na.pg.com [155.125.116.194]
Henrik,
In the default configuration for linux, using the latest 21-Nov-2005 snapshot,
the /var/log/hobbit/hobbitclient.log file fills up with this message:
hobbitclient.log:which: no dpkg in
(/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/home/hobbit/server/bin)
This can be eliminated by editing the hobbit/client/bin/hobbitclient-linux.sh
script and changing these two lines:
RPM=`which rpm`
DPKG=`which dpkg`
to this:
RPM=`which rpm 2>/dev/null`
DPKG=`which dpkg 2>/dev/null`
Not a big thing, but I consider the messages pointless since the code deals
with success/failure appropriately. The same or similar approach should work in
the other client scripts as well.
--Scott