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...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 698544 (view as bug list)
Depends on:
Blocks:
 
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: ---


Attachments

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:
/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)
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):

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(-)
Comment 4 Tupone Alfredo gentoo-dev 2020-01-27 07:59:59 UTC
I fixed the path, but I agree on moving the 
/lib/systemd/system/courier-authdaemond.service
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 :)