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
+----------------------------------------------------------------------
|This was sent by [email protected] via Backup Central.
|Forward SPAM to [email protected].
+----------------------------------------------------------------------
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users