[pkg-bacula-devel] Bug#683080: Bug#683080: bacula-fd: Please build with libcap-dev
Tollef Fog Heen
tfheen at err.no
Fri Sep 21 21:40:36 UTC 2012
]] Tollef Fog Heen
> we (DSA) would very much like this bug to be fixed. Restore is a
> special case and running bacula-fd by hand or with other parameters is
> not a problem, as restores are done fairly rarely. Another option would
> be for bacula to be able to just write a tar file on disk, which could
> then have the right owner/groups inside.
>
> The extra dependency on libcap2 shouldn't be a problem for anybody. A
> fair amount of stuff already depends on it and it's a tiny library.
BTW, there is no need to fiddle with LDFLAGS or anything. Just add
libcap-dev to the Build-Depends and it comes out peachy, at least
according to the dependency line:
Package: bacula-fd
Source: bacula
Version: 5.2.6+dfsg-3
Architecture: amd64
Maintainer: Debian Bacula Team <pkg-bacula-devel at lists.alioth.debian.org>
Installed-Size: 357
Depends: bacula-common (= 5.2.6+dfsg-3), lsb-base, ucf, initscripts (>= 2.88dsf-13.3), libacl1 (>= 2.2.51-8), libc6 (>= 2.3), libcap2 (>= 2.10), libgcc1 (>= 1:4.1.1), libpython2.7 (>= 2.7), libssl1.0.0 (>= 1.0.0), libstdc++6 (>= 4.1.1), libwrap0 (>= 7.6-4~), zlib1g (>= 1:1.1.4)
It also starts fine:
8061 ? Ssl 0:00 /usr/sbin/bacula-fd -c /etc/bacula/bacula-fd.conf -k -u bacula
--
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are
More information about the pkg-bacula-devel
mailing list