[pkg-bacula-devel] Bug#793794: bacula-director-pgsql: In the "restore" command parameter "resctore_job" doesn' work (rejected)

Stefano Salvi stefano at salvi.mn.it
Mon Jul 27 15:40:22 UTC 2015


Package: bacula-director-pgsql
Version: 5.2.6+dfsg-9.3
Severity: normal
Tags: patch

issuing a RESTORE command containing a FILESET= and a RESTORE_JOB= parameters,
the command is rejected. If you type RESTOREJOB= instead, the command is 
accepted, but the RESTOREJOB has no effect and a Restore Job is asked for.

The problem is due to a misspelled "restore_job" command in the list of 
commands ("const char *kw[]") in src/dird/ua_restore.c near line 475

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/12 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages bacula-director-pgsql depends on:
ii  bacula-common                              5.2.6+dfsg-9.3
ii  bacula-common-pgsql                        5.2.6+dfsg-9.3
ii  bacula-director-common                     5.2.6+dfsg-9.3
ii  dbconfig-common                            1.8.47+nmu3
ii  debconf [debconf-2.0]                      1.5.56
ii  libc6                                      2.19-18
ii  libcap2                                    1:2.24-8
ii  libgcc1                                    1:4.9.2-10
ii  libpython2.7                               2.7.9-2
ii  libssl1.0.0                                1.0.1k-3+deb8u1
ii  libstdc++6                                 4.9.2-10
ii  libwrap0                                   7.6.q-25
ii  postgresql-client                          9.4+165
ii  postgresql-client-9.4 [postgresql-client]  9.4.3-0+deb8u1
ii  ucf                                        3.0030
ii  zlib1g                                     1:1.2.8.dfsg-2+b1

Versions of packages bacula-director-pgsql recommends:
ii  postgresql  9.4+165

Versions of packages bacula-director-pgsql suggests:
pn  gawk                <none>
pn  postgresql-contrib  <none>
ii  postgresql-doc      9.4+165

-- debconf information:
  bacula-director-pgsql/password-confirm: (password omitted)
  bacula-director-pgsql/app-password-confirm: (password omitted)
  bacula-director-pgsql/pgsql/admin-pass: (password omitted)
  bacula-director-pgsql/pgsql/app-pass: (password omitted)
  bacula-director-pgsql/pgsql/admin-user: postgres
  bacula-director-pgsql/pgsql/method: unix socket
  bacula-director-pgsql/upgrade-backup: true
  bacula-director-pgsql/internal/reconfiguring: false
  bacula-director-pgsql/pgsql/changeconf: false
  bacula-director-pgsql/dbconfig-remove:
  bacula-director-pgsql/passwords-do-not-match:
  bacula-director-pgsql/purge: false
  bacula-director-pgsql/db/dbname: bacula
  bacula-director-pgsql/dbconfig-reinstall: false
  bacula-director-pgsql/pgsql/authmethod-user: ident
  bacula-director-pgsql/internal/skip-preseed: false
  bacula-director-pgsql/remove-error: abort
  bacula-director-pgsql/install-error: abort
  bacula-director-pgsql/db/app-user: bacula
  bacula-director-pgsql/pgsql/authmethod-admin: ident
  bacula-director-pgsql/remote/port:
  bacula-director-pgsql/missing-db-package-error: abort
  bacula-director-pgsql/pgsql/manualconf:
  bacula-director-pgsql/database-type: pgsql
  bacula-director-pgsql/unsafe-director-password-was-changed:
  bacula-director-pgsql/remote/host:
* bacula-director-pgsql/dbconfig-install: true
  bacula-director-pgsql/upgrade-error: abort
  bacula-director-pgsql/remote/newhost:
  bacula-director-pgsql/dbconfig-upgrade: true
  bacula-director-pgsql/pgsql/no-empty-passwords:



More information about the pkg-bacula-devel mailing list