#1142194 storebackup: the $USER env variable is not set under cron, which generates an error #1142194
- Package:
- storebackup
- Source:
- storebackup
- Submitter:
- Francesco Potortì
- Date:
- 2026-07-16 11:41:01 UTC
- Severity:
- normal
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.