]> git.sur5r.net Git - bacula/bacula/commit
kes Move the checking of the database in initializion of the Director
authorKern Sibbald <kern@sibbald.com>
Sun, 18 Mar 2007 20:10:58 +0000 (20:10 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 18 Mar 2007 20:10:58 +0000 (20:10 +0000)
commit48502728cb3358a557edc027e7213e7c1158964e
tree4431c0bfa21d4c47a45a98d7a9b3391a286d93a4
parent7bfb96771c3ccd9ae692ccaf860d29ad67591054
kes  Move the checking of the database in initializion of the Director
     to after we drop privileges.  This avoids the need for both root
     and bacula access to the DB.
kes  Correct a misplaced variable definition in src/filed/backup.c
kes  Correct how the new batch insert db_create_attributes_record()
     uses the arguments.  Caused a seg fault in bscan.
kes  Implement lock() and unlock() methods in DEVICE class.
     Implement block() and set_block(xx) methods in DEVICE class.
kes  Modify bnet_connect() so that it uses time() to check for the
     wait time expiring (on some OSes, some system calls may not
     return immediately).
kes  Modify Verify to obtain the previous JobId when it is actually
     running rather than at schedule time (as it was in 1.38.x).
kes  Fix src/job.c to handle MaxWaitTime correctly.  This should
     fix bug #802.
kes  When checking pid in pid file, continue running if the pid is
     the same as ours. This occurs on IRIX after a system crash.
     Fixes bug #797.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4358 91ce42f0-d328-0410-95d8-f526ca767f89
23 files changed:
bacula/src/cats/sql_create.c
bacula/src/cats/sqlite.c
bacula/src/dird/dird.c
bacula/src/dird/job.c
bacula/src/filed/backup.c
bacula/src/lib/bnet.c
bacula/src/lib/bsock.h
bacula/src/lib/bsys.c
bacula/src/lib/protos.h
bacula/src/stored/acquire.c
bacula/src/stored/askdir.c
bacula/src/stored/autochanger.c
bacula/src/stored/dev.c
bacula/src/stored/dev.h
bacula/src/stored/device.c
bacula/src/stored/dircmd.c
bacula/src/stored/protos.h
bacula/src/stored/reserve.c
bacula/src/stored/status.c
bacula/src/stored/stored.c
bacula/src/stored/wait.c
bacula/src/version.h
bacula/technotes-2.1