Debian Bug report logs - #692417
wicd-daemon: Continuously, ridiculously runs ifconfig/iwconfig

version graph

Package: wicd-daemon; Maintainer for wicd-daemon is David Paleino <dapal@debian.org>; Source for wicd-daemon is src:wicd.

Reported by: Cyril Brulebois <kibi@debian.org>

Date: Mon, 5 Nov 2012 23:03:01 UTC

Severity: important

Found in version wicd/1.7.2.4-2

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, kibi@debian.org, David Paleino <dapal@debian.org>:
Bug#692417; Package wicd-daemon. (Mon, 05 Nov 2012 23:03:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
New Bug report received and forwarded. Copy sent to kibi@debian.org, David Paleino <dapal@debian.org>. (Mon, 05 Nov 2012 23:03:04 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: wicd-daemon: Continuously, ridiculously runs ifconfig/iwconfig
Date: Tue, 06 Nov 2012 00:00:15 +0100
Package: wicd-daemon
Version: 1.7.2.4-2
Severity: important

Hi,

while playing with auditd, I noticed wicd continuously spawns ifconfig
and iwconfig to see what happens on eth0/wlan0. This is really sad…

A quick strace + grep during 1 minute shows no fewer than 78 execve on
those:
  26 iwconfig
  52 ifconfig

(Default configuration as far as external helpers are concerned, just
picked an ESSID and entered a WPA passphrase.)

Can be reproduced at home using:
  timeout 60 strace -o /tmp/wicd.strace -p $foo -p $bar -f -e fork,execve

Then grepping (= 0 avoids the ENOENT due to $PATH expansion; otherwise
you would count each call 3 times: /usr/sbin, /usr/bin, /sbin):
  for i in ifconfig iwconfig; do grep -c "execve.*$i.* = 0" /tmp/wicd.strace; done

where $foo is wicd-daemon's PID, and $bar is the monitor's PID (spawned
by wicd-daemon).

Please switch from polling to getting event notifications; netlink
sockets to the rescue!


I saw similar bug reports but I thought a comprehensive report on the
proper package wouldn't hurt:
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=620955
  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=645564

Mraw,
KiBi.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wicd-daemon depends on:
ii  adduser                         3.113+nmu3
ii  dbus                            1.6.8-1
ii  debconf                         1.5.46
ii  iproute                         20120521-3
ii  iputils-ping                    3:20101006-1+b1
ii  isc-dhcp-client [dhcp3-client]  4.2.2.dfsg.1-5+deb70u2
ii  lsb-base                        4.1+Debian7
ii  net-tools                       1.60-24.2
ii  psmisc                          22.19-1
ii  python                          2.7.3~rc2-1
ii  python-dbus                     1.1.1-1
ii  python-gobject                  3.2.2-1
ii  python-wicd                     1.7.2.4-2
ii  wireless-tools                  30~pre9-8
ii  wpasupplicant                   1.0-2

Versions of packages wicd-daemon recommends:
ii  wicd-gtk [wicd-client]  1.7.2.4-2

Versions of packages wicd-daemon suggests:
ii  pm-utils  1.4.1-9

Versions of packages wicd-gtk depends on:
ii  python         2.7.3~rc2-1
ii  python-glade2  2.24.0-3
ii  python-gtk2    2.24.0-3

Versions of packages wicd-gtk recommends:
ii  gksu           2.0.2-6
ii  python-notify  0.1.1-3

Versions of packages wicd-curses depends on:
ii  python        2.7.3~rc2-1
ii  python-urwid  1.0.1-2

Versions of packages wicd-curses recommends:
ii  sudo  1.8.5p2-1

Versions of packages python-wicd depends on:
ii  python     2.7.3~rc2-1
ii  python2.6  2.6.8-0.2
ii  python2.7  2.7.3~rc2-2.1

-- debconf information excluded



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 18:29:34 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.