FreeBSD Bugzilla – Attachment 50431 Details for
Bug 76834
chrooted ISC dhcpd cannot resolve DNS names or include configs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.19 KB, created by
Andrew Clark
on 2005-01-29 22:40:16 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Andrew Clark
Created:
2005-01-29 22:40:16 UTC
Size:
1.19 KB
patch
obsolete
>--- isc-dhcpd.sh.orig Sat Jan 29 14:19:55 2005 >+++ isc-dhcpd.sh.inc Sat Jan 29 14:36:08 2005 >@@ -37,6 +37,9 @@ > dhcpd_hostname=${dhcpd_hostname:-} # jail hostname > dhcpd_ipaddress=${dhcpd_ipaddress:-} # jail ip address > >+dhcpd_include_dir=${dhcpd_include_dir:-} # directory to be copied to chroot >+ # useful for included config files >+ > safe_run () # rc command [args...] > { > local _rc >@@ -409,6 +412,7 @@ > _dhcpd_conffile=${dhcpd_rootdir}${dhcpd_conffile} > _dhcpd_pidfile=${dhcpd_rootdir}${dhcpd_pidfile} > _dhcpd_leasesfile=${dhcpd_rootdir}${dhcpd_leasesfile} >+ _dhcpd_include_dir=${dhcpd_rootdir}${dhcpd_include_dir} > } > > setup_compat () >@@ -450,6 +454,12 @@ > safe_copy ${dhcpd_devdir} ${_dhcpd_devdir} > fi > safe_copy ${dhcpd_conffile} ${_dhcpd_conffile} >+ >+ # copy dhcpd_include_dir if defined >+ if [ -d "${dhcpd_include_dir}" ]; then >+ safe_mkdir ${_dhcpd_include_dir} >+ safe_copy ${dhcpd_include_dir} ${_dhcpd_include_dir} >+ fi > fi > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76834
:
50430
| 50431