Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130531 - bash-3.1_p16 breaks wpa_supplicant in network inferface init scripts
Summary: bash-3.1_p16 breaks wpa_supplicant in network inferface init scripts
Status: RESOLVED DUPLICATE of bug 130104
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 16:09 UTC by Antek Grzymała (antoszka)
Modified: 2006-04-19 16:29 UTC (History)
0 users

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 Antek Grzymała (antoszka) 2006-04-19 16:09:14 UTC
Pretty much nothing to add. After upgrading bash on my stable system my wpa_supplicant-based /etc/init.d/net.wlan0 script stopped working. This has already been noted in http://bugs.gentoo.org/show_bug.cgi?id=129885#c5, however a bug has not been filed, so I'm filing it here.

*QA guys? Were you out to lunch?*

Here's what it *looks* like:

[before upgrade]

kolendra ~ # /etc/init.d/net.wlan0 start
 * Starting wlan0
 *   Stopping wpa_supplicant on wlan0 ... [ ok ]
 *   Starting wpa_supplicant on wlan0 ... [ ok ]
 *     wlan0 connected to "Dzikowa" at 00:14:BF:92:CC:27
 *   Bringing up wlan0
 *     192.168.0.2/24 [ ok ]
 *   Adding routes
 *     default gw 192.168.0.254 ... [ ok ]

[after upgrade]

kolendra ~ # /etc/init.d/net.wlan0 stop
 * Stopping wlan0
 *   Bringing down wlan0
 *     Shutting down wlan0 ... [ ok ]
 *     Stopping wpa_supplicant on wlan0 ... [ ok ]
kolendra ~ # /etc/init.d/net.wlan0 start
 * Starting wlan0
 *   Starting wpa_supplicant on wlan0 ... [ ok ]
 *     timed out                          [ !! ]

Starting wpa_supplicant manually with exactly the same parameters as in the init scripts works perfectly in case anyone were interested, so nothing else gets broken apparently.

Here's my emerge --info:

Gentoo Base System version 1.6.14
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.20GHz
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -mcpu=pentium4 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -mcpu=pentium4 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl/ #http://src.gentoo.pl/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.linux.no/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://ftp.easynet.nl/mirror/gentoo/"
LINGUAS="pl"
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 16bit 7zip X aac aalib acl acpi alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bootspla bootsplash browserplugin bzip2 bzlib cairo calendar caps cdb cdparanoia cdr cjk commercial crypt cscope cups curl curlwrappers dba dbus dri dvd dvdr dynagraph eds encode ethereal evo exif expat faad ffmpeg flac foomaticdb fortran gcj gd gdbm gif gimp gimpprint glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal howl iconv idn imagemagick imap imlib inkjar iproute2 ipv6 irda irmc isdnlog jabber jack java jpeg junit kde kdeenablefinal ladcca ladspa lcms ldap libg++ libgda libwww linuxkeys logrotate mad mbox mhash mikmod ming mmx mng motif mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mysql ncurses net nethack nls nojython nosrc nptl nptlonly objc offensive ogg oggvorbis openal opengl operanom2 pam pcmcia pcre pda pdf pdflib perl php plotutils png pnp ppds pppd python qt quicktime readline real recode rtc ruby samba sasl scanner sdl slang slp snmp sox speex spell sse sse2 ssl svg tabs tcltk tcpd tetex theora threads tidy tiff timidity truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vorbis wifi win32codecs x11vnc xattr xface xgetdefault xine xinerama xml2 xmms xrandr xv xvid zlib video_cards_rage128 linguas_pl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
Comment 1 Antek Grzymała (antoszka) 2006-04-19 16:29:29 UTC
Hm.. Didn't do my research well enough. I'm just seeing it's been fixed. Thanks. (and QA -- where were you!!!)

*** This bug has been marked as a duplicate of 130104 ***