Permission issues with v2.12.2
I've created some el8 v2.12.2 rpms and I'm having some permission issues locking config files down with this version. Note: In /etc/amavisd/amavisd.conf
I have $daemon_group = "virusgroup";
set as on RHEL versions the User and Group is not set in the systemd file.
Normally I would lock any amavis config files like:
chown root:amavis /etc/amavisd/amavisd.conf
chmod 0640 /etc/amavisd/amavisd.conf
On all other versions (including version amavis-2.13 on el9 and older versions like v2.12.1 on el8) this works without any problems (restart and reload both work). But on v2.12.2 it refuses to start.
Jun 02 05:25:06 el8 amavisd[362861]: Amavis::Util: can't obtain a tainted string at /usr/sbin/amavisd line 2956.
Jun 02 05:25:06 el8 amavisd[362861]: Error reading config file "/etc/amavisd/amavisd.conf": Permission denied at /usr/sbin/amavisd line 2248.
I think this is related to the changes #10 (closed) but I'm wondering why it works on amavis-2.13 (restart and reload) work without any problems on that version. I know that I can do chown root:virusgroup /etc/amavisd/amavisd.conf
instead to get around this issue but I'm wondering if that is a wise approach as really I don't want to start juggling permissions on different OS and Amavis versions.
Any thoughts @dlucredativ ?