Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678762 - net-mail/courier-imap: hard-coded paths in unit files broken with SYMLINK_LIB=no
Summary: net-mail/courier-imap: hard-coded paths in unit files broken with SYMLINK_LIB=no
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: no-symlink-lib
  Show dependency tree
 
Reported: 2019-02-25 16:52 UTC by Thomas Kemmer
Modified: 2019-07-02 07:27 UTC (History)
2 users (show)

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


Attachments
emerge --info (file_678762.txt,5.54 KB, text/plain)
2019-02-25 16:52 UTC, Thomas Kemmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Kemmer 2019-02-25 16:52:09 UTC
Created attachment 566418 [details]
emerge --info

All three unit files installed by courier-imap (from FILESDIR), namely
 * courier-authdaemond.service
 * courier-imapd-ssl.service
 * courier-imapd.service
contain hard-coded paths to /usr/lib/. After SYMLINK_LIB=no conversion none of the corresponding services starts properly. I fixed this issue on my machine by modifying the paths manually (/usr/lib{=>64}/...) in the unit files.

courier-authdaemond:
Feb 25 17:00:36 eradan systemd[430]: courier-imapd-ssl.service: Failed to execute command: No such file or directory
Feb 25 17:00:36 eradan systemd[430]: courier-imapd-ssl.service: Failed at step EXEC spawning /usr/lib/courier-imap/gentoo-imapd-ssl.rc: No such file or directory

courier-imapd:
Feb 25 17:00:36 eradan systemd[435]: courier-imapd.service: Failed to execute command: No such file or directory
Feb 25 17:00:36 eradan systemd[435]: courier-imapd.service: Failed at step EXEC spawning /usr/lib/courier-imap/gentoo-imapd.rc: No such file or directory
Comment 1 Larry the Git Cow gentoo-dev 2019-07-02 07:27:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04434151ae097d3153723b8086dd345dc76ed5b3

commit 04434151ae097d3153723b8086dd345dc76ed5b3
Author:     Tupone Alfredo <tupone@gentoo.org>
AuthorDate: 2019-07-02 07:27:09 +0000
Commit:     Tupone Alfredo <tupone@gentoo.org>
CommitDate: 2019-07-02 07:27:09 +0000

    net-mail/courier-imap: Fix systemd files
    
    Closes: https://bugs.gentoo.org/678762
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
    Package-Manager: Portage-2.3.66, Repoman-2.3.11

 net-mail/courier-imap/courier-imap-5.0.7.ebuild | 13 ++++++++++---
 net-mail/courier-imap/metadata.xml              |  5 ++++-
 2 files changed, 14 insertions(+), 4 deletions(-)