I can confirm that I'm seeing the same error.  It looks like someone got the umask backwards not realizing they needed to specify the bits they didn't want.  I've filed a bug report about the issue, so hopefully it will be fixed for the next release.


connextis wrote:
Possibly there is a bug in make_catalog_backup.pl

The script creates for my Mysql setup the /var/lib/bacula/.my.cnf file.

All settings are correct except the file acl.
 ll /var/lib/bacula/.my.cnf
----rw-rw- 1 bacula bacula 54  2. Feb 20:23 /var/lib/bacula/.my.cnf

This file is ignore because of the world-wide read:
Warning: World-writable config file '/var/lib/bacula/.my.cnf' is ignored

So the login data isnt recognized and i get a failed mysql login.

line 92 of make_catalog_backup.pl gives :
    umask(0700); 

i corrected this to 
    umask(0077);

Now the catalog dumb works.
 ll /var/lib/bacula/.my.cnf
-rw------- 1 bacula bacula 54  2. Feb 20:25 /var/lib/bacula/.my.cnf

Can anybody confirm this ?

thx in advance
  


--
Tyler Bannister
Network Operations Center


NetAccess Systems Inc.
1 Main Street East
Hamilton, Ontario L8N 1E7
Phone: 905.524.2001 x 224
Fax: 905.524.3010
Email: ty...@nas.net
www.nas.net
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to