Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612448 - net-irc/irker: systemd unit file broken
Summary: net-irc/irker: systemd unit file broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-12 21:42 UTC by Andrius Štikonas
Modified: 2020-07-13 21:25 UTC (History)
2 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 Andrius Štikonas 2017-03-12 21:42:06 UTC
Systemd unit installed by irker is broken

During installation ebuild uses some sed magic and changes
ExecStart=/usr/bin/irkerd
into 
ExecStart=usr/bin/irkerd
which is not absolute path and so systemd refuses to work.

Reproducible: Always



Expected Results:  
systemd unit works
Comment 1 Eric S. Raymond 2020-06-30 00:01:44 UTC
irker maintainer here.  This is definitely a problem with the ebuild; the path is absolute in the distributed version of the unit file.
Comment 2 Gary E. Miller 2020-06-30 00:06:23 UTC
Would be nice to get this fixed with the version bump to 2.19
Comment 3 Andrius Štikonas 2020-06-30 00:16:08 UTC
Well the offending line is

sed -i -e "/^ExecStart=/ s:=/:=${EPREFIX}:" irkerd.service

So it replaces =/ with =${EPREFIX}

I think replacing it with

sed -i -e "/^ExecStart=/ s:=/:=${EPREFIX}/:" irkerd.service

should fix this.
Comment 4 Larry the Git Cow gentoo-dev 2020-07-13 20:05:08 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfacb0aff98fddab174629593535def3509894e

commit 8dfacb0aff98fddab174629593535def3509894e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-07-13 19:59:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-07-13 20:03:23 +0000

    net-irc/irker: bump to 2.19
    
    Changes:
    * Add Python 3.7, 3.8
    * Drop socks5 use flag - use optfeature instead
    * Update LICENSE to BSD-2
    * Fix systemd service (absolute path)
    
    Closes: https://bugs.gentoo.org/730182
    Closes: https://bugs.gentoo.org/612448
    Package-Manager: Portage-2.3.99, Repoman-2.3.23
    Signed-off-by: Sam James <sam@gentoo.org>

 net-irc/irker/Manifest          |  1 +
 net-irc/irker/irker-2.19.ebuild | 64 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)