[Bug 228693] Re: [SRU] bacula-director-pgsql postinstall broken

Launchpad Bug Tracker 228693 at bugs.launchpad.net
Tue Sep 9 04:46:03 BST 2008


This bug was fixed in the package bacula - 2.4.2-1ubuntu4~hardy1

---------------
bacula (2.4.2-1ubuntu4~hardy1) hardy-backports; urgency=low

  * Automated backport upload; no source changes.

bacula (2.4.2-1ubuntu4) intrepid; urgency=low

  * debian/patches/ubuntu_grant_privileges.patch:
    Update patch, fixes FTBFS.

bacula (2.4.2-1ubuntu3) intrepid; urgency=low

  * debian/patches/ubuntu_grant_privileges.patch:
    - test if $USER and db_name are set in grant_postgresql_privileges.
  * debian/bacula-director-pgsql.postinst:
    - Create databse as postgres user only if user exists. (LP: #228693)

bacula (2.4.2-1ubuntu2) intrepid; urgency=low

  * debian/rules: Disable fortify source since it was causing
    bacula-director to segfault.

bacula (2.4.2-1ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
    - debian/bacula-director-mysql.postinst:
      debian/bacula-director-pgsql.postinst:
      + Worked in some smarts to do no databases if bacula is already installed.
    - debian/control:
      + Added libdbi-perl and libdb-mysql-perl to depends for bacula-director-mysql
        due to new postinst configuration.
      + Cleaned up bacula-director-pgsql dependenices and recommends.
      + Made mysql the default director to install bacula-director-{mysql|pgsql}
	added database handling to postinstall scripts and templates, modifiied
        postinstall script's sed expressions.
      + Removed libwgtk-2.6-dev as a build dependency; as a result bacula-console-wx
        isn't built anymore.
      + Install gawk if not installed. (LP: #207527)
    - debian/make_catalog_backup_awk.[mysql|pgsql|sqlite3|sqlite]:
      + New scripts for catalog backup. (CVE-2007-5626)
    - debian/bacula-console-wx:
      + Dropped since we are not building them anymore.
    - debian/bacula-director-common.bacula-director.init,
      debian/bacula-fd.init, debian/bacula-sd.init
      + Made more LSB specific.

bacula (2.4.2-1) unstable; urgency=high

  * Fix sed pattern in debian/rules to correctly remove
    'USE ${db_name};' from the MySQL command tables.  This prevented
    bacula-director-mysql from being installed properly and was thus RC.
    Closes: #441995, #489578.
  * While investigating the above problem, also discovered 'USE bacula;'
    statements in some upgrade tables.  This would cause the upgrade of
    bacula-director-mysql to fail for anyone that had their MySQL
    database named something other than "bacula".  Added pattern to fix this.
  * New upstream release is a bugfix release, and fixes these issues:
    + 2.4.1 included an unintentional debug statement whose purpose
      was to crash the storage daemon.  This was triggered during a restore
      at the end of a tape.  Fixed in 2.4.2 (upstream bug 1125).  When the
      SD is crashed, no backups or restores can be performed until it is
      restarted.
    + During a multi-tape restore, Bacula could incorrectly attempt
      to reread the same tape.  (Upstream bug 1126)
    + bcopy no longer reads too many records (upstream bug 1107)
    + Now sets a large timeout on MySQL databases to prevent trouble
      with the connection timining out before data gets inserted.
      Upstream bug 1034.
    + There are also some other minor bugfixes and win32 changes upstream
      in this release, which of course don't impact Debian.

bacula (2.4.1-1ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
    - debian/bacula-director-mysql.postinst,
      debian/bacula-director-pgsql.postinst:
      + Worked in some smarts to do no database if bacula is already installed.
    - debian/control:
      + Added libdbi-perl and libdb-mysql-perl to depends for
        bacula-director-mysql due to new postinst configuration.
      + Cleaned up bacula-director-pgsql dependencies and recommends.
      + Made mysql the default director to install bacula-director-{mysql|pgsql}
        added database handling to postinstall scripts and templates, modified
        postinstall script's sed expressions.
      + Removed libwtk2.6-dev as a build dependency; as a result bacula-wx
        isn't built anymore.
      + Install gawk if not installed. (LP: #207527)
     - debian/make_catalog_backup_awk.{mysql|pgsql|sqlite3|sqlite}:
       + new scripts for catalog backup. (CVE-2007-5626)
     - debian/bacula-console-wx:
       + Dropped since we are not building them anymore.
     - debian/bacula-director-common.bacula-director.init
       debian/bacula-fd.init
       debian/bacula-sd.init
       + Made more LSB specific.

bacula (2.4.1-1) unstable; urgency=high

  * New Upstream Version.
    + Fixes a bug where a tape may be incorrectly reused, destroying
      data.  Closes: #490996.

bacula (2.4.0-1ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
    - debian/bacula-director-mysql.postinst
      debian/bacula-director-pgsql.postinst
      + Worked in some smarts to do no database configration if bacula is already
        installed.
    - debian/control
      + Added libdbi-perl and libdb-mysql-perl to depends for bacula-director-mysql due
        to new postinst configuration.
      + Cleaned up bacula-director-pgsql dependencies and recommends.
      + Made mysql the default director to install for bacula-server.
      + Removed dbconfig-common dependency for bacula-director-{mysql|pgsql},
        added database handling to postinstall scripts and templates, modified
        postinstall script's sed expressions.
      + Removed libwgtk2.6-dev as a build dependency; as a result bacula-console-wx
        isn't built anymore.
      + Install gawk if not installed. (LP: #207527)
     - debian/make_catalog_backup_awk.[mysql|pgsql|sqlite3|sqlite]:
       + New scripts for catalog backup. (CVE-2007-5626)
     - debian/bacula-console-wx:
       + Dropped since we are not building them anymore.
     - debian/bacula-director-common.bacula-director.init
       debian/bacula-fd.init
       debian/bacula-sd.init
       + Made more LSB specific.
     - debian/patches/ubuntu_mtx-changer.patch:
       - Dropped accepted upstream.

bacula (2.4.0-1) unstable; urgency=low

  [ John Goerzen ]
  * Removed debian/Makefile and debian/po/Makefile
  * Apply upstream 2.4.1-restore-wrong-mediatype.patch
  * bacula-fd: fix LSB init headers to not require bacula-sd.  Closes:
    #486256.

  [ Mark Hymers ]
  * Bump Standards-Version to 3.8.0.  No changes needed.
  * Imported bacula-2.4.0.  Closes: #487767.

  [ John Goerzen ]
  * Corrected GIT URL
  * Clarify the presence of BAT

bacula (2.2.8-8ubuntu1) intrepid; urgency=low

  * Merge from debian unstable, remaining changes:
    - debian/bacula-director-mysql.postinst
      debian/bacula-director-pgsql.postinst
      + Worked in some smarts to do no database configuration if bacula is arelady installed.
    - debian/control
      + Added libdbi-perl and libdb-mysql-perl to depends for bacula-director-mysql due to new
        postinst configuration.
      + Cleaned up bacula-director-pgsql dependencies and recommends.
      + Made mysql to default director to install for bacula-server.
      + Removed liblibjconv build dependency.
      + Removed dbconfig-common dependency for bacula-director-{mysql|pgsql},
        added database handling to postinstall scripts and templates, modified
        postinstall script's sed expressesions.
      + Removed libwgtk2.6-dev as a build dependency; as a result bacula-console-wx aren't
        built any more.
      + Install gawk if not installed. (LP: #207527)
    - debian/make_catalog_backup_awk.[mysql|pgsql|sqlite3|sqlite]:
      + new scripts for catalog backup (CVE-2007-5626)
    - debian/bacula-console-wx.
      - Droped since we arent building them anymore.
    - debian/bacula-director-common.bacula-director.init
      debian/bacula-fd.init
      debian/bacula-sd.init
      + Made more LSB specific

bacula (2.2.8-8) unstable; urgency=high

  * Apply upstream 2.2.8-jobmedia-fix.patch, high urgency.
  * Hard code an archive directory in call to configure. This prevents
    the default bacula sd file from having a syntax error.
    Closes: #472126

bacula (2.2.8-7) unstable; urgency=low

  * Updated for compatibility with PostgreSQL 8.3.  Closes: #468880
  * Run debconf-updatepo
  * Update Brazilian Portuguese translation.  Patch from Eder L. Marques.
    Closes: #466703.

bacula (2.2.8-6) unstable; urgency=low

  * Change section to admin to match override file
  * Add Homepage: line to control per devref 6.2.4
  * More fixes to make Bacula binNMU safe.  Patch from Lior Kaplan.
    Closes: #472249.
  * Debconf templates and debian/control reviewed by the debian-l10n-
    english team as part of the Smith review project. Closes: #462210
  * [Debconf translation updates]
    + German. Closes: #462981
    + Galician. Closes: #462991
    + Portuguese. Closes: #463314
    + Finnish. Closes: #463954
    + Czech. Closes: #464427
    + French. Closes: #464838
    + Italian. Closes: #465068
    + Russian. Closes: #465079
    + Vietnamese. Closes: #465536

 -- Scott Kitterman <ubuntu at kitterman.com>   Tue, 09 Sep 2008 04:41:42
+0100

** Changed in: bacula (Ubuntu Hardy)
       Status: Triaged => Fix Released

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2007-5626

-- 
[SRU] bacula-director-pgsql postinstall broken
https://bugs.launchpad.net/bugs/228693
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to bacula in ubuntu.



More information about the Ubuntu-server-bugs mailing list