Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689648 - net-libs/courier-authlib and not net-mail/courier-imap should install /lib/systemd/system/courier-authdaemond.service
Summary: net-libs/courier-authlib and not net-mail/courier-imap should install /lib/sy...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
: 698544 (view as bug list)
Depends on:
Reported: 2019-07-11 06:27 UTC by Olliver Schinagl
Modified: 2020-01-27 16:09 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Olliver Schinagl 2019-07-11 06:27:13 UTC
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:

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:

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/ -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)
Comment 1 Jochen Trumpf 2019-10-08 23:09:30 UTC
I can confirm this issue. Olliver's point that a service should install its own service file makes perfect sense to me.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-10-25 22:25:25 UTC
*** Bug 698544 has been marked as a duplicate of this bug. ***
Comment 3 Larry the Git Cow gentoo-dev 2020-01-27 07:57:49 UTC
The bug has been referenced in the following commit(s):

commit c831cfe95aa9df53b9b0c1ed95ae9f670188c737
Author:     Tupone Alfredo <>
AuthorDate: 2020-01-27 07:55:37 +0000
Commit:     Tupone Alfredo <>
CommitDate: 2020-01-27 07:57:14 +0000

    net-mail/courier-imap: fix location of courier authdaemond
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Alfredo Tupone <>

 net-mail/courier-imap/files/courier-authdaemond-r1.service | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Tupone Alfredo gentoo-dev 2020-01-27 07:59:59 UTC
I fixed the path, but I agree on moving the 
on courier-authlib
Comment 5 Michael Crawford (ali3nx) 2020-01-27 16:09:52 UTC
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 :)