Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251297 - net-misc/hylafax - broken init script
Summary: net-misc/hylafax - broken init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Steve Arnold
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-17 09:50 UTC by Geaaru
Modified: 2008-12-21 18:29 UTC (History)
1 user (show)

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


Attachments
New hylafax init script (hylafax,3.07 KB, text/plain)
2008-12-17 09:52 UTC, Geaaru
Details
Conf.d file for hylafax (hylafax,567 bytes, text/plain)
2008-12-17 09:53 UTC, Geaaru
Details
New hylafax ebuild that use my init script and conf.d file (hylafax-4.4.4-r2.ebuild,5.34 KB, text/plain)
2008-12-17 09:58 UTC, Geaaru
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Geaaru 2008-12-17 09:50:25 UTC
Init script supply with package isn't compliant with Gentoo environment:

KIT_2 geaaru # /etc/init.d/hylafax  start
 * Caching service dependencies ...
 * Starting HylaFAX Servers. ...
HylaFAX: faxq hfaxd (without old protocol & without SNPP support)
/usr/sbin/hfaxd -i hylafax
.
/etc/init.d/hylafax: line 142: eend: command not found
 * ERROR: hylafax failed to start

This error happens why it is included file setup.cache

. $SPOOL/etc/setup.cache

that overwrite some variable and so eend method is not founded.


Reproducible: Always

Steps to Reproduce:
1. Start hylafax server
2. 
3.
Comment 1 Geaaru 2008-12-17 09:51:26 UTC
I created a new init script compliant with gentoo environment that use a conf.d file and now all works fine.

G@@ru
Comment 2 Geaaru 2008-12-17 09:52:27 UTC
Created attachment 175592 [details]
New hylafax init script
Comment 3 Geaaru 2008-12-17 09:53:20 UTC
Created attachment 175594 [details]
Conf.d file for hylafax
Comment 4 Geaaru 2008-12-17 09:58:55 UTC
Created attachment 175595 [details]
New hylafax ebuild that use my init script and conf.d file

Please fix it with my init script else for other developers i insert on my layman an ebuild that use my init script.
Layman Ge@@ru (with layman overlay link to: http://easydbus.sf.net/layman.txt)

Bye

Ge@@ru
Comment 5 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-18 12:52:54 UTC
Reassigning to maintainer, CCing herd.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-12-18 12:58:06 UTC
d'oh, fixed summary as well. Geaaru, if init-script of older version of hylafax fail the same way, please adjust the summary accordingly.
Comment 7 Geaaru 2008-12-18 13:34:41 UTC
I test this error with versions:
- 4.4.4 (of this report);
- 4.3.7 (same problem);
- 4.3.1 (same problem).

Not tested versions 4.3.0 and 4.2.5 but i think that this problem is relative to all versions.

Fix summary description.

Bye

Ge@@ru
Comment 8 Steve Arnold archtester gentoo-dev 2008-12-19 22:22:50 UTC
Thanks, I haven't been able to test this with real hardware for a while...
Comment 9 Steve Arnold archtester gentoo-dev 2008-12-21 18:29:43 UTC
Thanks; fixed.  Init script looks good, but I can't really test it fully at this time.  Please test and report back any issues.