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

hello dirk,

i have solved this problem as described in this post.

hopefully it will go into the main release too.

regards,
alex

- -------- Original Message --------
Subject: changing the topdir in /etc/backuppc/config.pl leaves pooldir behind
Date: Mon, 18 Aug 2008 09:05:48 +0300
From: alex bodnaru <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>

Package: backuppc
Version: 3.1.0
Severity: important

to avoid the chkrootkit find spending hours in my /var/lib/backuppc usb disk,
i moved it to /srv/backuppc.
i needed to change the topdir and the log dir in /etc/backuppc/config.pl, but
the link process wasn't impressed with my changes, and attempted to rebuild
/var/lib/backuppc/c?pool/... .
after an inquiry (and perl is not my language) i did the fix: append the
following two lines to /usr/share/backuppc/lib/BackupPC/Lib.pm:

$bpc->{PoolDir}  = "$bpc->{TopDir}/pool";
$bpc->{CPoolDir} = "$bpc->{TopDir}/cpool";

in the ConfigRead sub, after the lines:
($mesg, $config) = $bpc->{storage}->ConfigDataRead($host);
return $mesg if ( defined($mesg) );

please report upstream too, and at least include this patch with the debian
package, so that others can benefit too.

best regards,
alex

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages backuppc depends on:
ii  adduser                      3.108       add and remove users and groups
ii  bzip2                        1.0.5-1     high-quality block-sorting file co
ii  debconf [debconf-2.0]        1.5.22      Debian configuration management sy
ii  dpkg                         1.14.20     Debian package management system
ii  libarchive-zip-perl          1.18-1      Module for manipulation of ZIP arc
ii  libcompress-zlib-perl        2.012-1     Perl module for creation and manip
ii  lighttpd [httpd]             1.4.19-4    A fast webserver with minimal memo
ii  perl [libdigest-md5-perl]    5.10.0-11.1 Larry Wall's Practical Extraction
ii  perl-suid                    5.10.0-11.1 Runs setuid Perl scripts
ii  samba-common                 2:3.2.0-4   Samba common files used by both th
ii  smbclient                    2:3.2.0-4   a LanManager-like simple client fo
ii  tar                          1.20-1      GNU version of the tar archiving u

Versions of packages backuppc recommends:
ii  exim4                        4.69-6      metapackage to ease Exim MTA (v4)
ii  exim4-daemon-light [mail-tra 4.69-6      lightweight Exim MTA (v4) daemon
ii  libfile-rsyncp-perl          0.68-1.1+b1 A perl based implementation of an
ii  openssh-client [ssh-client]  1:4.7p1-12  secure shell client, an rlogin/rsh
ii  rrdtool                      1.2.28-1    Time-series data storage and displ
ii  rsync                        3.0.3-2     fast remote file copy program (lik

Versions of packages backuppc suggests:
ii  dillo [www-browser]      0.8.6-3         Small and fast web browser
ii  iceape-browser [www-brow 1.1.11-1        Iceape Navigator (Internet browser
ii  iceweasel [www-browser]  3.0.1-1         lightweight web browser based on M
ii  lynx-cur [www-browser]   2.8.7dev9-1.2   Text-mode WWW Browser with NLS sup
ii  par2                     0.4-10          Parity Archive Volume Set, for che
ii  w3mmee [www-browser]     0.3.p24.20-3+b3 WWW browsable pager with excellent

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iJwEAQECAAYFAkkhwXoACgkQ2nA3WyrfyeML8wP/c1AB9q7UNmAO/5xHy5hdwngE
NZMNy43isTZyGZGRs3pUfJCQwto+9wooipy3fFLmMubPor4Kwg4han+xN72H5nCU
ZKBrsfDrWlFLsDdmdAaCJPF+QP5YGkXWskJ8dU3eTMy2d4rZ7v5UUsmTdAECuz1T
Rh6q5Wbi1A+/eMbhf18=
=bb5a
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-devel mailing list
BackupPC-devel@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-devel
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to