[pkg-bacula-devel] Bug#500370: bacula-sd: please fix path to dvd-handler in default config

Luca Capello luca at pca.it
Wed Jun 6 16:51:18 UTC 2012

found 500370 5.0.2-2.2+b1
forwarded 500370 http://bugs.bacula.org/view.php?id=1884
tags 500370 + upstream
tags 500370 + pending
usertags 500370 + debian-packaging

Hi Arne!

I am sorry for the delay.

On Sat, 27 Sep 2008 16:02:46 +0200, Arne Wichmann wrote:
> Package: bacula-sd
> Version: 2.4.2-1
> i think it should be:
>   WritePartCommand = "/etc/bacula/scripts/dvd-handler %a write %e %v"
>   FreeSpaceCommand = "/etc/bacula/scripts/dvd-handler %a free"

The file is /usr/share/doc/bacula-common/examples/devices/DVD.conf on
5.0.2-2.2+b1 (squeeze).  This means that the bug is in bacula-common,
even if I was not able to find such a file on 2.4.2-1 from snapshot.d.o:
$ wget [...]/bacula-common_2.4.2-1_amd64.deb
$ dpkg-deb -x bacula-common_2.4.2-1_amd64.deb .
$ wget [...]/bacula-sd_2.4.2-1_amd64.deb
$ dpkg-deb -x bacula-sd_2.4.2-1_amd64.deb .
$ wget [...]/bacula-sd-sqlite3_2.4.2-1_amd64.deb
$ dpkg-deb -x bacula-sd-sqlite3_2.4.2-1_amd64.deb .
$ find ./ -name \*DVD\*

Never mind, the bug is still present in the Git repository.  Indeed, in
the above file '@scriptdir@' is not substituted, despite it being
correctly set in debian/rules:


This happens for all file in examples/devices/ having '@scriptdir@',
because there is no Makefile for such files, fixed as a Debian patch
(even if adding the make bits would have been better):


Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-bacula-devel/attachments/20120606/189b63be/attachment.pgp>

More information about the pkg-bacula-devel mailing list