After updating to the new stable dhcpcd-2.0.2, it terminates on signal 11_ every hour. Former stable dhcpcd did fine. Log says: Mar 1 19:43:45 [dhcpcd] terminating on signal 11_ emerge --info: Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 ccache version 2.3 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://194.117.143.71/mirrors/gentoo http://mirror.aiya.ru/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LC_ALL="de_DE.utf8" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr crypt cups curl dbus doc dvd dvdr eds emboss encode esd ethereal exif expat fam firefox flac foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal howl idn imagemagick imlib ipv6 java jpeg junit lcms libg++ libwww lua mad mhash mikmod ming mng motif mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia ogg openal opengl oss pam pcre pdflib perl php png ppds python quicktime readline ruby samba sdl spell sqlite ssl svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wmf xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS
I think I have the same problem with dhcpcd-2.0.2. There is no problem for me to get an IP-address for eth0 (LAN) or eth2 (WLAN). Getting an address over an PPTP tunnel works too, but if I am trying to get an adress over an OpenVPN tunnel dhcpcd instantly terminates on signal 11 before I get an IP-adress. I hadn't the time to test if my dhcpcd terminates every hour too. Downgrading to dhcpcd-2.0.0 solved the Problem for me. emerge --info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15.1 i686) ================================================================= System uname: 2.6.15.1 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -Os -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=pentium4 -Os -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net ftp://ftp.isu.edu.tw/pub/Linux/Gentoo" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/gentoo-de" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 7zip X a52 aac aalib ac3 acpi aim alsa amarok amuled apm asf audiofile avi bash-completion berkdb bitmap-fonts bl bonobo browserplugin bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr cg chroot cjk clanJavaScript clanVoice codecs crypt css cups curl dbus dga dict directfb divx4linux doc dpms dts dv dvb dvd dvdr eds emacs emboss encode exif expat exscalibar extras faac faad fam fbcon festival ffmpeg finger firefox flac flash font-server foomaticdb fortran freetype fuse gcj gd gdb gdbm gg ggi gif gimp gkrellm glitz glut gmp gnokii gnome gnustep gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml gzip haskell icq id3 idn ieee1394 imagemagick imap imlib imlib2 immqt-bc irc irda irmc jabber java javascript jfs jp2 jpeg jpeg2k junit kde kipi lame lcms ldap libcaca libg++ libsamplerate libvisual libwww lirc live lm_sensors logrotate lufsusermount lzo lzw lzw-tiff mad maildir matroska mbrola mdb mhash mikmod mime ming mjpeg mmx mng mod modplug monkey motif mozaccess mozcalendar mozsvg mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer msn musepack musicbrainz nas ncurses network nls nptl nsplugin ntfs ntlm nvidia objc offensive ogg oggvorbis ogre openal opengl openntpd openssh oscar oss pam pcmcia pcre pda pdflib perl player png pnp portaudio povray python qt quicktime rar readline real recode reiserfs remote rss rtc ruby samba sdl sensord shout slang sms sndfile snmp sockets speech speex spell sse sse-filters sse2 ssl stencil-buffer stream subp subtitles svg svga symlink tcltk tcpd tetex tga theora tiff timidity transcode truetype truetype-fonts trusted type1 type1-fonts udev uim unicode usb userlocales utf8 vcd vidix vim-with-x visualization vlm vnc voice vorbis win32codecs wmf wxwindows x264 xanim xcomposite xface xfs xine xinerama xml xml2 xmms xosd xpm xprint xrandr xscreensaver xsl xv xvid xvmc yahoo yv12 zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Created attachment 81245 [details, diff] this patch should help
(In reply to comment #2) > Created an attachment (id=81245) [edit] > this patch should help The patch works here. Thank you.
Bug is not gone, it is mutated! Instead of terminating every hour on signal 11, now dhcpcd dies in random multiples of an hour leaving me with this log message: Mar 5 19:57:18 [dhcpcd] timed out waiting for a valid DHCP server response_ (DHCP server is running fine, of course.)
Created attachment 81747 [details, diff] Fixes the issue Please test this patch and report back
A few days ago, Simon Kelley sent me this patch. Since than dhcpcd works as excepted. So I think this patch cleaned out the bug.
I just fixed this bug on my own system. I like the patch already in here, it quits using goto, which is always nice. The problem was just using FD_ISSET on udpFooSocket when udpFooSocket == -1, so the patch could be smaller.
Fixed in dhcpcd-2.0.3