using the gentoo build dhcpcd segfaults, with my own `vanilla` build it works fine. dhcpcd is build with these use flags: [ebuild N ] net-misc/dhcpcd-3.2.2 USE="zeroconf -vram" # gdb /sbin/dhcpcd GNU gdb 6.7.1 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run eth0 Starting program: /sbin/dhcpcd eth0 [Thread debugging using libthread_db enabled] [New Thread 0x2b3aa1d07f40 (LWP 31029)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x2b3aa1d07f40 (LWP 31029)] 0x00000000004064ee in make_nis (ifname=0x615220 "eth0", dhcp=0x6162a0) at configure.c:431 431 STAILQ_FOREACH (address, dhcp->nisservers, entries) (gdb) bt #0 0x00000000004064ee in make_nis (ifname=0x615220 "eth0", dhcp=0x6162a0) at configure.c:431 #1 0x0000000000407164 in configure (options=0x614010, iface=0x615220, dhcp=0x6162a0, up=true) at configure.c:756 #2 0x0000000000404c03 in handle_dhcp (state=0x617610, type=5, options=0x614010) at client.c:957 #3 0x0000000000404ec3 in handle_packet (state=0x617610, options=0x614010) at client.c:1043 #4 0x0000000000405058 in dhcp_run (options=0x614010, pidfd=0x7fff08dc4be0) at client.c:1093 #5 0x000000000040a45a in main (argc=2, argv=0x7fff08dc4d18) at dhcpcd.c:619 (gdb) Reproducible: Always # emerge --info Portage 2.1.4.4 (default-linux/amd64/2006.1, gcc-4.2.3, glibc-2.7-r1, 2.6.18-gentoo-r2 x86_64) ================================================================= System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+ Timestamp of tree: Sat, 23 Feb 2008 02:16:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-java/java-config: 1.3.7, 2.1.4 dev-lang/python: 2.5.1-r5 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.24 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="en nl fy fy_NL" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/seemant /etc/portage/overlays/freevo /etc/portage/overlays/general" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="X alsa amd64 bash-completion berkdb bitmap-fonts bzip2 cli cracklib crypt dbus dga fortran gdbm gif gpm gtk hal iconv inotify ipv6 isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lzo midi mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png ppds pppd python qt3 readline reflection sdl session spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode xcb xcomposite xml xorg xpm xv zlib" ALSA_CARDS="emu10k1x" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="soundvision" ELIBC="glibc" INPUT_DEVICES="evdev keyboard" KERNEL="linux" LCD_DEVICES="hd44780" LINGUAS="en nl fy fy_NL" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 144493 [details, diff] NIS could be a domain without any servers This should fix it - let me know :)
works like a charm, thanks Roy
Fixed in 3.2.3