The Debian package of RT 5 has a cron job that runs hourly, and it fails with an error message:
Date: Wed, 04 Jun 2025 15:00:03 +0000
From: root@rude.torproject.org (Cron Daemon)
To: www-data@rude.torproject.org
Subject: Cron <www-data@rude> [ -x /usr/sbin/rt-clean-shorteners-5 ] && /usr/sbin/rt-clean-shorteners-5
[87289] [Wed Jun 4 15:00:03 2025] [error]: No user with a GECOS (unix login) of 'www-data' was found. (/usr/share/request-tracker5/lib/RT/Interface/CLI.pm:123)
I dug in the source and don’t quite understand it: the shortener class expects a User (as in RT user!) to be loaded, but then we don’t have a www-data
user in RT… What’s the right fix for this? Do we create a dummy www-data
user in RT? What privileges should it have?