Your message dated Fri, 03 Feb 2006 11:47:07 -0800
with message-id <[EMAIL PROTECTED]>
and subject line Bug#351083: fixed in backupninja 0.9.3-3
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 ---
>From [EMAIL PROTECTED] Thu Feb 02 09:34:11 2006
Return-path: <[EMAIL PROTECTED]>
Received: from sccrmhc11.comcast.net ([63.240.77.81])
        by spohr.debian.org with esmtp (Exim 4.50)
        id 1F4iLT-0002B0-D2
        for [EMAIL PROTECTED]; Thu, 02 Feb 2006 09:34:11 -0800
Received: from mail.fewerhassles.com ([68.57.203.167])
          by comcast.net (sccrmhc11) with ESMTP
          id <200602021733390110037t6de>; Thu, 2 Feb 2006 17:33:40 +0000
Received: from localhost (localhost [127.0.0.1])
        by mail.fewerhassles.com (Postfix) with ESMTP id E6DA23C0D0
        for <[EMAIL PROTECTED]>; Thu,  2 Feb 2006 12:33:27 -0500 (EST)
Received: from mail.fewerhassles.com ([127.0.0.1])
        by localhost (boxer.fewerhassles.com [127.0.0.1]) (amavisd-new, port 
10024)
        with LMTP id 24371-08-10; Thu, 2 Feb 2006 12:33:24 -0500 (EST)
Received: by mail.fewerhassles.com (Postfix, from userid 1000)
        id 9C1433C0D2; Thu,  2 Feb 2006 12:33:24 -0500 (EST)
Content-Type: multipart/mixed; boundary="===============0520335173=="
MIME-Version: 1.0
From: Brad Fritz <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: "readlink: too few arguments" when vserver binaries not installed
Message-ID: <[EMAIL PROTECTED]>
X-Mailer: reportbug 3.18
Date: Thu, 02 Feb 2006 12:33:24 -0500
X-Virus-Scanned: Debian amavisd-new at fewerhassles.com
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        RCVD_IN_SORBS autolearn=no version=2.60-bugs.debian.org_2005_01_02

This is a multi-part MIME message sent by reportbug.

--===============0520335173==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: backupninja
Version: 0.9.3-2
Severity: minor
Tags: patch


I upgraded to backupninja 0.9.3-2 on two hosts this morning and
started getting error messages emailed to me by cron when running
/etc/cron.d/backupninja :

  readlink: too few arguments
  Try `readlink --help' for more information.

Neither host has any vserver binaries installed.  I think
init_vservers() in /usr/lib/backupninja/vserver assumes they are.

The attached patch may not be the cleanest fix, but it supresses the
error message and stops the cron spam.

--Brad


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'oldstable'), (500, 'unstable'), (500, 
'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-20050918-686-skas3-v8.2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages backupninja depends on:
ii  bash                      3.1-1          The GNU Bourne Again SHell
ii  dialog                    1.0-20060101-1 Displays user-friendly dialog boxe
ii  gawk                      1:3.1.5-1      GNU awk, a pattern scanning and pr
ii  mawk                      1.3.3-11       a pattern scanning and text proces

backupninja recommends no packages.

-- no debconf information

--===============0520335173==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="readlink_stederr_devnull.patch"

--- /usr/lib/backupninja/vserver.orig   2006-02-02 12:30:20.000000000 -0500
+++ /usr/lib/backupninja/vserver        2006-02-02 12:30:27.000000000 -0500
@@ -35,7 +35,7 @@
    getconf VSERVER /usr/sbin/vserver
    getconf VROOTDIR `if [ -x "$VSERVERINFO" ]; then $VSERVERINFO info SYSINFO 
| grep '^ *vserver-Rootdir' | awk '{print $2}'; fi`
    # canonicalize VROOTDIR
-   VROOTDIR=`readlink --canonicalize $VROOTDIR`
+   VROOTDIR=`readlink --canonicalize $VROOTDIR 2> /dev/null`
    # init this library's global variables
    vservers_are_available=no
    found_vservers=

--===============0520335173==--


--- End Message ---
--- Begin Message ---
>From [EMAIL PROTECTED] Fri Feb 03 11:50:32 2006
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 4.50)
        id 1F56tf-0008Tu-VF; Fri, 03 Feb 2006 11:47:07 -0800
From: Micah Anderson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.65 $
Subject: Bug#351083: fixed in backupninja 0.9.3-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Fri, 03 Feb 2006 11:47:07 -0800
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: backupninja
Source-Version: 0.9.3-3

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-3.diff.gz
  to pool/main/b/backupninja/backupninja_0.9.3-3.diff.gz
backupninja_0.9.3-3.dsc
  to pool/main/b/backupninja/backupninja_0.9.3-3.dsc
backupninja_0.9.3-3_all.deb
  to pool/main/b/backupninja/backupninja_0.9.3-3_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: Wed,  1 Feb 2006 13:14:56 -0500
Source: backupninja
Binary: backupninja
Architecture: source all
Version: 0.9.3-3
Distribution: unstable
Urgency: low
Maintainer: Micah Anderson <[EMAIL PROTECTED]>
Changed-By: Micah Anderson <[EMAIL PROTECTED]>
Description: 
 backupninja - lightweight, extensible meta-backup system
Closes: 351083
Changes: 
 backupninja (0.9.3-3) unstable; urgency=low
 .
   * Fixed improper readlink syntax (Closes: #351083)
   * Included fixes to mysql, pgsql, and svn handlers to also fix inverted
     vsname test
Files: 
 fe450c351b60f8dee1b147de72958b5b 578 admin optional backupninja_0.9.3-3.dsc
 8dae32eba899d84a2b61bdc7cc0a7855 37406 admin optional 
backupninja_0.9.3-3.diff.gz
 71fa42b11a517e456a620a41f327ce8e 71008 admin optional 
backupninja_0.9.3-3_all.deb

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

iD8DBQFD47Ho9n4qXRzy1ioRAsGAAJ43mhs+vmuKfDnBsa55ECrX5zJr6wCgkzuD
Xb6z/eINcYKXDlXK71ZH8BU=
=W85X
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to