Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33895 - dhcrelay does not have an init script but should have one
Summary: dhcrelay does not have an init script but should have one
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Max Kalika (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-19 21:08 UTC by Martin Jackson (RETIRED)
Modified: 2004-01-14 17:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
initscript for dhcrelay (dhcrelay,525 bytes, text/plain)
2003-11-20 20:00 UTC, Martin Jackson (RETIRED)
Details
Conf file for /etc/conf.d for dhcrelay init script (dhcrelay,424 bytes, text/plain)
2003-11-20 20:03 UTC, Martin Jackson (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Jackson (RETIRED) gentoo-dev 2003-11-19 21:08:36 UTC
dhcrelay does not have an init script but should - otherwise it will have to be
started manually

I suggest including a config file in /etc/conf.d as well to pass command line
args to dhcrelay

Note that dhcpd and dhcrelay may conflict but don't have to (e.g. if dhcrelay is
running on eth1 and dhcpd is running on eth0)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Martin Jackson (RETIRED) gentoo-dev 2003-11-20 20:00:55 UTC
Created attachment 21015 [details]
initscript for dhcrelay

This is what I think is a fairly reasonable init script for dhcrelay.  It does
not support chroot or dropping root, so those options have been removed vis a
vis the dhcp init script.

I have tested it on my system.

I will also send along a conf file for /etc/conf.d
Comment 2 Martin Jackson (RETIRED) gentoo-dev 2003-11-20 20:03:01 UTC
Created attachment 21016 [details]
Conf file for /etc/conf.d for dhcrelay init script

Here is the accompanying conf file.  The relay servers variable has to be
populated for the script to start correctly.
Comment 3 Max Kalika (RETIRED) gentoo-dev 2004-01-14 17:05:17 UTC
Committed as dhcp-3.02_p2-r3.  Any reason it doesn't work as the dhcp user?