First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 209037
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Chris Gianelloni (RETIRED) <wolf31o2@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Arthur Hagen <art-gt@broomstick.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 209037 depends on: Show dependency tree
Show dependency graph
Bug 209037 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-02-05 21:54 0000
The /etc/init.d/dnetc script incorrectly sets "-ini /opt/conf.d/dnetc" when
/opt/conf.d/dnetc exists.  This file is not in a format understood by dnetc --
it's used by the inetd script itself.  The net result is that existing and
correct .ini files in /opt/distributed.net/dnetc.ini or /etc/dnetc.ini will be
ignored, and default values used.
According to the man page for dnetc, it should look for /etc/inetd.ini, so I
assume this is a pasto.


Reproducible: Always

Steps to Reproduce:
1. emerge dnetc
2. create an /opt/distributed.net/dnetc.ini file
3. start dnetc with the /etc/init.d/dnetc script

The options in /opt/distributed.net/dnetc are ignored, and looking at ps, you
can see that it's called with "-ini /etc/conf.d/dnetc", which is wrong.




Quick fix for /etc/init.d/dnetc:

23c23
<       if [ -e /etc/conf.d/dnetc ] ; then
---
>       if [ -e /etc/dnetc.ini ] ; then
25c25
<               DNETOPTS="${DNETOPTS} -ini /etc/conf.d/dnetc"
---
>               DNETOPTS="${DNETOPTS} -ini /etc/dnetc.ini"

------- Comment #1 From Chris Gianelloni (RETIRED) 2008-04-10 00:49:04 0000 -------
OK, I've fixed this in the tree.  Thanks for the bug report!

First Last Prev Next    No search results available      Search page      Enter new bug