Bug#1142194: storebackup: the $USER env variable is not set under cron, which generates an error
Francesco Potortì <[email protected]> Thu, 16 Jul 2026 13:38:09 +0200
| Newsgroups | gmane.linux.debian.qa-packages |
|---|---|
| Organization | ISTI-CNR, via Moruzzi 1, www.isti.cnr.it |
| Message-ID | <[email protected]> |
Package: storebackup
Version: 3.5.2-2
Severity: minor
When storeBackup is called by cron (I have a file under /etc/cron.d/local-storebackup) the USER env var is not set, which gives rise to an error:
Use of uninitialized value $ENV{"USER"} in string eq at /usr/bin/storeBackup line 141.
For the rest, storeBackup works normally, which is why I have set this as a minor problem, but I suppose this could give problems in case of concurrent runs.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-security'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.19.6+deb14-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=it_IT.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 storebackup depends on:
ii bzip2 1.0.8-6+b2
ii perl 5.40.1-8
Versions of packages storebackup recommends:
ii perl [libio-compress-bzip2-perl] 5.40.1-8
storebackup suggests no packages.
-- no debconf information