Package: backuppc
Version: 4.4.0-5ubuntu2
Severity: minor

Dear Maintainer,

I upgraded from Ubuntu 20 to Ubuntu 22, which took backupppc from
version 3.3 to version 4.4.

There has been code in the debian package patches for many years which
causes the backuppc web UI to display two graphs of pool usage on
disk, for 4 and 52 week timespans

As of version 4, backuppc now provides its own pool usage graphs, also
for 4 and 52 week timespans.

If the "log/pool.rrd" file (which contains the data for producing the
Debian graphs) is present after an upgrade from backuppc v3 to v4,
then the user will be presented with an extra pair of pool usage
graphs -- those create by upstream code, and those created by Debian
code.  At first, the extra graphs are simply redundant.

Although the Debian patches create graphs from the pool.rrd file,
apparently there is no code left in the latest Debian package for v4
to keep pool.rrd current.  So the Debian-created graphs become stale
over time, leaving the user confused by two pairs of mismatched graph
data in the UI.

Workaround:  Simply removing log/pool.rrd causes the Debian graphs to
disappear.

Fix:  The patches that maintain the graph-creation code in the Debian
backuppc should be modified to stop creating the graphs.  Those
patches are 01-debian.patch and 06-fix-rrd-graph-permissions.patch.

See also this short discussion thread on backuppc-users:
 
https://sourceforge.net/p/backuppc/mailman/backuppc-users/thread/20221106150012.930222E06D9%40grass.foxharp.boston.ma.us/#msg37731442


-- System Information:
Debian Release: bookworm/sid
  APT prefers jammy-updates
  APT policy: (500, 'jammy-updates'), (500, 'jammy-security'), (500, 'jammy'), 
(100, 'jammy-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 5.15.0-52-generic (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages backuppc depends on:
ii  adduser                         3.118ubuntu5
ii  apache2 [httpd]                 2.4.52-1ubuntu4.1
ii  apache2-utils                   2.4.52-1ubuntu4.1
ii  backuppc-rsync                  3.1.3.0-3build1
ii  bzip2                           1.0.8-5build1
ii  debconf [debconf-2.0]           1.5.79ubuntu1
ii  init-system-helpers             1.62
ii  iputils-ping                    3:20211215-1
ii  libarchive-zip-perl             1.68-1
ii  libbackuppc-xs-perl             0.62-2build1
ii  libc6                           2.35-0ubuntu3.1
ii  libcgi-pm-perl                  4.54-1
ii  libfile-listing-perl            6.14-1
ii  libtime-parsedate-perl          2015.103-3
ii  lsb-base                        11.1.0ubuntu4
ii  perl                            5.34.0-3ubuntu1.1
ii  postfix [mail-transport-agent]  3.6.4-1ubuntu1
ii  ucf                             3.0043

Versions of packages backuppc recommends:
ii  libio-dirent-perl            0.05-1.1build1
ii  openssh-client [ssh-client]  1:8.9p1-3
ii  rrdtool                      1.7.2-3ubuntu6
ii  samba-common-bin             2:4.15.9+dfsg-0ubuntu0.2
ii  smbclient                    2:4.15.9+dfsg-0ubuntu0.2

Versions of packages backuppc suggests:
pn  certbot | acme-tiny | acmetool | dehydrated | la  <none>
ii  elinks [www-browser]                              0.13.2-1build3
ii  firefox [www-browser]                             1:1snap1-0ubuntu2
pn  libscgi-perl                                      <none>
ii  links [www-browser]                               2.25-1build1
ii  lynx [www-browser]                                2.9.0dev.10-1
pn  par2                                              <none>
ii  rsync                                             3.2.3-8ubuntu3
ii  w3m [www-browser]                                 0.5.3+git20210102-6build3

-- Configuration Files:
/etc/backuppc/apache.conf changed [not included]
/etc/backuppc/config.pl.sample [Errno 2] No such file or directory: 
'/etc/backuppc/config.pl.sample'
/etc/backuppc/hosts changed [not included]
/etc/backuppc/hosts.sample [Errno 2] No such file or directory: 
'/etc/backuppc/hosts.sample'
/etc/backuppc/localhost.pl [Errno 2] No such file or directory: 
'/etc/backuppc/localhost.pl'

-- debconf information excluded

Reply via email to