Fix problem where dbworkersocket rename could indicate a missing path

This commit is contained in:
Jarrod Johnson
2013-06-25 09:26:52 -04:00
parent 3dc34ed30d
commit 4eacc008e3

View File

@@ -159,7 +159,7 @@ sub init_dbworker {
#This process is the database worker, it's job is to manage database queries to reduce required handles and to permit cross-process caching
$0 = "xcatd: DB Access";
use File::Path;
mkpath('/tmp/xcat/');
mkpath('/var/run/xcat/');
use IO::Socket;
$SIG{TERM} = $SIG{INT} = sub {
$exitdbthread=1;