Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355749 - net-misc/dhcpcd-5.2.10-r2 takes a long time to start up and prevents wlan connectivity
Summary: net-misc/dhcpcd-5.2.10-r2 takes a long time to start up and prevents wlan con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-20 21:47 UTC by Jordan
Modified: 2011-02-21 01:12 UTC (History)
2 users (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 Jordan 2011-02-20 21:47:09 UTC
First part: dhcpcd-5.2.10-r2 takes at least 45 seconds to start up, it's not in any of the runlevels so I don't know why it starts at boot time.

Second part: after upgrading to 5.2.10-r2, I cam constantly asked by nm-applet for my wpa2 password despite entering it correctly.

This was broken in 5.2.8 for which I filed a bug report but I can no longer find it.

Reproducible: Always
Comment 1 Jordan 2011-02-20 21:47:32 UTC
Emerge info:

Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-zen1 x86_64)
=================================================================
System uname: Linux-2.6.36-zen1-x86_64-Intel-R-_Core-TM-_i3_CPU_M_350_@_2.27GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 20 Feb 2011 19:00:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.0::funtoo
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1::funtoo
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1::funtoo
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/  http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/  "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en_CA"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/lib/layman/wirelay /var/lib/layman/cj-overlay /var/lib/layman/gnome-live /var/lib/layman/steev /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acpi additions alsa amd64 aspell ass bzip2 cairo cdda cdparanoia classic cleartype consolekit css cups dbus device-mapper dhcpcd dri dvd exif expat ffmpeg firefox fontconfig foomaticdb fuse gconf gdu gecko gif glib gnome gpg gstreamer gtk java jpeg libnotify live mad midi mmx mp3 mpeg multilib musicbrainz nautilus ncurses network networkmanager nls nptl opengl openmp pam pcre pdf pnf png policykit ppds pulseaudio python samba sdl smp spell sse sse2 ssl ssse3 svg tcpd threads threadsafe tiff truetype udev unicode usb wifi x264 xcb xinerama xml xorg xpdf-headers xvid zip zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LINGUAS="en_US en_CA" USERLAND="GNU" VIDEO_CARDS="intel" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 William Hubbs gentoo-dev 2011-02-20 23:07:36 UTC
(In reply to comment #0)
> First part: dhcpcd-5.2.10-r2 takes at least 45 seconds to start up, it's not in
> any of the runlevels so I don't know why it starts at boot time.

Try adding the following line to /etc/conf.d/dhcpcd:

rc_provide="!net"

Once that is done, let me know whether dhcpcd starts at boot or not.

> Second part: after upgrading to 5.2.10-r2, I cam constantly asked by nm-applet
> for my wpa2 password despite entering it correctly.

I'm thinking this may go away once we stop dhcpcd from auto starting at boot time, but please open another bug report if it doesn't.

> This was broken in 5.2.8 for which I filed a bug report but I can no longer
> find it.

I searched for all the bugs you have reported, in all statuses, and did not find it either. So I'm not sure what happened.
Comment 3 William Hubbs gentoo-dev 2011-02-20 23:32:22 UTC
Also, since your emerge info shows that you are using funtoo's version
of openrc, I am adding the funtoo developers to this bug.

Comment 4 Piotr Karbowski (RETIRED) gentoo-dev 2011-02-20 23:40:08 UTC
Dosn't looks like funtoo system. Other linux-headers, glibc, profile. Looks like almost pure gentoo with some packages from funtoo.
Comment 5 Jordan 2011-02-21 01:10:20 UTC
(In reply to comment #2)
> (In reply to comment #0)
> > First part: dhcpcd-5.2.10-r2 takes at least 45 seconds to start up, it's not in
> > any of the runlevels so I don't know why it starts at boot time.
> 
> Try adding the following line to /etc/conf.d/dhcpcd:
> 
> rc_provide="!net"
> 
> Once that is done, let me know whether dhcpcd starts at boot or not.
> 
> > Second part: after upgrading to 5.2.10-r2, I cam constantly asked by nm-applet
> > for my wpa2 password despite entering it correctly.
> 
> I'm thinking this may go away once we stop dhcpcd from auto starting at boot
> time, but please open another bug report if it doesn't.
> 
> > This was broken in 5.2.8 for which I filed a bug report but I can no longer
> > find it.
> 
> I searched for all the bugs you have reported, in all statuses, and did not
> find it either. So I'm not sure what happened.
> 

Creating /etc/conf.d/dhcpcd and adding "provide..." does not help.

(In reply to comment #4)
> Dosn't looks like funtoo system. Other linux-headers, glibc, profile. Looks
> like almost pure gentoo with some packages from funtoo.
> 

I'm still using gentoo's rsync server for portage despite the problems it's giving me. I had filed a bug report about it but it disappeared too.
Comment 6 Jordan 2011-02-21 01:12:01 UTC
Oops I didn't see that it was "rc_provide..." and not "provide...", it's working fine and I can connect to my wlan now.