Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 625750 - net-misc/zerotier-1.2.4, wrong executable path in init-script
Summary: net-misc/zerotier-1.2.4, wrong executable path in init-script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-20 17:48 UTC by Florian Gamböck
Modified: 2018-02-07 09:44 UTC (History)
2 users (show)

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


Attachments
Proposed patch (zerotier.init.patch,275 bytes, patch)
2018-01-31 00:07 UTC, Pavol Cupka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Gamböck 2017-07-20 17:48:57 UTC
In the current portage tree version of zerotier (1.2.4), the init script wants to call a file /usr/bin/zerotier-one. This seems to be a leftover of a previous version, because this path does not exist (anymore). The executable now lives only in /usr/sbin.

So in net-misc/zerotier/files/zerotier.init, /usr/bin needs to be replaced with /usr/sbin.
Comment 1 Jonas Stein gentoo-dev 2017-07-22 12:11:45 UTC
Thank you for the report and the analysis.
Comment 2 Pavol Cupka 2018-01-31 00:07:03 UTC
Created attachment 517208 [details, diff]
Proposed patch

This is still unfixed. The resolution is simple and works. Please update the init script. Thank you
Comment 3 Larry the Git Cow gentoo-dev 2018-02-07 09:44:58 UTC
The bug has been closed via the following commit(s):

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

commit e3204fc3dad8d3b5f891890c8c98059e08a0e579
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-02-07 09:44:19 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-02-07 09:44:48 +0000

    net-misc/zerotier: Fix program path in init.d
    
    Thanks to Florian Gamböck for the report and to Pavol Cupka
    for the patch.
    
    Closes: https://bugs.gentoo.org/625750

 net-misc/zerotier/files/zerotier.init | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)