Summary: | net-misc/wicd-1.6.2.2 fails to start at login and/or via calling from terminal | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | lance <lance> |
Component: | Current packages | Assignee: | Jeremy Olexa (darkside) (RETIRED) <darkside> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
lance
2009-12-08 15:55:41 UTC
Just an update, the brackets are replaced each time the system restarts so the config file must be edited at every reboot. I have the same bug:from time to time wicd will fail on startup after boot then come up prompt for root password and do nothing. the errore is caused by the additional brackets added to /etc/wicd/wired-settings.conf removing these bracket solve the problems # emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4jms-3.7 x86_64) ================================================================= System uname: Linux-2.6.30-gentoo-r4jms-3.7-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Thu, 17 Dec 2009 22:15:01 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/portage/distfiles" FEATURES="autoaddcvs ccache collision-protect dislocks distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="en_GB en es fr en" PKGDIR="/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="/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X a52 aac aalib acl acpi aim alsa amd64 ao apm bash-completion berkdb branding bzip2 cairo cdaudio cdda cddb cdparanoia cdr cjk cli consolekit cracklib crypt css cups cxx dbus dga directfb dri dts dv dvb dvd dvdnav dvdr eds emboss encode evdev evo exif fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gdbm gif gimp glitz gphoto2 gpm gstreamer gtk gzip hal hdri iconv icq icu ieee1394 imagemagick imap imlib ipod ipv6 jabber jpeg jpeg2k kde kontact lame laptop lcms ldap libcaca libnotify libwww lm_sensor lzma lzo mad maildir matroska memlimit mhash mikmod mime mmap mmx mng modules motif mozilla mp3 mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz mysql ncurse ncurses networkmanager nls nptl nptlonly nsplugin nvidia ofx ogg openal openexr opengl openmp oss pam pcmcia pcre pdf perl php plasma png ppds pppd projectm python qt3support qt4 quicktime raw readline reflection scanner sdl session smp speex spell spl sse sse2 ssl ssse3 startup-notification svg sysfs syslog taglib tcpd theora thumbnail thunar tidy tiff truetype unicode usb v4l v4l2 vcd vdpau video vim-syntax vorbis webkit wifi x x264 xattr xcb xcomposite xine xml xorg xosd xpm xscreesaver xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en es fr en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY I forgot: * net-misc/wicd Available versions: 1.6.2.2 ~1.7.0_alpha2 {+gtk ioctl libnotify ncurses +pm-utils} Installed versions: Version: 1.6.2.2 Date: 12:20:17 01/12/09 USE: libnotify ncurses pm-utils -ioctl Best versions/slot: 1.6.2.2 It looks liks it´s an upstream bug; found one here (wired-settings.conf corruption) https://bugs.launchpad.net/wicd/+bug/493011 one solution proposed by mycae is : "For anyone interested, I have hacked my way around this by adding sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf to the init file (which for debian ubuntu is /etc/init.d/wicd) just after do_start() { " I believe also(wicd-client cannot connect to dbus interface) https://bugs.launchpad.net/wicd/+bug/433261 is the same and maybe(Could not connect to wicd's d-bus interface ) https://bugs.launchpad.net/wicd/+bug/473695 please can anyone report if solution proposed here works(I did not test it) and how this should be handled. thx Background: - The upstream developers have no idea why it happens. - It has never happened for me. So, if you can reproduce this issue reliably. Please test adding that sed statement from comment #3 to the init file. Right under start(){ should be good. (It also would be good to add some print information so you know it is working) I have requested upstream to add the hack to the init script in 1.7 and if I get some feedback here, I'll backport it to 1.6.2.2 Thanks. fixed in beta4 and future versions. thx Jeremy, I was having this issue also with 1.6.2.2 on my laptop. It was driving me crazy. I tried using 1.7.0 beta4 but its not yet reliable enough for use on my stable box. I searched around the net for a solution and found the same one as jms below by adding the "sed -i 's/^\[\]$//' /etc/wicd/wired-settings.conf" line to /etc/init.d/wicd as outlined and worked like a charm. May I suggest you go ahead and backport this and the "after hald" line from bug #299206 to that same file as this seems to resolve the issue and make this app considerably more reliable. Thanks in advance. |