--
DaveD
On Aug 1, 2005, at 11:59 AM, David Duchscher wrote:
On Jul 20, 2005, at 1:15 PM, Tony Lambregts wrote:
I have ACL's working on our FreeBSD Server using Samba but when I
tried to backup and restore the files using Bacula I was unable to
restore the ACL's. When I investigated I discovered that Bacula
configured itself to have "ACL support: no". I compiled it from
soure using ports (bacula-1.36.2) The relevant portion of the
configure check is as follows.
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking for acl_get_file in -lacl... no
From my research that last test is only really valid on linux.
I would really like to know how to get Bacula to backup and restore
ACL's on FreeBSD. Is this a known issue that has a simple fix or have
I missed something?
Thank you for your time.
acl_get_file is in libc on FreeBSD. The acl library does exists on
freebsd and is why the test fails. Removing the -lacl from the
test will cause it to succeed. Here is a replacement patch for /
usr/ports/sysutils/bacula-server/files/patch-configure. I haven't
tested things completely yet so I am very interested in your
results. If it works for both of us, I will submit the patch to
the port maintainer and we can see about getting the test fixed in
future releases. In case the mailer mangles the patch, you can
also get it here: http://freebsd.tamu.edu/bacula/
After poking around some more, there is some linux only calls and
headers that get added in when ACLs are enabled. I fixed those up
and things will compile but being that is a lot of changes, I decided
to check what changes went into 1.37.30. Things are much better in
1.37.30 and I would suggest looking at it for ACL support. I also
think testing the beta is probably best since any bugs found might be
fixed before it becomes stable. One thing that still needs fixing
is the configure check for ACLs. Its the same as in 1.36.3.
Removing the -lacl will cause the test to pass on FreeBSD.
--
DaveD
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users