Description of problem: After installing opendmarc, the service is always enabled, independently of the preset settings. This is because the spec file doesn't use the systemd macros. Version-Release number of selected component (if applicable): opendmarc-1.3.1-12.fc23 Additional info: https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Systemd
Hi, Juan. Thanks for your feedback, but I'm unable to reproduce your issue. Here's the spec file for the version you referenced: http://pkgs.fedoraproject.org/cgit/opendmarc.git/tree/opendmarc.spec?id=0e043c87e185afce85a6be6814e3961fc7d24f20 If you search for "systemd" you'll see the systemd support provided. I'm wondering how the service gets enabled in the first place without systemd support? But if there IS something wrong in the existing macros, any further assistance you can provider in locating it would be appreciated. Thanks, SteveJ
(In reply to Steve Jenkins from comment #1) > Hi, Juan. > > Thanks for your feedback, but I'm unable to reproduce your issue. > > Here's the spec file for the version you referenced: > > http://pkgs.fedoraproject.org/cgit/opendmarc.git/tree/opendmarc. > spec?id=0e043c87e185afce85a6be6814e3961fc7d24f20 > > If you search for "systemd" you'll see the systemd support provided. > > I'm wondering how the service gets enabled in the first place without > systemd support? https://fedoraproject.org/wiki/Features/PackagePresets > > But if there IS something wrong in the existing macros, any further > assistance you can provider in locating it would be appreciated. > The systemd macros should be used in Fedora to honor the preset settings and to consistently install services in all the distribution.
Gotit. Thanks, Juan. Changed the spec file to include the following systemd macros on systemd branches: %post %systemd_post %{name}.service %preun %systemd_preun %{name}.service %postun %systemd_postun_with_restart %{name}.service FYI - I just heard from upstream that a new build is about to be released in the next day or two, so I'm going to hold off and push these changes with the new upstream bits.
opendmarc-1.3.1-13.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/opendmarc-1.3.1-13.fc22
Package opendmarc-1.3.1-13.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing opendmarc-1.3.1-13.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-7283/opendmarc-1.3.1-13.fc22 then log in and leave karma (feedback).
opendmarc-1.3.1-13.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.