Bug#1116939: debsums: Cron job error "tee: /proc/self/fd/3: No such device or address" under systemd

Timo Sigurdsson public_timo.s at silentcreek.de
Tue Sep 30 20:41:09 BST 2025


Package: debsums
Version: 3.0.2.3
Severity: normal


Dear Maintainers,

I noticed that the debsums (daily/weekly/monthly) cron jobs will throw an error when the scripts are run as systemd units - which is the case if you use systemd-cron as a replacement of the traditional cron daemon.

The error message reads:
tee: /proc/self/fd/3: No such device or address

This is caused by the output redirection to a temporary file descriptor so the output can be sent to stdout as well as the log daemon. Systemd, by default, limits pipes to stdout and stderr only, which is why `tee /proc/self/fd/3' fails.

I found an easy fix for this, however. Process substitution allows for the same output duplication/redirection and works regardless of being run as a systemd unit or not.

The attached diff works for me.

Would you consider shipping this simple fix as a stable update? Thank you!


Regards,

Timo


-------------- next part --------------
A non-text attachment was scrubbed...
Name: debsums.diff
Type: text/x-diff
Size: 523 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-perl-maintainers/attachments/20250930/abd3804f/attachment.diff>


More information about the pkg-perl-maintainers mailing list