Your message dated Wed, 23 Mar 2005 16:47:08 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#301076: fixed in backuppc 2.1.1-1
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)

--------------------------------------
Received: (at submit) by bugs.debian.org; 23 Mar 2005 17:57:09 +0000
>From [EMAIL PROTECTED] Wed Mar 23 09:57:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from opium.multi24.com [213.239.202.166] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DEA6O-0002u1-00; Wed, 23 Mar 2005 09:57:08 -0800
Received: by opium.multi24.com (Postfix, from userid 1000)
        id F29AC4000AC; Wed, 23 Mar 2005 18:57:06 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Peter Palfrader <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: backuppc: modified conffile with script
X-Mailer: reportbug 3.8
Date: Wed, 23 Mar 2005 18:57:06 +0100
Message-Id: <[EMAIL PROTECTED]>
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-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: backuppc
Version: 2.1.0-10
Severity: serious

In postinst, you modify /etc/backuppc/config.pl which is a conffile.

http://release.debian.org/sarge_rc_policy.txt:

3. Configuration files

        Packages must not modify their own or other packages conffiles
        programmatically. (The only correct way to modify a conffile is
        the user running an editor specifically; if anything more automated
        is required or useful, configuration files must _NOT_ be handled as
        conffiles)


One possible solution is to move the `hostname` call into the config
file.  Or you could just make it not be a conffile.

--- /scratch/etc/backuppc/config.pl     2005-03-03 23:39:20.000000000 +0100
+++ /etc/backuppc/config.pl     2005-03-23 18:55:02.000000000 +0100
@@ -41,7 +41,9 @@
 #
 # Host name on which the BackupPC server is running.
 #
-$Conf{ServerHost} = 'XXXXXX';
+$ENV{'PATH'} = '/bin:/usr/bin';
+delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
+$Conf{ServerHost} = `hostname`;
 
 #
 # TCP port number on which the BackupPC server listens for and accepts
@@ -1610,7 +1612,7 @@
 #
 # URL of the BackupPC_Admin CGI script.  Used for email messages.
 #
-$Conf{CgiURL} = 'http://XXXXXX/backuppc/index.cgi';
+$Conf{CgiURL} = 'http://'.$Conf{ServerHost}.'/backuppc/index.cgi';
 
 #   
 # Language to use.  See lib/BackupPC/Lang for the list of supported

And remove the handling from the postinst.

---------------------------------------
Received: (at 301076-close) by bugs.debian.org; 23 Mar 2005 21:54:01 +0000
>From [EMAIL PROTECTED] Wed Mar 23 13:54:01 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DEDnc-0004B6-00; Wed, 23 Mar 2005 13:54:00 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
        id 1DEDgy-0000mu-00; Wed, 23 Mar 2005 16:47:08 -0500
From: Ludovic Drolez <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.55 $
Subject: Bug#301076: fixed in backuppc 2.1.1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Wed, 23 Mar 2005 16:47:08 -0500
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-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
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: backuppc
Source-Version: 2.1.1-1

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

backuppc_2.1.1-1.diff.gz
  to pool/main/b/backuppc/backuppc_2.1.1-1.diff.gz
backuppc_2.1.1-1.dsc
  to pool/main/b/backuppc/backuppc_2.1.1-1.dsc
backuppc_2.1.1-1_all.deb
  to pool/main/b/backuppc/backuppc_2.1.1-1_all.deb
backuppc_2.1.1.orig.tar.gz
  to pool/main/b/backuppc/backuppc_2.1.1.orig.tar.gz



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.
Ludovic Drolez <[EMAIL PROTECTED]> (supplier of updated backuppc 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, 18 Mar 2005 20:25:47 +0100
Source: backuppc
Binary: backuppc
Architecture: source all
Version: 2.1.1-1
Distribution: unstable
Urgency: low
Maintainer: Ludovic Drolez <[EMAIL PROTECTED]>
Changed-By: Ludovic Drolez <[EMAIL PROTECTED]>
Description: 
 backuppc   - high-performance, enterprise-grade system for backing up PCs
Closes: 299852 301076 301084 301087
Changes: 
 backuppc (2.1.1-1) unstable; urgency=low
 .
   * New upstream release
   * Do not modify config.pl in the postinst.
     Thanks to Peter Palfrader for the patch. Closes: #301076.
   * Moved the 'rm -rf /etc/backuppc'. Closes: #301084.
   * Check that backuppc.config is not run 2 times before generating
     a random password. Closes: #301087.
   * Added /bin/sh as shell for the backuppc user. Closes: #299852.
Files: 
 e767e145e5918db9d3a162199ce6ec87 599 utils optional backuppc_2.1.1-1.dsc
 fadbce1c3d4679dffc98514e48ed7917 353860 utils optional 
backuppc_2.1.1.orig.tar.gz
 f1aa7c7c4c4285cca719dda51397ba1a 13711 utils optional backuppc_2.1.1-1.diff.gz
 9048f9c18f01f5529983bef8367afb64 413008 utils optional backuppc_2.1.1-1_all.deb

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

iD8DBQFCQeBpsRlQAP1GppgRArfaAJ9w12ogP8/CjB8QAgZa0AyyiYhofQCgjZ8W
sGvmZIbsqfgLfqoBeY3NDbs=
=GP31
-----END PGP SIGNATURE-----


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

Reply via email to