On Saturday, September 10, 2016 10:56:16 PM Peter Colberg wrote:
> Package: opendkim
> Version: 2.10.3-5
> Severity: important
> 
> Dear Maintainer,
> 
> The opendkim systemd service executes as part of ExecStartPre a script
> that potentially alters /lib/systemd/system/opendkim.service whenever
> /etc/default/opendkim changes. This breaks the verification of the
> package contents using, for instance, debsums.
> 
> Could you please ship a static systemd unit using EnvironmentFile?
> 
> Instead of $EXTRAAFTER, you could suggest the following to users:
> 
> ~~~
> If you are using OpenDKIM with SQL datasets it might be necessary to start
> OpenDKIM after the database servers. For example, if using both MariaDB and
> PostgreSQL, run "systemctl edit opendkim.service" and add the following:
> 
> [Unit]
> After=mariadb.service postgresql.service

Unfortunately, systemd doesn't support a broad enough set of options to 
properly support /etc/default with a static service file.  It only changes the 
file if the administrator has changed the /etc/default file, so I think this 
is OK.

Scott K

Reply via email to