Subject: wicd: Does not take into account hard rfkill when turning on Wifi.

From: Jeremy Ouellet <[email-masked]>
Date: Wed, 17 Jan 2018 14:13:42 -0500

Package: wicd
Version: 1.7.4+tb2-5
Severity: important

Dear Maintainer,

I noticed that when using the airplane mode switch on my laptop (that toggles
both soft and hard rfkill), wicd does not check the hard rfkill status before
toggling the soft rfkill. This causes a problem as the switch simply toggles
both rfkills which makes it so that pressing the airplane mode switch again
disables the hard lock but re-enables the soft lock, and so on.

The workaround is to press airplane mode again, then go into wicd, press the
"Turn On Wifi" button and finnally press the airplane mode switch again.

A solution would be to stop the user from removing the soft rfkill if a hard
rfkill is in place.

Also the label for the "Turn On Wifi" and "Turn Off Wifi" does not change when
rfkill is manually changed, adding to the confusion.

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

Kernel: Linux 4.14.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages wicd depends on:
ii  wicd-curses [wicd-client]  1.7.4+tb2-5
ii  wicd-daemon                1.7.4+tb2-5
ii  wicd-gtk [wicd-client]     1.7.4+tb2-5

wicd recommends no packages.

wicd suggests no packages.

Versions of packages wicd-gtk depends on:
ii  python         2.7.14-4
ii  python-glade2  2.24.0-5.1+b1
ii  python-gtk2    2.24.0-5.1+b1
ii  wicd-daemon    1.7.4+tb2-5

Versions of packages wicd-gtk recommends:
ii  gksu           2.0.2-9+b1
ii  python-notify  0.1.1-4

Versions of packages wicd-curses depends on:
ii  python        2.7.14-4
ii  python-urwid  1.3.1-2+b2
ii  wicd-daemon   1.7.4+tb2-5

Versions of packages wicd-curses recommends:
ii  sudo  1.8.21p2-3

Versions of packages wicd-daemon depends on:
ii  adduser          3.116
ii  dbus             1.12.2-1
ii  debconf          1.5.65
ii  iputils-ping     3:20161105-1
ii  isc-dhcp-client  4.3.5-3+b2
ii  lsb-base         9.20170808
ii  psmisc           23.1-1
ii  python           2.7.14-4
ii  python-dbus      1.2.4-1+b4
ii  python-gobject   3.26.1-2
ii  python-wicd      1.7.4+tb2-5
ii  wireless-tools   30~pre9-12+b1
ii  wpasupplicant    2:2.6-15

Versions of packages wicd-daemon recommends:
ii  rfkill                     0.5-3
ii  wicd-curses [wicd-client]  1.7.4+tb2-5
ii  wicd-gtk [wicd-client]     1.7.4+tb2-5

Versions of packages wicd-daemon suggests:
pn  pm-utils  <none>

Versions of packages python-wicd depends on:
ii  net-tools  1.60+git20161116.90da8a0-1
ii  python     2.7.14-4

Versions of packages python-wicd suggests:
ii  ethtool   1:4.11-1
ii  iproute2  4.14.1-1

-- debconf information:
* wicd/users: