Package: bacula-director-sqlite3
Version: 3.0.2-1
Severity: normal

Hi.

/etc/bacula/scripts/make_catalog_backup contains wrong code for the
sqlite3 case:

[...]
if test xsqlite = xsqlite3 ; then
  echo ".dump" | ${BINDIR}/sqlite $1.db >$1.sql
[...]

I am not sure where to patch this script. Either in debian/rules or in
the postinst script. My feeling somehow tells me to use debian/rules.

Something like

 sed -i 's/sqlite /sqlite3 /g' \
    debian/bacula-director-sqlite3/etc/bacula/scripts/make_catalog_backup

should do the trick (and also corrects the howto-read-back comment further
down the script).

Grüße,
Sven.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.1-217
Locale: lang=de...@euro, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages bacula-director-sqlite3 depends on:
ii  bacula-common             3.0.2-2.0~sh.2 network backup, recovery and verif
ii  bacula-common-sqlite3     3.0.2-2.0~sh.2 network backup, recovery and verif
ii  bacula-director-common    3.0.2-2.0~sh.2 network backup, recovery and verif
ii  debconf [debconf-2.0]     1.5.27         Debian configuration management sy
ii  file                      5.03-1         Determines file type using "magic"
ii  libc6                     2.9-25         GNU C Library: Shared libraries
ii  libgcc1                   1:4.4.1-3      GCC support library
ii  libsqlite3-0              3.6.17-2       SQLite 3 shared library
ii  libssl0.9.8               0.9.8k-4       SSL shared libraries
ii  libstdc++6                4.4.1-3        The GNU Standard C++ Library v3
ii  libwrap0                  7.6.q-18       Wietse Venema's TCP wrappers libra
ii  python2.5                 2.5.4-1        An interactive high-level object-o
ii  sqlite                    2.8.17-4       command line interface for SQLite
ii  sqlite3                   3.6.17-2       A command line interface for SQLit

bacula-director-sqlite3 recommends no packages.

bacula-director-sqlite3 suggests no packages.

-- debconf-show failed



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to