Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38219 - ypserv init scripts need a conf.d file for extended options about port binding
Summary: ypserv init scripts need a conf.d file for extended options about port binding
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 14:05 UTC by Andrea Barisani (RETIRED)
Modified: 2004-07-23 23:27 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 Andrea Barisani (RETIRED) gentoo-dev 2004-01-14 14:05:18 UTC
rpc.yppasswdd and ypserv from net-nds/ypserv supports specific port binding like nfs
related deamons:

/usr/sbin/rpc.yppasswdd --port 735
/usr/sbin/ypserv --port 730

It would be nice having a proper /etc/conf.d/ypserv flag for settings this like nfs does.

YPSERVOPTS=""  >> /usr/sbin/ypserv -- $YPSERVOPTS
YPPASSWDDOPTS="" >> /usr/sbin/rpc.yppasswdd -- $Y>PPASSWDDOPTS

I'll be able to post an updated ebuild when I got the chance, in the meantime if
soemone has nothing better to do here's the bug :).


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jacob Joseph 2004-06-11 15:43:59 UTC
To help move this bug along, an easy way to implement this such that it matches most other init scripts is to add:

/etc/conf.d/ypserv
---------------------
# Options to pass to ypserv
YP_OPTIONS=""

/etc/init.d/ypserv
---------------------
start-stop-daemon --start --quiet --exec /usr/sbin/ypserv -- $YP_OPTIONS


As this bug is nearly 4 months old, the fix is extremely simple, and the functionality is key to anyone with a firewall, I'd love to see this integrated ASAP.

-Jacob
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-23 23:27:02 UTC
fixed in portage.