Package: backuppc
Version: 3.1.0-7
Severity: normal

Error message:

$Conf{NmbLookupPath} = '/usr/bin/nmblookup' is not a valid executable program

But it won't use it anyway (IIUC), as default /etc/backuppc/config.pl says:

$Conf{CgiUserConfigEdit} = {
...
        NmbLookupCmd              => 0,
        NmbLookupFindHostCmd      => 0,

Similar errors (I suspect) for smbclient and ping.  This patch fixes that
in a non-intrusive way:

--- /usr/share/backuppc/bin/BackupPC.orig       2009-09-11 16:37:31.000000000 
+0200
+++ /usr/share/backuppc/bin/BackupPC    2009-09-14 23:04:20.000000000 +0200
@@ -261,6 +261,15 @@ sub Main_Initialize
     foreach my $progName ( qw(SmbClientPath NmbLookupPath PingPath DfPath
                               SendmailPath SshPath) ) {
         next if ( $Conf{$progName} eq "" || -x $Conf{$progName} );
+       next if ( $progName eq "SmbClientPath" &&
+                 !$Conf{CgiUserConfigEdit}{SmbClientFullCmd} &&
+                 !$Conf{CgiUserConfigEdit}{SmbClientIncrCmd} &&
+                 !$Conf{CgiUserConfigEdit}{SmbClientRestoreCmd} );
+       next if ( $progName eq "NmbLookupPath" &&
+                 !$Conf{CgiUserConfigEdit}{NmbLookupCmd} &&
+                 !$Conf{CgiUserConfigEdit}{NmbLookupFindHostCmd} );
+       next if ( $progName eq "PingPath" &&
+                 !$Conf{CgiUserConfigEdit}{PingCmd} );
         print(STDERR $bpc->timeStamp,
                      "\$Conf{$progName} = '$Conf{$progName}' is not a"
                    . " valid executable program\n");


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

Kernel: Linux 2.6.30-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages backuppc depends on:
ii  adduser                     3.110        add and remove users and groups
ii  apache2                     2.2.13-1     Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd]  2.2.13-1     Apache HTTP Server - high speed th
ii  bzip2                       1.0.5-3      high-quality block-sorting file co
ii  debconf [debconf-2.0]       1.5.27       Debian configuration management sy
ii  dpkg                        1.15.4       Debian package management system
ii  iputils-ping                3:20071127-2 Tools to test the reachability of
ii  libarchive-zip-perl         1.18-1       Module for manipulation of ZIP arc
ii  libcompress-zlib-perl       2.020-2      Transitional dummy package for Com
ii  libio-compress-perl [libcom 2.020-2      IO::Compress modules
ii  perl [libdigest-md5-perl]   5.10.0-25    Larry Wall's Practical Extraction
ii  perl-suid                   5.10.0-25    Runs setuid Perl scripts
ii  postfix [mail-transport-age 2.6.5-2      High-performance mail transport ag
ii  samba-common                2:3.4.0-5    common files used by both the Samb
ii  smbclient                   2:3.4.0-5    command-line SMB/CIFS clients for
ii  tar                         1.22-2       GNU version of the tar archiving u
ii  ucf                         3.0021       Update Configuration File: preserv

Versions of packages backuppc recommends:
ii  libfile-rsyncp-perl          0.68-1.1+b1 A perl based implementation of an
ii  libio-dirent-perl            0.04-2+b1   Perl module for accessing dirent s
ii  openssh-client [ssh-client]  1:5.1p1-7   secure shell client, an rlogin/rsh
ii  rrdtool                      1.3.8-1     Time-series data storage and displ
ii  rsync                        3.0.6-1     fast remote file copy program (lik

Versions of packages backuppc suggests:
ii  chimera2 [www 2.0a19-5.1                 Web browser for X
ii  elinks [www-b 0.12~pre5-1+b1             advanced text-mode WWW browser
ii  epiphany-geck 2.26.3-2                   Intuitive GNOME web browser - Geck
ii  galeon [www-b 2.0.7-1                    GNOME web browser for advanced use
ii  iceape-browse 1.1.17-2                   Iceape Navigator (Internet browser
ii  iceweasel [ww 3.0.14-1                   lightweight web browser based on M
ii  links2 [www-b 2.2-1+b1                   Web browser running in both graphi
ii  lynx-cur [www 2.8.8dev.1-1               Text-mode WWW Browser with NLS sup
pn  par2          <none>                     (no description available)
ii  w3-el-e21 [ww 4.0pre.2001.10.27.nodocs-5 Web browser for GNU Emacs 21
ii  w3m [www-brow 0.5.2-2.1                  WWW browsable pager with excellent

-- debconf information:
  backuppc/restart-webserver: true
* backuppc/configuration-note:
* backuppc/reconfigure-webserver: apache2
* backuppc/add-lines: true

-- debsums errors found:
debsums: changed file /usr/share/backuppc/bin/BackupPC (from backuppc package)
debsums: can't open backuppc file /usr/share/backuppc/cgi-bin/index.cgi 
(Permission denied)


Cheers,

-- 
Cristian



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

Reply via email to