Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114510 - net-irc/ngircd init script does not provide ircd
Summary: net-irc/ngircd init script does not provide ircd
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-05 00:55 UTC by Joachim Schlöffel
Modified: 2006-01-02 07:31 UTC (History)
0 users

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 Joachim Schlöffel 2005-12-05 00:55:33 UTC
<cut>
depend() {
        need net
}

start() {
        ebegin "Starting ngIRCd"
        start-stop-daemon --start --quiet --exec /usr/sbin/ngircd
        eend $? "Failed to start ngIRCd"
}

stop() {
        ebegin "Stopping ngIRCd"
        start-stop-daemon --stop --quiet --exec /usr/sbin/ngircd
        eend $? "Failed to stop ngIRCd"
}
</cut>
In depend block there sould be a line like
provide ircd

Without this, other services (e.g. net-irc/ircservices) do not recongnize ngirc
as an irc daemon.

Reproducible: Always
Steps to Reproduce:
1. emerge net-irc/ngircd
2. emerge net-irc/ircservices
3. /etc/init.d/ircservices start

Actual Results:  
ircd
 * ERROR:  Some services needed are missing.  Run
 *         './ircservices broken' for a list of those
 *         services.  "ircservices" was not started.


Expected Results:  
 * Caching service dependencies ...  [ ok ]
 * Starting ngIRCd ...               [ ok ]
 * Starting IRC Services ...         [ ok ]

after changing /etc/init.d/ngircd to:
<cut>
depend() {
        need net
        provide ircd
}
</cut>
all is OK
Comment 1 Sven Wegener gentoo-dev 2006-01-02 07:31:48 UTC
Commited to CVS.