<html><body><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><style style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style><div style="font-family: Andale Mono; font-size: 10pt; color: #000000"><div></div>it shouldn't be able to do that because port 67 would already be in use... The kernel should prevent it. But I see you are using chroot and so on that I am not familiar with and how that would affect things.<br><br><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"karteek challa" <karteek.challa@wipro.com><br><b>To: </b>dhcp-users@lists.isc.org<br><b>Cc: </b>dhcp-users@lists.isc.org<br><b>Sent: </b>Tuesday, November 15, 2016 12:00:29 PM<br><b>Subject: </b>Re: Weird problem of multiple dhcp processes running in parallel!<br></blockquote></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><br>
</p>
Hi,
<div><br>
</div>
<div>I've reproduced the issue by restarting the dhcpd service exactly at the same time from 2 different hosts which had resulted in 2 dhcp processes listening on eth0 interface.</div>
<div><br>
</div>
<div>
<div># ps -ef | grep dhcp</div>
<div>root 1284 1 0 Oct23 ? 02:01:27 /sbin/syslog-ng -a /var/lib/dhcp/dev/log -a /var/lib/dhcp6/dev/log -a /var/lib/named/dev/log</div>
<div><b>dhcpd 18976 1 0 14:01 ? 00:00:00 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</b></div>
<div><b>dhcpd 18978 1 0 14:01 ? 00:00:00 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</b></div>
<div>root 29484 26297 0 14:02 pts/2 00:00:00 grep dhcp</div>
<div><br>
</div>
<div>Is this a bug?</div>
<div><br>
</div>
<div>Best Regards,</div>
<div>Karteek</div>
<div style="text-align: right;"><br>
</div>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><span face="Calibri, sans-serif" color="#000000" data-mce-style="font-size: 11pt; color: #000000; font-family: Calibri, sans-serif;" style="font-size: 11pt; color: #000000; font-family: Calibri, sans-serif;"><b>From:</b> Karteek Challa (Communications-Telecom Equipment)<br>
<b>Sent:</b> 11 November 2016 04:01<br>
<b>To:</b> dhcp-users@lists.isc.org<br>
<b>Subject:</b> Weird problem of multiple dhcp processes running in parallel!</span>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Friends,</p>
<p><br>
</p>
<p>I am facing a weird problem with the multiple dhcp process running in parallel.</p>
<p><br>
</p>
<p><span style="font-size:12pt">My dhcp server was configured to listen on only one eth0 and th</span><span style="font-size:12pt">ere used to be only one process running always.</span></p>
<p><span style="font-size:12pt">But because of some inconsistent behaviour in hosts not getting IPs, when observed the linux machine with the dhcp server installed, I observed 5 dhcp process running in parallel. </span></p>
<p><span style="font-size:12pt"></span></p>
<p><span style="font-size:12pt"><span>DHCPv4 server running in my linux machine.</span><br>
</span></p>
<p><span style="font-size:12pt"></span></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt"></span></p>
<div>dhcpd 1934 1.2 0.2 34844 8744 ? Ss 16:25 4:59 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div><span style="font-size:12pt">dhcpd 19095 1.2 0.2 34972 8756 ? Ss Nov09 26:12 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</span><br>
</div>
<div>dhcpd 19349 1.2 0.2 34840 8728 ? Ss Nov09 26:01 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div>dhcpd 20649 1.1 0.2 34840 8728 ? Ss Nov09 24:41 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div>dhcpd 21533 1.1 0.2 34840 8736 ? Ss Nov09 24:07 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0</div>
<div><br>
</div>
May I know in what scenario multiple dhcp processes will be created?
<p></p>
<p><span style="font-size:12pt"><br>
</span></p>
<p><span style="font-size:12pt">Best Regards,</span></p>
<p><span style="font-size:12pt">Karteek</span></p>
<p><br>
</p>
</div>
</div>
</div>
</div>
</div>
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should
not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
<br>_______________________________________________<br>dhcp-users mailing list<br>dhcp-users@lists.isc.org<br>https://lists.isc.org/mailman/listinfo/dhcp-users</blockquote></div></div><br></div></body></html>