Package: backuppc
Version: 4.4.0-6+b1
Severity: important

Dear Maintainer,

after a recent update (probably to a Perl library), a bug in BackupPC leads to 
it destroying
its configuration files when saved from the BackupPC admin console.

On a system updated to the current versions of Debian Testing, I made minor 
modifications to
the configuration setup in the web admin console and pressed the "Save" button.

After that, any access to the admin console led to an internal error message. 
Restarting the
backuppc service fails from that point on as well.

Reason is that any configuration file saved this way is destroyed, as the 
brackets, [] and {},
required to store arrays or maps respectively, are replaced by ordinary 
brackets ().

CAUTION: For certain configuration files, this problem will *not* lead to 
backups reporting failure, but generating
faulty or incomplete backups due to misinterpretation of the config files, 
along with lack
of proper validation of the config files.

This bug is reported upstream: https://github.com/backuppc/backuppc/issues/466
A fix seems to be available and extremely easy to apply (not verified myself), 
but is  not
yet part of an upstream release.


-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.0.0-5-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.129
ii  apache2 [httpd]                            2.4.54-5
ii  apache2-utils                              2.4.54-5
ii  backuppc-rsync                             3.1.3.0-3
ii  bzip2                                      1.0.8-5+b1
ii  debconf [debconf-2.0]                      1.5.80
ii  exim4                                      4.96-9
ii  exim4-daemon-light [mail-transport-agent]  4.96-9
ii  init-system-helpers                        1.65.2
ii  iputils-ping                               3:20221126-1
ii  libarchive-zip-perl                        1.68-1
ii  libbackuppc-xs-perl                        0.62-2+b2
ii  libc6                                      2.36-6
ii  libcgi-pm-perl                             4.54-1
ii  libfile-listing-perl                       6.15-1
ii  libtime-parsedate-perl                     2015.103-4
ii  lsb-base                                   11.5
ii  perl                                       5.36.0-4
ii  sysvinit-utils [lsb-base]                  3.05-7
ii  ucf                                        3.0043

Versions of packages backuppc recommends:
ii  libio-dirent-perl            0.05-1.1+b2
ii  openssh-client [ssh-client]  1:9.1p1-1
ii  rrdtool                      1.7.2-4+b6
ii  samba-common-bin             2:4.17.3+dfsg-3
ii  smbclient                    2:4.17.3+dfsg-3

Versions of packages backuppc suggests:
pn  certbot | acme-tiny | acmetool | dehydrated | lacme  <none>
     | lecm | lego
pn  libscgi-perl                                         <none>
ii  lynx [www-browser]                                   2.9.0dev.10-1+b1
ii  par2                                                 0.8.1-3
ii  rsync                                                3.2.6-4+b1
ii  w3m [www-browser]                                    0.5.3+git20220429-1+b1

-- Configuration Files:
/etc/backuppc/apache.conf changed [not included]
/etc/backuppc/config.pl [Errno 13] Keine Berechtigung: '/etc/backuppc/config.pl'
/etc/backuppc/hosts [Errno 13] Keine Berechtigung: '/etc/backuppc/hosts'
/etc/backuppc/localhost.pl [Errno 13] Keine Berechtigung: 
'/etc/backuppc/localhost.pl'
/etc/default/backuppc changed [not included]

-- debconf information excluded

Reply via email to