Evilham
ecd10de2d3
While adding FreeBSD support to the type I noticed various issues: - We were making sure that the KeyTable and SigningTable were created in __opendkim_genkey, but that was being done with the default cdist permissions (0400) which could result in issues when reloading the service after privilege drop. This is addressed by checking that it exists/creating it in __opendkim (just once, not once per __opendkim_genkey call) with laxer permissions (0444). - In __opendkim, the service was being started after the config file was installed. This is insufficient as OpenDKIM will refuse to start with the generated config if either SigningTable or KeyTable do not exist yet. - __opendkim_genkey had the implicit assumption that the --directory parameter always ended in a slash. This was not documented and error-prone; we are now a bit laxer and add the trailing slash if it is missing. - __opendkim_genkey was not changing permissions for the resulting .txt file. This was not critical for it to function, but it was inconsistent. - As documented in #17, __opendkim allows for a --userid parameter that might cause issues with keys generated by __opendkim_genkey. This issue has not been addressed yet, but I recommend deprecating the --userid parameter. |
||
---|---|---|
.. | ||
__bird_bgp | ||
__bird_core | ||
__bird_filter | ||
__bird_function | ||
__bird_kernel | ||
__bird_ospf | ||
__bird_radv | ||
__bird_static | ||
__borg_repo | ||
__coturn | ||
__dma | ||
__dma_auth | ||
__find_exec | ||
__jitsi_meet | ||
__jitsi_meet_domain | ||
__jitsi_meet_user | ||
__jool | ||
__mail_alias | ||
__matrix_element | ||
__matrix_synapse | ||
__matrix_synapse_worker | ||
__matterbridge | ||
__netbox | ||
__netbox_gunicorn | ||
__netbox_uwsgi | ||
__networktime | ||
__nextcloud | ||
__nextcloud_app | ||
__nextcloud_user | ||
__nginx | ||
__nginx_vhost | ||
__opendkim | ||
__opendkim_genkey | ||
__pass | ||
__pass_init | ||
__runit | ||
__runit_service | ||
__systemd_network | ||
__systemd_resolved | ||
__uacme_account | ||
__uacme_obtain | ||
__unbound | ||
__unbound_exporter | ||
__wikijs | ||
__wireguard | ||
__wireguard_peer | ||
.keep |