Your message dated Tue, 04 Apr 2006 22:02:07 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#358995: fixed in backupninja 0.9.3-5
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: backupninja
Severity: wishlist
Tags: patch

Hello,

As announced in [0], su behavior will change.
The attached patch quotes the command provided to su in handlers/pgsql.
(The fix in handlers/mysql is probably not needed, but should not harm.)
The patched version should be compatible with the old and future su.

You can find a login package in experimental if you want to test the
patch.

When the new login package will reach unstable, the severity of this bug
will be raised.

[0] http://lists.debian.org/debian-devel-announce/2006/03/msg00003.html

Kind Regards,
-- 
Nekral
diff -rauN ../orig/backupninja-0.9.3/handlers/mysql 
./backupninja-0.9.3/handlers/mysql
--- ../orig/backupninja-0.9.3/handlers/mysql    2006-03-25 18:31:49.000000000 
+0100
+++ ./backupninja-0.9.3/handlers/mysql  2006-03-25 18:39:29.000000000 +0100
@@ -230,7 +230,7 @@
     then
        if [ $usevserver = yes ]
        then
-           debug "echo show databases | $VSERVER $vsname exec su $user -c 
$MYSQL $defaultsfile | grep -v Database"
+           debug "echo 'show databases' | $VSERVER $vsname exec su $user -c 
\"$MYSQL $defaultsfile\" | grep -v Database"
            databases=`echo 'show databases' | $VSERVER $vsname exec su $user 
-c "$MYSQL $defaultsfile" | grep -v Database`
            if [ $? -ne 0 ]
            then
diff -rauN ../orig/backupninja-0.9.3/handlers/pgsql 
./backupninja-0.9.3/handlers/pgsql
--- ../orig/backupninja-0.9.3/handlers/pgsql    2006-03-25 18:31:49.000000000 
+0100
+++ ./backupninja-0.9.3/handlers/pgsql  2006-03-25 18:41:45.000000000 +0100
@@ -94,9 +94,9 @@
     for db in $databases; do
        if [ $usevserver = yes ]
            then
-           execstr="$VSERVER $vsname exec su - postgres -c $PGSQLDUMP $db > 
$backupdir/${db}.sql"
+           execstr="$VSERVER $vsname exec su - postgres -c \"$PGSQLDUMP $db\" 
> $backupdir/${db}.sql"
        else
-           execstr="su - postgres -c $PGSQLDUMP $db > $backupdir/${db}.sql"
+           execstr="su - postgres -c \"$PGSQLDUMP $db\" > $backupdir/${db}.sql"
        fi
        debug "$execstr"
        if [ ! $test ]; then

--- End Message ---
--- Begin Message ---
Source: backupninja
Source-Version: 0.9.3-5

We believe that the bug you reported is fixed in the latest version of
backupninja, which is due to be installed in the Debian FTP archive:

backupninja_0.9.3-5.diff.gz
  to pool/main/b/backupninja/backupninja_0.9.3-5.diff.gz
backupninja_0.9.3-5.dsc
  to pool/main/b/backupninja/backupninja_0.9.3-5.dsc
backupninja_0.9.3-5_all.deb
  to pool/main/b/backupninja/backupninja_0.9.3-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Micah Anderson <[EMAIL PROTECTED]> (supplier of updated backupninja package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Fri,  3 Feb 2006 14:54:46 -0500
Source: backupninja
Binary: backupninja
Architecture: source all
Version: 0.9.3-5
Distribution: unstable
Urgency: medium
Maintainer: Micah Anderson <[EMAIL PROTECTED]>
Changed-By: Micah Anderson <[EMAIL PROTECTED]>
Description: 
 backupninja - lightweight, extensible meta-backup system
Closes: 353412 358995 360485
Changes: 
 backupninja (0.9.3-5) unstable; urgency=medium
 .
   * Brought in changes from upstream to fix various issues:
      . Fixed erroneous removal of tmpfile in mysql handler
      . Fixed inversed vsname emptiness check in mysql handler
      . Fixed su quote usage to be more posixy (Closes: #358995)
      . Fixed improper include/exclude symlink dereference in
        rdiff-backup and dup handlers
      . found_vservers: escaped special grep repetition character +
      . Add some additional default excludes (Closes: #353412)
      . Remove over zelous vsnames check (Closes: #360485)
Files: 
 3d7b798b9fa3c9f65cc0ba11e4b1ed7e 633 admin optional backupninja_0.9.3-5.dsc
 d2e55afc1a63ae360d7dc245a0017115 40460 admin optional 
backupninja_0.9.3-5.diff.gz
 6039f1221fda8ead067e2606eacf3573 70210 admin optional 
backupninja_0.9.3-5_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEM02Q9n4qXRzy1ioRAvF7AJ4gU5qN/bHw+Vin//+Xt9H0b62ymQCfb66z
mr+994iYIcrG2ulXNBW2ylI=
=UEQ4
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to