Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16881 - minor error in start script for pdnsd-1.1.7a
Summary: minor error in start script for pdnsd-1.1.7a
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-05 05:13 UTC by Jan Fikar
Modified: 2003-03-10 03:25 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 Jan Fikar 2003-03-05 05:13:37 UTC
minor error in file /etc/init.d/pdnsd prevents pdnsd from starting

it is written:
...
ebegin "Starting pdnsd"
        start-stop-daemon --start --quiet --exec /usr/sbin/pdnsd --tcp \
                -- -d -p /var/run/pdnsd.pid
...

while the --tcp should be given after --
so it should be:
...
        ebegin "Starting pdnsd"
        start-stop-daemon --start --quiet --exec /usr/sbin/pdnsd \
                -- -t -d -p /var/run/pdnsd.pid
...

(-t = --tcp)

Reproducible: Always
Steps to Reproduce:
1. /etc/init.d/pdnsd start
2.
3.

Actual Results:  
 * Starting pdnsd...
start-stop-daemon: unrecognized option `--tcp'
Try `start-stop-daemon --help' for more information.                      [ !! ]

Expected Results:  
 * Starting pdnsd...                                                      [ ok ]
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2003-03-10 03:25:52 UTC
Fixed, thanks for finding this!