Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 679448

Summary: net-libs/courier-authlib-0.69.0-r1 fails to start, wrong paths in systemd unit file
Product: Gentoo Linux Reporter: Dennis Lichtenthäler <dennis>
Component: Current packagesAssignee: Hanno Böck <hanno>
Status: RESOLVED NEEDINFO    
Severity: normal CC: net-mail+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 677094    

Description Dennis Lichtenthäler 2019-03-04 20:52:56 UTC
net-libs/courier-authlib-0.69.0-r1 has the following lines in its .service file at /lib/systemd/system/courier-authdaemond.service:

ExecStart=/usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -start /usr/lib/courier/courier-authlib/authdaemond
ExecStop=/usr/sbin/courierlogger -pid=/var/run/authdaemon.pid -stop /usr/lib/courier/courier-authlib/authdaemond

/usr/lib/courier/courier-authlib/authdaemond does not exist with this version however. The file has been moved to /usr/libexec/courier-authlib/authdaemond.
Comment 1 Hanno Böck gentoo-dev 2019-03-10 12:04:03 UTC
I don't use a systemd-based system, but are you sure that file got installed by the ebuild?
We have nothing in the ebuild indicating it installs a service file. There's a service.in file in the courier-authlib source and it may be that this gets installed automatically, but it then should know where its default path is.

But my first suspicion would be that you installed this manually from somewhere? (If not please attach a full build log.)
Comment 2 Hanno Böck gentoo-dev 2019-03-11 11:54:27 UTC
I tested this now in a Gentoo/systemd chroot and neither courier nor courier-authlib install this file, so I can only assume you got it from elsewhere.

Please re-open with more info if you believe this is a bug in the package.