Courier-authlib installs its files into /usr/libexec, equery files courier-authlib * Searching for courier-authlib ... * Contents of net-libs/courier-authlib-0.69.0-r1: /usr/libexec/courier-authlib/authdaemond however, the service file, is installed by courier-imapd equery files courier-imap * Searching for courier-imap ... * Contents of net-mail/courier-imap-4.18.2: /lib/systemd/system/courier-authdaemond.service The problem between this strange disconnect (why is courier-authdaemon not installing its own service file?) causes an expectancy missmatch: ExecStart=/usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -start /usr/lib/courier/courier-authlib/authdaemond Which then in turns causes courier-authdaemond to fail to start, in turn causing courier-imap to fail (if they depend on eachother)
I can confirm this issue. Olliver's point that a service should install its own service file makes perfect sense to me.
*** Bug 698544 has been marked as a duplicate of this bug. ***
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c831cfe95aa9df53b9b0c1ed95ae9f670188c737 commit c831cfe95aa9df53b9b0c1ed95ae9f670188c737 Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2020-01-27 07:55:37 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2020-01-27 07:57:14 +0000 net-mail/courier-imap: fix location of courier authdaemond Bug: https://bugs.gentoo.org/689648 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> net-mail/courier-imap/files/courier-authdaemond-r1.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
I fixed the path, but I agree on moving the /lib/systemd/system/courier-authdaemond.service on courier-authlib
Thank you for fixing this minor annoyance. When i submitted the other bug with the systemd service unit patch i'd not consumed an adequate amount of sleep or coffee :)