Your message dated Fri, 20 Aug 2021 19:18:37 +0000 with message-id <[email protected]> and subject line Bug#992597: fixed in backuppc 4.4.0-4 has caused the Debian Bug report #992597, regarding backuppc: Outdated init script sanity check fails for default config.pl since Bullseye/BackupPC 4.x to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 992597: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=992597 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: backuppc Severity: important Version: 4.4.0-3 Installing backuppc initially on Bullseye, Bookworm or Sid (compared to upgrading from Buster) on a system with init system which uses init scripts (i.e. at least sysvinit-core and openrc) fails as follows: Creating config file /etc/backuppc/config.pl with new version Starting backuppc...BackupPC cannot be started because important parameters are missing from config.pl. If you just upgraded BackupPC, please update /etc/backuppc/config.pl. invoke-rc.d: initscript backuppc, action "start" failed. dpkg: error processing package backuppc (--configure): installed backuppc package post-installation script subprocess returned error exit status 1 Processing triggers for man-db (2.9.4-2) ... Errors were encountered while processing: backuppc [#] E: Sub-process /usr/bin/dpkg returned an error code (1) Setting up backuppc (4.4.0-3) ... mkdir: cannot create directory '/var/lib/backuppc/pc/localhost/': File exists dpkg: error processing package backuppc (--configure): installed backuppc package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: backuppc Reason for the first error is the following outdated check in the init script: # Check for incompatible old config files check_old_config() { BAD=0 CONF=/etc/backuppc/config.pl grep -q IncrLevel $CONF || BAD=1 if [ "$BAD" = "1" ]; then echo "BackupPC cannot be started because important parameters are missing from config.pl." echo "If you just upgraded BackupPC, please update /etc/backuppc/config.pl." exit 1 fi } But the upstream changelog says already for 3.1.0beta0 from 2007: * $Conf{IncrLevels} is now defaulted if it is not defined. It thouugh seems that the default config.pl got IncrLevels only removed in one of the more recent upstream releases, so this never showed up with the upstream release 3.3.2 which was in Debian before 4.4.0. Reason for the second error is this line in the postinst script: mkdir /var/lib/backuppc/pc/localhost/ It's obviously missing a "-p" option. The "-p" is already fixed in git. I intend the fix the initial error in git directly after sending this bug report. Will upload to Debian Unstable soon afterwards. And once the package migrated to testing, I intent to fix this as a stable minor update for Bullseye as well. Sorry for any inconvenience this might have caused. Definitely slipped through my testing. Workaround for those who are affected: * Call "rmdir /var/lib/backuppc/pc/localhost/", * write "# Workaround: IncrLevel" somewhere on a single line into config.pl, * and then run "dpkg --configure --pending". -- System Information: Debian Release: 11.0 APT prefers unstable APT policy: (990, 'unstable'), (600, 'testing'), (500, 'unstable-debug'), (500, 'buildd-unstable'), (110, 'experimental'), (1, 'experimental-debug'), (1, 'buildd-experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled
--- End Message ---
--- Begin Message ---Source: backuppc Source-Version: 4.4.0-4 Done: Axel Beckert <[email protected]> We believe that the bug you reported is fixed in the latest version of backuppc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Axel Beckert <[email protected]> (supplier of updated backuppc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Fri, 20 Aug 2021 20:45:09 +0200 Source: backuppc Architecture: source Version: 4.4.0-4 Distribution: unstable Urgency: medium Maintainer: Debian BackupPC Team <[email protected]> Changed-By: Axel Beckert <[email protected]> Closes: 992597 Changes: backuppc (4.4.0-4) unstable; urgency=medium . * Don't try to create /var/lib/backuppc/pc/localhost/ if it already exists. Fixes follow-up errors if initial configuration of backuppc failed for some other reason. (See also #992597) * Drop dependencies on Perl modules which are in Perl's core since at least Perl 5.9.4, namely libdigest-md5-perl, libio-compress-perl, and libcompress-zlib-perl. * Declare compliance with Debian Policy 4.6.0. (No changes needed.) * Drop no more needed and previously redundant entry lib/systemd/system from debian/dirs. * Drop outdated sanity check in init script. (Closes: #992597). Checksums-Sha1: 007ef809db21ea7b23345adb52d42bc884c38aa8 2157 backuppc_4.4.0-4.dsc 3cd15cd3e542b623f2b4f6e660880a9876d73ff1 59172 backuppc_4.4.0-4.debian.tar.xz b630b05c22920b9c86681c34e3e9a5d3c9fd9fd1 7800 backuppc_4.4.0-4_source.buildinfo Checksums-Sha256: 0b75a416072f724ad351a2a5932587576f3a4b696596b2cb243eb4dc0e93c568 2157 backuppc_4.4.0-4.dsc 5c80d39820a65129ce65b778979b04c18d84973fbfe36be080e18ef66acd0342 59172 backuppc_4.4.0-4.debian.tar.xz ddf934b294b67f09dadccf54861a4b5a7e9a8d06c41f1aa936b8d88fc86ddeb3 7800 backuppc_4.4.0-4_source.buildinfo Files: 525c4c8feb35ecde07fbbce03be3107b 2157 utils optional backuppc_4.4.0-4.dsc 4f9bb2a6ca48487a3c3fa7c50655a246 59172 utils optional backuppc_4.4.0-4.debian.tar.xz 86ced70b7945a035f0170f324b8bb511 7800 utils optional backuppc_4.4.0-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERoyJeTtCmBnp12Ema+Zjx1o1yXUFAmEf+z0ACgkQa+Zjx1o1 yXXcMA//W8Bp3vi36uYw4NFxqNU3Alj/zm3mwVlZ85TBFi7ZgTnpgjPr86aemsG4 tY2jWZEB/srOqaTs7vBGDmdFyFQPpkymJ4ihGxC8ZcByC8BPJsCAYuIt89R59hxS mkMywSmx5RMoeFbfhaYzOawbVCBQGhDiQ/VJQ7O8WSOGKq8M0KEK+dTMr6Moiy95 jSgvG9RFXFjkGiXuuf3JLEyhxCYUYI0YGNHFor9RhkVPDZxsAH6sYIs+0l2OSs9f vIDZg1s9KWYW88lBSf3v4Zwt6VMCIgnQsDpY+cwtYSVw5RKw+4Q/wzg1hn+KgbOd wU5sRmB+1rVCwOFzFS0K+17ZcSmNNMRGtMny9aCUD25eFegMJP7NFFlHVsI2Xv69 UEawNx7AWuOlnGkcoPO4fD0UssqrpjwJXNkV9YijX8ZVGYLdJYaanNoFH3+dsAeQ e4USmmbpJYIO0b66ghpL/Y6uhnpqVbtTQwdzbM5B/h33c4nr6fiudAi6jfTPGo70 pNpVt1EWIxKvSTOSKUDWCiuAb60mpPqjIyjb1kBl97Ydl63YkDplaeYt2JYSx/5p ORB/+d9MOzasLZb5x/vw+/LDxpDeXU5j6vm7fLDZiUpX5PPPL1LsOZDSOTrQUe6C wH3jEUAdS/cBzRASQTxCkVCg5jxFlaRMPUIc+FQScbiLROd2rwU= =YK99 -----END PGP SIGNATURE-----
--- End Message ---

