Date: Sun, 23 Sep 2007 10:14:28 -0800 (AKDT) From: Mel <mel@rachie.is-a-geek.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: MAINTAINER <Joerg.Pulz@frm2.tum.de> Subject: ports/116586: isc-dhcp3-server does not work when compiled with jail support Message-ID: <20070923181428.70CE71CC41@squeeze.rachie.is-a-geek.net> Resent-Message-ID: <200709231840.l8NIe730002898@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116586 >Category: ports >Synopsis: isc-dhcp3-server does not work when compiled with jail support >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 23 18:40:07 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD squeeze.rachie.is-a-geek.net 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Aug 20 01:55:49 AKDT 2007 root@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/SQUEEZE i386 >Description: By default, isc-dhcp3-server is compiled with jail support, however it makes non-jail operation not workable. This is not mentioned in pkg-message or when options are presented. This presents an unforseeable problem, where one wants to make sure a configuration works and then optionally move it to a jail (quite standard behavior). It is possible this situation is only present on systems with multiple interfaces, judging from: http://lists.freebsd.org/pipermail/freebsd-questions/2007-September/157107.html >How-To-Repeat: Install net/isc-dhcp3-server with -DBATCH or accept default options. Create a normal config and start dhcpd, either via dhcpd <interface> or using /usr/local/etc/rc.d/isc-dhcpd start Connect a client to get an IP. Client does not receive it, possibly because information is sent out through the wrong interface, even though log shows: Sep 21 11:35:41 squeeze dhcpd: DHCPDISCOVER from 00:19:d2:60:be:a3 via ath0 Sep 21 11:35:42 squeeze dhcpd: DHCPOFFER on 192.168.1.150 to 00:19:d2:60:be:a3 (rachie-PC) via ath0 <repeats until client gives up> These two lines are no different from a working installation: Sep 23 06:46:44 squeeze dhcpd: DHCPDISCOVER from 00:19:d2:60:be:a3 via ath0 Sep 23 06:46:45 squeeze dhcpd: DHCPOFFER on 192.168.1.199 to 00:19:d2:60:be:a3 (rachie-PC) via ath0 Sep 23 06:46:45 squeeze dhcpd: Wrote 1 leases to leases file. Sep 23 06:46:45 squeeze dhcpd: DHCPREQUEST for 192.168.1.199 (192.168.1.1) from 00:19:d2:60:be:a3 (rachie-PC) via ath0 Sep 23 06:46:45 squeeze dhcpd: DHCPACK on 192.168.1.199 to 00:19:d2:60:be:a3 (rachie-PC) via ath0 Sep 23 06:46:48 squeeze dhcpd: DHCPREQUEST for 192.168.1.199 from 00:19:d2:60:be:a3 (rachie-PC) via ath0 >Fix: Untick default selected options. Most likely using paranoia option still works, but I haven't tried this. NOTE: configuration file dhcpd.conf was not changed between not-working/working situation. Port was simply recompiled using `make rmconfig' and portupgrade -f. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070923181428.70CE71CC41>