Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 401877 - net-misc/gogoc config file check error in /etc/init.d/gogoc
Summary: net-misc/gogoc config file check error in /etc/init.d/gogoc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-02-02 05:58 UTC by Drunkard Zhang
Modified: 2012-02-03 09:22 UTC (History)
1 user (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 Drunkard Zhang 2012-02-02 05:58:57 UTC
The checked gogoc config is not the one in error message, checked /etc/gogoc/gogoc.conf but reported /etc/gogoc.conf 's nonexistence.

Reproducible: Always

Steps to Reproduce:
1. emerge -avq gogoc
2. /etc/init.d/gogoc start
Actual Results:  
Unable to find configuration file /etc/gogoc.conf

Expected Results:  
Unable to find configuration file /etc/gogoc/gogoc.conf

Could be fix by this:

cd /usr/portage/net-misc/gogoc/files && \
sed -i -e '/checkconfig()/,/}/s/\/etc\/gogoc.conf/\/etc\/gogoc\/gogoc.conf/' gogoc.rc
Comment 1 Bernard Cafarelli gentoo-dev 2012-02-03 09:22:16 UTC
Indeed, thanks for the report! This is now fixed in CVS