Package: wicd-daemon
Version: 1.7.0+ds1-5
Severity: normal
Tags: patch

Even when all users are on netdev group, wicd-daemon
asks to add user to netdev group. Patch attached.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wicd-daemon depends on:
ii  adduser                     3.110        add and remove users and groups
ii  dbus                        1.2.24-1     simple interprocess messaging syst
ii  debconf [debconf-2.0]       1.5.24       Debian configuration management sy
ii  dhcp3-client                3.1.3-1      DHCP client
ii  ethtool                     6+20090323-2 display or change Ethernet device 
ii  iproute                     20080725-2   networking and traffic control too
ii  iputils-ping                3:20071127-1 Tools to test the reachability of 
ii  lsb-base                    3.2-20       Linux Standard Base 3.2 init scrip
ii  net-tools                   1.60-22      The NET-3 networking toolkit
ii  psmisc                      22.7-1       utilities that use the proc file s
ii  python                      2.5.4-2      An interactive high-level object-o
ii  python-dbus                 0.83.0-1     simple interprocess messaging syst
ii  python-gobject              2.20.0-1     Python bindings for the GObject li
ii  python-iniparse             0.3.2-1      Module to access and modify config
ii  python-wicd                 1.7.0+ds1-5  wired and wireless network manager
ii  wireless-tools              29-1.1       Tools for manipulating Linux Wirel
ii  wpasupplicant               0.6.4-3      Client support for WPA and WPA2 (I

Versions of packages wicd-daemon recommends:
ii  wicd-gtk [wicd-client]       1.7.0+ds1-5 wired and wireless network manager

Versions of packages wicd-daemon suggests:
ii  pm-utils                      1.1.2.4-1  utilities and scripts for power ma

Versions of packages wicd depends on:
ii  wicd-gtk [wicd-client]       1.7.0+ds1-5 wired and wireless network manager

Versions of packages wicd-gtk depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-glade2                 2.14.1-3   GTK+ bindings: Glade support
ii  python-gtk2                   2.14.1-3   Python bindings for the GTK+ widge

Versions of packages python-wicd depends on:
ii  python                        2.5.4-2    An interactive high-level object-o
ii  python-support                1.0.3      automated rebuilding support for P

-- debconf information:
* wicd/users:
* wicd/users:
--- wicd-1.7.0+ds1/debian/wicd-daemon.config	2010-03-03 18:33:29.000000000 -0300
+++ b/debian/wicd-daemon.config	2010-07-04 13:54:18.000000000 -0300
@@ -18,7 +18,7 @@
 
 # Don't show users already in netdev
 for u in $netdev; do
-	users=$(echo $users | sed "s...@$u, @@g;s@, $u\$@@g");
+	users=$(echo $users | sed "s...@$u, @@g;s@, $u\$@@g;s...@^$u\$@@g");
 done
 
 db_subst wicd/users users "$users"

Attachment: pgpazenri5RgX.pgp
Description: PGP signature

Reply via email to