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


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to