Bacula does not compile/link to libcap, so the -k option is not supported: # bacula-fd -k -u bacula -f 18-Jun 12:55 bacula-fd: ERROR TERMINATION at priv.c:131 Keep readall caps not implemented this OS or missing libraries. # Running the file daemon with -k might be a good option if you don't need restore functionality.
Hello, ReadAll Capabilities support has been enabled by default in Fedora 15+. This, however, has the side effect of disabling backups of extended attributes because this requires super user privileges. There's a note in the sysconfig file for Fedora 17, I will make the change also in Fedora 16. You should see that the correct libraries are linked into the binary: $ ldd /usr/sbin/bacula-fd | grep cap libcap.so.2 => /lib64/libcap.so.2 (0x0000003223e00000) I'm on RHEL and Fedora 17 systems at the moment so I cannot test what's the problem here, can you perform the following? 1) Launching the daemon this way, and paste the output here: # bacula-fd -k -u bacula -f -d 200 2) Update the bacula file daemon to version 5.2.10 on a box that has the client only and try again to launch it with the "-k" flag, so we can check if it's a problem in 5.0.3. You can find a precompiled binary here: http://repos.fedorapeople.org/repos/slaanesh/bacula/ Please execute the following: # wget http://repos.fedorapeople.org/repos/slaanesh/bacula/fedora-bacula.repo \ -O /etc/yum.repos.d/fedora-bacula.repo # yum update bacula* # bacula-fd -k -u bacula -f -d 200 To revert back to the Fedora 16 version, simply execute the following: # rm -f /etc/yum.repos.d/fedora-bacula.repo # yum distro-sync bacula* Thanks, --Simone
(In reply to comment #1) > I'm on RHEL and Fedora 17 systems at the moment so I cannot test what's the > problem here, can you perform the following? Sorry, it turns out that I misinterpreted my notes. The functionality is clearly present in the Fedora 16 package.