-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> In any case, the root
>> of the problem, IMO, was with the permissions at least in the  
>> output that I
>> saw in your bug report.
> 
> 13-Jul 17:54 backup0-dir: Error: message.c:668 fopen /var/db/bacula/ 
> backup0-dir.backup0-dir.135133336.mail failed: ERR=Permission denied
> Kaboom! bacula-dir, backup0-dir got signal 11.
> 
> I was confused as to why everything else works properly, and when the  
> network card was fixed the permissions problem disappears.  The  
> directory is owned and writable only by bacula.
> 
> Investigating show something odd -- some of these files are owned and  
> writable only by root.  That's confusing -- how does bacula-dir  
> (which is invoked as user 'bacula') write out a file owned by root?
> 
> -rw-r-----  1 bacula  bacula    206 Jul  7 18:34 backup0-dir.backup0- 
> dir.135128472.mail
> -rw-r-----  1 bacula  bacula    206 Jul 13 17:49 backup0-dir.backup0- 
> dir.135129240.mail
> -rw-r-----  1 root    bacula    138 Jul 13 17:53 backup0-dir.backup0- 
> dir.135133336.mail
> -rw-r-----  1 root    bacula    138 Jul 13 18:20 backup0-dir.backup0- 
> dir.135133464.mail
> -rw-r-----  1 root    bacula      0 Jul 13 17:38 backup0-dir.backup0- 
> dir.135141272.mail
> -rw-r-----  1 bacula  bacula    206 Jul  5 14:59 backup0-dir.backup0- 
> dir.135168088.mail
> 
> I'm guessing that somehow the file was pre-created by a root owned  
> process, and then you tried to append or rewrite it as bacula?

More likely I'd think is that you accidentally ran Bacula as root once
or twice by mistake. How do you exec bacula's processes normally? Who do
your daemons run as? How did you install -- from source? I'm also
somewhat perplexed by the file permission problem -- it should have
failed if you didn't fix your permissions. As you no-doubt know, these
things don't tend to change by themselves. What are the permissions of
/var/db/bacula? I'd clear that directory out, in any case, with bacula
stopped -- after you've made a note of what was in there. If the problem
recurs, we'll have something.

- --
 ---- _  _ _  _ ___  _  _  _
 |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
 |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
 \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0Pywmb+gadEcsb4RAgkFAJ4mqZvcZXMwIX9Mgidbj7q25ij9mQCfcj/0
T2OwKl4+CgRL3ms3uuSsLLA=
=jTSa
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to