This file has 'apache' for Fedora, but Debian needs 'www-data' as shown in ipaplatform/debian/constants.py.
This could be tricky to get right. Currently this is a .in file but it isn't pre-processed in any way, just copied. in Fedora/RHEL the rpm macro %tmpfiles_create handles installation and configuration of the file (and this macro is deprecated, as it turns out).
From a quick read it essentially does this:
/usr/bin/systemd-tmpfiles --create <file>
I don't know how other distributions handle this.
In order to make it possible to substitute this I think it would need to be generated during ipa-server-install instead and systemd-tmpfiles called directly. I'm not sure if that has any implications or not.
Actually, it's not that hard.. we can follow the example set by ODS_USER etc, I'll send a MR.
part of https://github.com/freeipa/freeipa/pull/6091
master:
ipa-4-9:
Metadata Update from @frenaud: - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.