Package: backuppc
Version: 3.1.0-4lenny1
Severity: minor

Hi,

After installing libio-dirent-perl, BackupPC reports Pool/CPoolsize is 0.
This also makes the RRD graphs quite useless.

This seems to be a known problem as stated in

| http://www.adsm.org/lists/html/BackupPC-users/2008-04/msg00101.html

The fix mentioned in the posting does the job for me:

| --- Lib.pm.orig 2009-09-02 17:41:27.000000000 +0200
| +++ Lib.pm      2009-09-02 17:45:05.000000000 +0200
| @@ -488,7 +488,8 @@
|      return if ( !opendir(my $fh, $path) );
|      if ( $IODirentOk ) {
|          @entries = sort({ $a->{inode} <=> $b->{inode} } readdirent($fh));
| -        map { $_->{type} = 0 + $_->{type} } @entries;   # make type numeric
| +        map { $_->{type} = 0 + $_->{type}; $_->{type} = undef if ($_->{type} 
eq BPC_DT_UNKNOWN); } @entries;   # make type numeric, unset unknown types
|      } else {
|          @entries = map { { name => $_} } readdir($fh);
|      }

Cheers,
MB

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (700, 'stable'), (655, 'MB'), (200, 'testing'), (100, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.5-goliath (SMP w/1 CPU core; PREEMPT)
Locale: LANG=C, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to