no dpkg in... errors in hobbitclient logs
23 Nov
2005
23 Nov
'05
3:35 p.m.
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
7519
Age (days ago)
7519
Last active (days ago)
0 comments
1 participants
participants (1)
-
smith.js.8@pg.com