Bug 67377

Summary: RFE: touch or build a commented /etc/sysconfig/dhcpd
Product: [Retired] Red Hat Raw Hide Reporter: R P Herrold <herrold>
Component: dhcpAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1.0Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-06-23 23:53:41 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 R P Herrold 2002-06-23 23:13:58 UTC
This is a follow along to:  41050   
  
In the post-install, please add as a config file, a touch of  /etc/sysconfig/dhcpd 
 
and  
 
[ ! -s /etc/sysconfig/dhcpd ] && cat - << END > /etc/sysconfig/dhcpd 
# PORT=67 
# CFFILE=/etc/dhcpd.conf 
# LEASEFILE=/var/lib/dhcp/dhcpd.leases 
# QUIET=NO 
# INTERFACES='' 
# INTERFACES='eth1' 
END   
 
to help drive the availability of this file home 
 
-- Russ Herrold

Comment 1 R P Herrold 2002-06-23 23:53:36 UTC
> I liked the idea of having commented options in the /etc/sysconfig/dhcpd 
> file.  It makes it self documenting and easier to use. 
 
Curiously, it is not always created, which is why I 
suggested formally adding the 'touch'  and formally making i 
'config' file, so rpm -V will show its absence 
 
bash-2.05a$ cat /etc/redhat-release  ; ls -sl 
/etc/sysconfig/d* 
Red Hat Linux release 7.3 (Valhalla) 
   1 -rw-r--r--    1 root     root           16 May  9 19:11 
/etc/sysconfig/desktop 
bash-2.05a$ date 
Sun Jun 23 19:50:07 EDT 2002 
bash-2.05a$ 
 


Comment 2 Elliot Lee 2002-06-27 10:40:23 UTC
The file exists in dhcp-3.0pl1-2, thanks to dsainty