Description of problem: If SQL (MySQL, PostgreSQL) datasets are used in the the opendkim configuration, the service won't start after a reboot. This happens without any error or warning message. Adding an override of the opendkim systemd service at /etc/systemd/system/opendkim.service with the following contents resolves the issue: ~~~~~~~~~~~~~~~~~~ .include /usr/lib/systemd/system/opendkim.service [Unit] After=mariadb.service ~~~~~~~~~~~~~~~~~~ A similar dependency should be necessary for the PostgreSQL service, if PostgreSQL datasets are used. However, I am not sure if this is a bug, since the default opendkim configuration file does not use SQL datasets. But truth is that if this is missing the user has very little information about why the opendkim service does not start after a reboot. Version-Release number of selected component (if applicable): opendkim-2.10.1-7
Hi, George. You're right that it's probably not technically a "bug" (for the reason you mentioned), however I'm thinking at the very least I should mention it in the README.Fedora file -- and possibly include some commented elements in the service file that can be uncommented for those who might need it.
Hello Steve, I also think that adding some notes in the service file is a good resolution. However, because opendkim does not output a message that it cannot find the database server, it is very possible that the user has no clue that it is a systemd dependency issue and might not search for info in the service file. In this regard, I'd suggest to also add a note in the configuration file or in an extra README.SQL documentation file. With this bug report I just wanted to bring the issue to your attention. I'm not aware of the recent Fedora Packager Guidelines and do not really know what is the best resolution for such issues. Ideally, opendkim should print an error message about not being able to find the database. That could be a good resolution, so maybe also filing a bug report in their bug tracker would be a good idea. Kind Regards, George
Hi George, I've filed a ticket upstream: https://sourceforge.net/p/opendkim/bugs/224/ Please feel free to chime in over there if I'm missing anything that might be of help to the upstream developers... or even if there isn't and you just wanna throw in a +1. :)
Hoping that the next version of OpenDKIM will spit out an error if it can't find the database on startup (I'm buddies with the developer so I'll harass him), but until then some notes in the README.Fedora file and the service file might just have to do. About to push an update that fixes this as well as the "build --with-odbx" bug.
opendkim-2.10.1-12.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/opendkim-2.10.1-12.fc21
opendkim-2.10.1-12.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/opendkim-2.10.1-12.el5
opendkim-2.10.1-12.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/opendkim-2.10.1-12.fc20
opendkim-2.10.1-12.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/opendkim-2.10.1-12.el6
opendkim-2.10.1-12.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/opendkim-2.10.1-12.fc22
opendkim-2.10.1-12.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/opendkim-2.10.1-12.el7
Package opendkim-2.10.1-12.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 opendkim-2.10.1-12.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5688/opendkim-2.10.1-12.fc22 then log in and leave karma (feedback).
Package opendkim-2.10.1-12.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing opendkim-2.10.1-12.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-5714/opendkim-2.10.1-12.fc20 then log in and leave karma (feedback).
opendkim-2.10.1-12.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.1-12.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.1-13.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/opendkim-2.10.1-13.fc21
opendkim-2.10.1-13.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/opendkim-2.10.1-13.el5
opendkim-2.10.1-13.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/opendkim-2.10.1-13.el6
opendkim-2.10.1-13.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/opendkim-2.10.1-13.fc22
opendkim-2.10.1-13.el7 has been submitted as an update for Fedora EPEL 7. https://admin.fedoraproject.org/updates/opendkim-2.10.1-13.el7
opendkim-2.10.1-13.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/opendkim-2.10.1-13.fc20
opendkim-2.10.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.
opendkim-2.10.1-13.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.1-13.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.1-13.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.1-13.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.1-13.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.