Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247068 - app-admin/gkrellm - config not working for /etc/init.d/gkrellmd
Summary: app-admin/gkrellm - config not working for /etc/init.d/gkrellmd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jim Ramsay (lack) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-16 14:38 UTC by Jörg Eitemüller
Modified: 2008-11-17 21:27 UTC (History)
1 user (show)

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


Attachments
gkrellmd (gkrellmd,637 bytes, text/plain)
2008-11-17 04:24 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
gkrellm-2.3.x.ebuild.patch (gkrellm-2.3.x.ebuild.patch,477 bytes, patch)
2008-11-17 04:28 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jörg Eitemüller 2008-11-16 14:38:41 UTC
The /etc/init.d/gkrellmd-script wont use any configured arguments from the /etc/conf.d/gkrellmd.conf because of two reasons:

* /etc/conf.d/gkrellmd.conf has to be named /etc/conf.d/gkrellmd
* the environmentvariable is falsely labeled in /etc/init.d/gkrellmd

Reproducible: Always

Steps to Reproduce:




Fix:

* run mv /etc/conf.d/gkrellmd.conf /etc/conf.d/gkrellmd
* apply the following patch to /etc/init.d/gkrellmd:
[patch]
14c14
< 	start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd ${GKRELLM_OPTS}
---
> 	start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd -- ${GKRELLMD_OPTS}
[/patch]
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-17 04:24:50 UTC
Created attachment 172043 [details]
gkrellmd

fixed init script
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-17 04:28:20 UTC
Created attachment 172044 [details, diff]
gkrellm-2.3.x.ebuild.patch

patch (done with 2.3.2 ebuild) to fix installation of the conf.d file.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-17 04:31:24 UTC
Reassigning bug to maintainer and raising severity to normal as this is really a bug that should be fixed ;)
Comment 4 Jim Ramsay (lack) (RETIRED) gentoo-dev 2008-11-17 21:27:28 UTC
Thanks very much, especially to Lars!

Applied the fix to gkrellm-2.3.1 and -2.3.2.