Summary: | wpa_supplicant has errors in its rcscript | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | BTreeHugger <wisniewskit> |
Component: | New packages | Assignee: | Roy Marples (RETIRED) <uberlord> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | mobile+disabled |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
BTreeHugger
2006-07-08 12:53:12 UTC
Has nothing to do w/ portage tools. wpa_supplicant-0.4.x supports the -W flag. It means don't associate with anything until wpa_cli connects to us as a daemon. Also, reporter neglected to attach emerge --info so I have no idea which baselayout version you are using. I'm guessing that you're using 1.11 - try 1.12.1 My apologies for the messy report. I am testing with baselayout-1.12.1 and wpa_supplicant-0.5.4, whose manpage does not mention -W at all. My emerge --info is: Gentoo Base System version 1.12.1 Portage 2.1.1_pre2-r6 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-reiser4-r10 i686) ================================================================= System uname: 2.6.16-reiser4-r10 i686 Mobile AMD Athlon(tm) 64 Processor 3000+ app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=k8 -O2 -fomit-frame-pointer -pipe -ffast-math -fweb -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" CXXFLAGS="-march=k8 -O2 -fomit-frame-pointer -pipe -ffast-math -fweb -ftracer -fvisibility-inlines-hidden" DISTDIR="/mnt/bartond/shared/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.1.105/portage-sync/" USE="x86 3dnow 3dnowex 3dnowext X alsa apm avi berkdb bitmap-fonts cairo cjk cli crypt cups dlloader dri eds emboss encode fam foomaticdb fortran gdbm gif glitz gpm gstreamer gtk2 imlib ipv6 isdnlog jikes jpeg kdeenablefinal libg++ libgda libwww mad mikmod mmx mmx2 mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcmcia pcre pdflib perl pic png pppd python quicktime readline reflection samba session spell spl sse ssl tcpd truetype truetype-fonts type1-fonts udev unicode userlocales vorbis xinerama xml xorg xprint xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev input_devices_synaptics kernel_linux linguas_en userland_GNU video_cards_radeon video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL wpa_supplicant -h will show the -W option. Basically what happens is this. net.wlan0 will launch wpa_supplicant, wpa_cli, mark net.wlan0 as inactive and then exit. When wpa_supplicant asscociates it then calls net.wlan0 again to complete the connection. This is what you're seeing and this is correct behaviour. We cannot clean /var/run of wpa_supplicant entries because there maybe more than one instance of wpa_supplicant running. wpa_supplicant-0.5.x should clean itself properly. |