FreeBSD Bugzilla – Attachment 225294 Details for
Bug 245362
net/isc-dhcp44-server could not be started chrooted after CURRENT r359068
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
isc-dhcp44-server.conditional-copy.diff
isc-dhcp44-server.diff (text/plain), 817 bytes, created by
Igor Ostapenko
on 2021-05-26 20:44:57 UTC
(
hide
)
Description:
isc-dhcp44-server.conditional-copy.diff
Filename:
MIME Type:
Creator:
Igor Ostapenko
Created:
2021-05-26 20:44:57 UTC
Size:
817 bytes
patch
obsolete
>diff --git a/net/isc-dhcp44-server/files/isc-dhcpd.in b/net/isc-dhcp44-server/files/isc-dhcpd.in >index ab818f3b61b1..b92fad444b43 100644 >--- a/net/isc-dhcp44-server/files/isc-dhcpd.in >+++ b/net/isc-dhcp44-server/files/isc-dhcpd.in >@@ -390,7 +390,10 @@ setup_chroot () > eval "safe_copy \${${name}_devdir} \${_dhcpd_devdir}" > fi > eval "safe_copy \${${name}_conffile} \${_dhcpd_conffile}" >- eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf" >+ # copy host.conf only if it exists >+ if eval "[ -f \"\${${name}_etcdir}/\$_hconf\" ]"; then >+ eval "safe_copy \${${name}_etcdir}/\$_hconf \${_dhcpd_etcdir}/\$_hconf" >+ fi > eval "safe_copy \${${name}_etcdir}/\$_hosts \${_dhcpd_etcdir}/\$_hosts" > # copy localtime only if it exists > if eval "[ -f \"\${${name}_etcdir}/\$_ltime\" ]"; then
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 245362
: 225294