[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1116644: storebackup: Fix for /etc/cron.daily/storebackup



Package: storebackup
Version: 3.5.2-1
Severity: important

Dear Maintainer,

   * What led up to the situation?
     Upgrade to new storebackup version in APT
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
     # apt -u dist-upgrade
   * What was the outcome of this action?
     /etc/cron.daily/storebackup and /bin/storeBackup won't run good
   * What outcome did you expect instead?
     Working above executables

currently in Debian/testing, /bin/storeBackup of the storebackup APT package
won't run good.

/usr/share/storebackup/bin/storeBackup instead from the same package runs good,
as I now successfully tested.

I changed 1 line in /etc/cron.daily/storebackup, to make the solution execute
good again:

Line 21:

  if ! nice storeBackup -f "$file" > "$tmplog" 2>&1

to:

  if ! nice /usr/share/storebackup/bin/storeBackup -f "$file" > "$tmplog" 2>&1

Thank you for the time acknowledging my problem report.

Adrian Kiess


-- System Information:
Debian Release: forky/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 6.16.8+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8), LANGUAGE=fr:ru:en_US:de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages storebackup depends on:
ii  bzip2  1.0.8-6
ii  perl   5.40.1-6

Versions of packages storebackup recommends:
ii  perl [libio-compress-bzip2-perl]  5.40.1-6

storebackup suggests no packages.

-- Configuration Files:
/etc/cron.daily/storebackup changed:
PATH=/bin:/sbin:/usr/bin:/usr/sbin
[ -x /usr/bin/storeBackup ] || exit 0
configs=`run-parts --list /etc/storebackup.d/`
delayed_error=''
if [ "$configs" ]; then
    tmplog=`mktemp -t storebackup.XXXXXXXXXX`
    for file in $configs
    do
	if ! nice /usr/share/storebackup/bin/storeBackup -f "$file" > "$tmplog" 2>&1
	then
	    echo Error running backup for \"$file\" >&2
	    cat "$tmplog" >&2
	    delayed_error=1
	fi
    done
    rm $tmplog || true
    [ $delayed_error ] && exit 1;
fi
exit 0


-- no debconf information


Reply to: