Comment 8 for bug 235137

Revision history for this message
C Schuman (k4gbb1-embarqmail) wrote : Re: [Bug 235137] Re: hobbit-client fails to load config due to missing /var/run/hobbit

I have approx 22 client sites setup on Ubuntu servers.
While we are waiting for the Packages to be updated.

add :

# Set the correct rights
if [ -d /var/lib/hobbit/tmp ]; then
        chown -R hobbit.hobbit /var/lib/hobbit/tmp
        chown -R hobbit.hobbit /usr/lib/hobbit/client/tmp
fi

I add this behind :

# 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

<<Charley>>

Asif wrote:
> We are experiencing the same issue as well.
>
> Currently we are doing the following manually.
>
> ~$ sudo mkdir /var/run/hobbit
> ~$ sudo pkill -u hobbit
> ~$ sudo /etc/init.d/hobbit-client start
> * Starting Hobbit Client hobbitclient
> ...done.
>
> We could add the change that ourself, but would be nice if the package
> gets fixed in the repo.
>
>