hobbit-client fails to load config due to missing /var/run/hobbit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hobbit (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
Bug Description
Binary package hint: hobbit-client
root@adamg-
./hobbit-client: 79: cannot create /var/run/
./hobbit-client: 79: cannot create /var/run/
Starting Hobbit Client: hobbitclient.
These errors are due to /var/run/hobbit not existing.
At each reboot, it seems the /var/run/hobbit directory is removed again.
Details:
1) Description: Ubuntu 8.04
Release: 8.04
2) hobbit-client:
Installed: 4.2.0.dfsg-10
Candidate: 4.2.0.dfsg-10
Version table:
*** 4.2.0.dfsg-10 0
500 http://
100 /var/lib/
3) Hobbit client to start reporting it's status to my Hobbit server
4) Hobbit status went purple, as the hobbit client was not reporting to my Hobbit server due to not knowing where the hobbit server is.
Changed in hobbit: | |
status: | New → Confirmed |
same here. We set the following in our init.d script
--- snipp ---
test -x $DAEMON || exit 0
# Create hobbitclient PIDDIR
if [ -d /var/run -a ! -d /var/run/hobbit ]; then
mkdir -p /var/run/hobbit
chown hobbit.hobbit /var/run/hobbit
fi
# Set the right rights hobbit/ client/ tmp
if [ -d /var/lib/hobbit/tmp ]; then
chown -R hobbit.hobbit /var/lib/hobbit/tmp
chown -R hobbit.hobbit /usr/lib/
fi
# Include hobbitclient defaults if available hobbit- client ] ; then hobbit- client
if [ -f /etc/default/
. /etc/default/
fi
--- snipp ---