Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945988 - net-dns/knot-3.4.2-r1 init script uses wrong path for knotc
Summary: net-dns/knot-3.4.2-r1 init script uses wrong path for knotc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-12-06 21:03 UTC by Sven E.
Modified: 2024-12-06 22:08 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 Sven E. 2024-12-06 21:03:16 UTC
With the latest upgrade it seems knotc resides in /usr/sbin and not /usr/bin which the init script uses.

Reproducible: Always

Steps to Reproduce:
1. emerge net-dns/knot-3.4.2-r1
2. start/stop knot

Actual Results:  
start/stop failure

Expected Results:  
normal starup operation
Comment 1 Nicolas PARLANT 2024-12-06 21:48:01 UTC
Ah right. Do not know if it's a revbump required.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-06 21:49:53 UTC
(In reply to Nicolas PARLANT from comment #1)
> Ah right. Do not know if it's a revbump required.

If it changes installed files and you want to get that fix out, yes.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-06 21:50:18 UTC
(In reply to Sam James from comment #2)
> (In reply to Nicolas PARLANT from comment #1)
> > Ah right. Do not know if it's a revbump required.
> 
> If it changes installed files and you want to get that fix out, yes.

(If it were e.g. a trivial comment change that is harmless, the package takes ages to build, and there's a new release next week, no. etc)
Comment 4 Larry the Git Cow gentoo-dev 2024-12-06 22:08:59 UTC
The bug has been closed via the following commit(s):

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

commit 6026b7564d8f8711c859e87416a5dc67cf011ab5
Author:     Nicolas PARLANT <nicolas.parlant@parhuet.fr>
AuthorDate: 2024-12-06 21:56:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-06 22:08:05 +0000

    net-dns/knot: fix init script to /usr/sbin
    
    Closes: https://bugs.gentoo.org/945988
    Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
    Closes: https://github.com/gentoo/gentoo/pull/39613
    Signed-off-by: Sam James <sam@gentoo.org>

 net-dns/knot/files/{knot-2.init => knot-3.init}             | 2 +-
 net-dns/knot/{knot-3.4.2-r1.ebuild => knot-3.4.2-r2.ebuild} | 2 +-
 net-dns/knot/{knot-3.4.3.ebuild => knot-3.4.3-r1.ebuild}    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)