Bug 218998

Summary: daemon startup options not configurable as packaged
Product: [Fedora] Fedora Reporter: Dale Bewley <dale>
Component: rarpdAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dfediuck
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-08-29 13:29:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dale Bewley 2006-12-08 23:20:01 UTC
Description of problem:
By default rarpd will not answer a request if a boot image for the requesting
client is not found in the /tftpboot. I use rarpd only to answer requests
for Sun T3s and 3510FC devices that have no use for a boot image.

To get around this one must pass a -e to the daemon.

       -e     Skip the check for bootable image in the TFTP boot directory. If
              not present, then even if the Ethernet address is present in the
              ethers  database but the bootable image for the resolved IP does
              not exist, rarpd will not respond to the request.


It would be nice if you could modify the init script as follows:

[root@noc init.d]# diff -u rarpd.orig rarpd
--- rarpd.orig 2006-02-12 01:06:26.000000000 -0800
+++ rarpd 2006-11-30 17:36:08.000000000 -0800
@@ -11,6 +11,10 @@
# Source function library.
. /etc/init.d/functions

+if [ -f /etc/sysconfig/rarpd ]; then
+ . /etc/sysconfig/rarpd
+fi
+
test -x /usr/sbin/rarpd -a -f /etc/ethers || exit 0

RETVAL=0
@@ -20,7 +24,7 @@
# Check if rarpd is already running
if [ ! -f /var/lock/subsys/rarpd ]; then
echo -n $"Starting $prog: "
- daemon /usr/sbin/rarpd
+ daemon /usr/sbin/rarpd $OPTIONS $INTERFACE
RETVAL=$?
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/rarpd
echo

[root@noc init.d]# cat /etc/sysconfig/rarpd
OPTIONS="-e -v"
INTERFACE="eth1"

Version-Release number of selected component (if applicable):
rarpd-ss981107-22.2.1

How reproducible:
Always

Steps to Reproduce:
1. service start rarpd
  
Actual results:
No means to configure options.

Expected results:
Tweakage of sysconfig file. Options are:
 rarpd [ -dveaA ] [ -b tftpdir ] [ interface]

Additional info:

Comment 1 Jiri Moskovcak 2007-08-29 13:29:09 UTC
Fixed in rawhide.