Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125828 - mark dhcpcd-2.0.3 stable
Summary: mark dhcpcd-2.0.3 stable
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High critical (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 06:04 UTC by Roy Marples (RETIRED)
Modified: 2006-04-23 10:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roy Marples (RETIRED) gentoo-dev 2006-03-11 06:04:09 UTC
dhcpcd-2.0.2 was put into the tree to fix a security flaw and has been made stable. However, there was a flaw with it and it's unreliable after a dhcp renew request and/or if you use >1 instance of dhcpcd.

I know it's not been in the tree for 30 days, but I think it should be made stable to fix bugs #124543 and #124675.
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2006-03-12 01:04:06 UTC
stable on ppc64
Comment 2 Chris White (RETIRED) gentoo-dev 2006-03-12 09:44:14 UTC
ppc stable.
Comment 3 Thomas Cort (RETIRED) gentoo-dev 2006-03-12 10:28:08 UTC
I've been using this version of dhcpcd on alpha for a while without any problems. I re-tested it today. It fixes the flaws mentioned in this bug's description.

It blocks dhcpcd from being run twice on one interface...
topcat ~ # dhcpcd eth0
topcat ~ # dhcpcd eth0
****  dhcpcd: already running
****  dhcpcd: if not then delete /var/run/dhcpcd-eth0.pid file
topcat ~ # dhcpcd eth1
topcat ~ #

And it works after a renew (each renew worked; I checked the server logs)...
topcat ~ # dhcpcd -n
topcat ~ # dhcpcd -n

(server logs)
Mar 12 13:22:53 [dnsmasq] DHCPREQUEST(eth1) 10.1.32.87 00:00:f8:75:5b:70
Mar 12 13:22:53 [dnsmasq] DHCPACK(eth1) 10.1.32.87 00:00:f8:75:5b:70
Mar 12 13:24:15 [dnsmasq] DHCPREQUEST(eth1) 10.1.32.87 00:00:f8:75:5b:70
Mar 12 13:24:15 [dnsmasq] DHCPACK(eth1) 10.1.32.87 00:00:f8:75:5b:70

I tested it with my router which is running the dhcp server provided by net-dns/dnsmasq-2.22.

topcat ~ # emerge --info
Portage 2.1_pre6 (default-linux/alpha/no-nptl/2.4, gcc-3.4.4, glibc-2.3.5-r3, 2.4.32 alpha)
=================================================================
System uname: 2.4.32 alpha EV56
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.26-r1
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -pipe -O2 -mcpu=ev56"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-mieee -pipe -O2 -mcpu=ev56"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks maketest metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net http://mirror.espri.arizona.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.arcticnetwork.ca/ http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.llarian.net/ http://gentoo.binarycompass.org http://gentoo.mirrored.ca/ http://mirror.datapipe.net/gentoo http://gentoo.cs.lewisu.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://modzer0.cs.uaf.edu/public/gentoo/ http://mirror.usu.edu/mirrors/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo http://mirror.mcs.anl.gov/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.clarkson.edu/pub/distributions/gentoo/ http://cdot.senecac.on.ca/software/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alpha X aac aalib aim alsa apache2 artworkextra async audacious audiofile bash-completion berkdb binfilter bitmap-fonts bittorrent bl bonjour c++ cairo calendar cdinstall cdparanoia cdr cdrom chroot cli config_wizard cracklib crypt cscope csv ctype cups curl curlwrappers cvs cvsgraph dhcp dillo dri editor eds elf encode epiphany escreen esd ethereal extraicons extras ffmpeg fftw figlet firefox flac ftp gdb gdbm gif glep gnome gnutls gpm grammar gsl gstreamer gtalk gtk gtk2 gtkspell gvim gzip html icq id3 imlib ipod ipv6 jabber javascript jpeg justify ladspa lame libg++ libsexy libwww lite lj logrotate lua mad mapeditor md5sum mikmod motif moznoirc moznomail moznoroaming mozsha1 mp3 mpeg mpeg2 mplayer msn msnextras music ncurses net nethack nls offensive ogg oggvorbis opengl openssh openssl oscar oss pam pdflib perl png python quicktime quotes readline real recode reiserfs scp screen sdl sftp skins sndfile sockets sounds sox speech spell ssl subversion symlink syslog tcpd threads truetype truetype-fonts type1-fonts udev userlocales vcd videos vim vim-with-x vorbis wma wma123 xml xml2 xmlreader xmms xv xvid yahoo zip zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 4 Fernando J. Pereda (RETIRED) gentoo-dev 2006-03-12 10:35:23 UTC
Alpha done. Thanks Thomas.

Cheers,
Ferdy
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2006-03-12 13:02:45 UTC
stable on amd64
Comment 6 Jason Wever (RETIRED) gentoo-dev 2006-03-12 13:54:56 UTC
SPARC'd
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2006-03-12 16:04:03 UTC
x86 happy
Comment 8 Joshua Kinard gentoo-dev 2006-04-23 10:59:13 UTC
Stable on mips.