FS#12792 - [dhcp] dhcpd will not start with ver 4.1.0-1

Attached to Project: Arch Linux
Opened by Jason Begley (jayray) - Wednesday, 14 January 2009, 18:14 GMT
Last edited by Kevin Piche (kpiche) - Monday, 20 July 2009, 03:15 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Kevin Piche (kpiche)
Architecture i686
Severity High
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

DHCPD will not start under dhcp version 4.1.0-1: I receive the following when executing:

Internet Systems Consortium DHCP Server 4.1.0
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Wrote 0 deleted host decls to leases file.
Wrote 0 new dynamic host decls to leases file.
Wrote 23 leases to leases file.
Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory
Can't get list of interfaces.

If you did not get this software from ftp.isc.org, please
get the latest from ftp.isc.org and install that before
requesting help.

If you did get this software from ftp.isc.org and have not
yet read the README, please read it before requesting help.
If you intend to request help from the dhcp-server@isc.org
mailing list, please read the section on the README about
submitting bug reports and requests for help.

Please do not under any circumstances send requests for
help directly to the authors of this software - please
send them to the appropriate mailing list as described in
the README file.

exiting.




It still fails when applying -4 switch.
I am running monolithic kernel with not IPV 6 support, and have since reverted to dhcp-3.1.1-1 with no issues.
This task depends upon

Closed by  Kevin Piche (kpiche)
Monday, 20 July 2009, 03:15 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in dhcp 4.1.0.p1-1
Comment by Petar Aleksich (Pobro) - Wednesday, 14 January 2009, 20:13 GMT
I have the same problem with 4.1.0-1

Jan 14 21:02:18 fearless dhcpd: Error opening '/proc/net/if_inet6' to list IPv6 interfaces; No such file or directory
Jan 14 21:02:18 fearless dhcpd: Can't get list of interfaces.
Comment by Gerhard Brauer (GerBra) - Wednesday, 14 January 2009, 21:28 GMT
Try compiling it with configure option --disable-dhcpv6.
ipv6 support is enabled by default and the mentioned '/proc/net/if_inet6' file is available on systems with loaded ipv6 modul etc.

See configure --help:
--enable-dhcpv6 enable support for DHCPv6 (default is yes)
Comment by Petar Aleksich (Pobro) - Thursday, 15 January 2009, 17:10 GMT
I am stumped! I lost pacman cache and now cant roll back to old version. Would somebody be kind enough to provide a working dhcp-3.1.1-1 version.
Comment by Jon Scully (soloport) - Monday, 19 January 2009, 15:11 GMT
sudo modprobe ipv6
sudo sed -i 's|^\(MODULES[=].*\)[)]|\1 ipv6)|' /etc/rc.conf
sudo /etc/rc.d/dhcpd restart
Comment by Petar Aleksich (Pobro) - Monday, 19 January 2009, 21:20 GMT
But why is dhcpd looking for this i dont want ipv6 loaded! I read man page and it said -4 means IPv4 only, which is what i have. My dhcp conf file is pretty much vanillla stuff!
Comment by Jon Scully (soloport) - Monday, 19 January 2009, 22:40 GMT Comment by Jason Begley (jayray) - Sunday, 25 January 2009, 17:24 GMT
I still see that we are sitting at version dhcp 4.1.0-1... When can we expect this to be recompiled without IPV6?
Comment by Aaron Griffin (phrakture) - Monday, 26 January 2009, 18:57 GMT
If we recompile it without ipv6, what about the people USING ipv6? It makes more sense to patch this so the -4 flag works as intended - from the comments it seems that -4 doesn't do what it is supposed to.
Comment by Jason Begley (jayray) - Tuesday, 27 January 2009, 22:09 GMT
I rebuilt the package with the patch that Jon Scully suggested and have had no problems. Any way this patch can be included in the next build?
Comment by Jason Begley (jayray) - Friday, 13 February 2009, 14:14 GMT
Any movement on this?
Comment by schmoemi (schmoemi) - Thursday, 07 May 2009, 21:19 GMT
Because I am a really impatient person, I took the patchfile from isc.org myself, adjusted the PKGBUILD respectively, and rebuilt the dhcp package. It seems to work well.

Loading...