← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1612600] Re: backuppc 3.3.1-2ubuntu3 breaks pool graphs on the Status page

 

This bug was fixed in the package backuppc - 3.3.1-2ubuntu3.3

---------------
backuppc (3.3.1-2ubuntu3.3) xenial; urgency=medium

  * Fix debian/rules so the patch is actually applied. (LP: #1612600)

 -- Brian Murray <brian@xxxxxxxxxx>  Mon, 21 Aug 2017 09:53:00 -0700

** Changed in: backuppc (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1612600

Title:
  backuppc 3.3.1-2ubuntu3 breaks pool graphs on the Status page

Status in backuppc package in Ubuntu:
  Fix Released
Status in backuppc source package in Xenial:
  Fix Released

Bug description:
  Upgraded system from 14.04 LTS to 16.04.1 LTS.

  As a result, the rrd pool size graphs stopped displaying, instead
  showing "default image" icons.

  Investigation has shown that this is due to the permissions conflict.
  Whatever user executes backuppc/index.cgi cannot run /usr/bin/rrdtool.

  The fix is as per
  https://sourceforge.net/p/backuppc/mailman/message/18724263/.

  Namely, here's a relevant code snapshot in
  /usr/share/backuppc/lib/BackupPC/CGI/GeneralInfo.pm:

    $In{image} =~ /([0-9]+)/;
    my $weeks = $1;
    my $real = $<;# NEW
    $< = $>; # NEW
    print "Content-type: image/png\n\n";
    print `/usr/bin/rrdtool graph - --imgformat=PNG --start=end-${weeks}w --end=-300 --title="BackupPC Pool Size (${weeks} weeks)" --base=1000 --height=100 --width=600 --alt-autoscale-max --lower-limit=0 --vertical-label="" --slope-mode --font TITLE:10:Times --font AXIS:8:Times --font LEGEND:8:Times --font UNIT:8:Times -c BACK#FFFFFF DEF:ao="$LogDir/pool.rrd":ckb:AVERAGE CDEF:a=ao,1024,* AREA:a#95B8DB:"CPool in bytes"  GPRINT:a:LAST:"Current\\:%8.2lf %s" GPRINT:a:AVERAGE:"Average\\:%8.2lf %s" GPRINT:a:MAX:"Maximum\\:%8.2lf %s\\n"`;
    $< = $real; # NEW
    return;

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/backuppc/+bug/1612600/+subscriptions