Your message dated Sun, 28 Dec 2008 21:02:06 +0000
with message-id <[email protected]>
and subject line Bug#508526: fixed in wpasupplicant 0.6.6-2
has caused the Debian Bug report #508526,
regarding wpasupplicant: Fix for current pm-utils
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
508526: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=508526
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: wpasupplicant
Version: 0.6.6-1
Tags: patch
User: [email protected]
Usertags: origin-ubuntu ubuntu-patch jaunty
Hello,
In https://launchpad.net/bugs/307312 it was reported that current
wpasupplicant in experimental breaks suspend with current versions of
pm-utils (1.2.2.1). In particular, /etc/pm/sleep.d/action_wpa makes
the wrong assumption that pm-utils hooks are called with exactly one
argument, which is wrong. From HOWTO.hooks:
The actual sleep method being used will be passed as the second
parameter -- if your hook needs to handle suspend-hybrid (or any
other platform-specific sleep method), it should examine the second
parameter.
Attached debdiff fixes it again.
Thanks for considering,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
diff -u wpasupplicant-0.6.6/debian/changelog
wpasupplicant-0.6.6/debian/changelog
--- wpasupplicant-0.6.6/debian/changelog
+++ wpasupplicant-0.6.6/debian/changelog
@@ -1,3 +1,13 @@
+wpasupplicant (0.6.6-1ubuntu1) jaunty; urgency=low
+
+ * debian/ifupdown/action_wpa.sh: pm-utils now supplies a second
+ argument to the hooks, thus telling ifplugd and pm-utils apart by
+ the number of arguments does not work any more. Fix up the script
+ to just evaluate the arguments themselves, to work with current
+ and older pm-utils. This unbreaks suspend. (LP: #307312)
+
+ -- Martin Pitt <[email protected]> Thu, 11 Dec 2008 16:57:31 -0800
+
wpasupplicant (0.6.6-1) experimental; urgency=low
* New upstream release.
diff -u wpasupplicant-0.6.6/debian/ifupdown/action_wpa.sh
wpasupplicant-0.6.6/debian/ifupdown/action_wpa.sh
--- wpasupplicant-0.6.6/debian/ifupdown/action_wpa.sh
+++ wpasupplicant-0.6.6/debian/ifupdown/action_wpa.sh
@@ -17,7 +17,21 @@
COMMAND=
IFPLUGD_IFACE=
-if [ "$#" -eq 2 ]; then
+# pm-action(8) - <action> <suspend method>
+#
+# On suspend|hibernate, disconnect any wpa-roam managed interfaces,
+# reconnect it on resume.
+
+case "${1}" in
+ suspend|hibernate)
+ COMMAND=disconnect
+ ;;
+ resume|thaw)
+ COMMAND=reconnect
+ ;;
+esac
+
+if [ -z "$COMMAND" ]; then
# ifplugd(8) - <iface> <action>
#
# If an ifplugd managed interface is brought up, disconnect any
@@ -34,30 +48,14 @@
COMMAND=reconnect
;;
*)
- echo "${SELF}: uknown ifplugd arguments: $...@}" >&2
+ echo "${SELF}: unknown $0 arguments: $...@}" >&2
exit 1
;;
- esac
-elif [ "$#" -eq 1 ]; then
- # pm-action(8) - <action>
- #
- # On suspend|hibernate, disconnect any wpa-roam managed interfaces,
- # reconnect it on resume.
+ esac
+fi
- case "${1}" in
- suspend|hibernate)
- COMMAND=disconnect
- ;;
- resume|thaw)
- COMMAND=reconnect
- ;;
- *)
- echo "${SELF}: uknown pm-action arguments: $...@}" >&2
- exit 1
- ;;
- esac
-else
- echo "${SELF}: unknow arguments: $...@}" >&2
+if [ -z "$COMMAND" ]; then
+ echo "${SELF}: unknown arguments: $...@}" >&2
exit 1
fi
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
Source: wpasupplicant
Source-Version: 0.6.6-2
We believe that the bug you reported is fixed in the latest version of
wpasupplicant, which is due to be installed in the Debian FTP archive:
wpagui_0.6.6-2_i386.deb
to pool/main/w/wpasupplicant/wpagui_0.6.6-2_i386.deb
wpasupplicant_0.6.6-2.diff.gz
to pool/main/w/wpasupplicant/wpasupplicant_0.6.6-2.diff.gz
wpasupplicant_0.6.6-2.dsc
to pool/main/w/wpasupplicant/wpasupplicant_0.6.6-2.dsc
wpasupplicant_0.6.6-2_i386.deb
to pool/main/w/wpasupplicant/wpasupplicant_0.6.6-2_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Kel Modderman <[email protected]> (supplier of updated wpasupplicant package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sun, 28 Dec 2008 23:53:53 +1000
Source: wpasupplicant
Binary: wpasupplicant wpagui
Architecture: source i386
Version: 0.6.6-2
Distribution: experimental
Urgency: low
Maintainer: Debian/Ubuntu wpasupplicant Maintainers
<[email protected]>
Changed-By: Kel Modderman <[email protected]>
Description:
wpagui - graphical user interface for wpa_supplicant
wpasupplicant - client support for WPA and WPA2 (IEEE 802.11i)
Closes: 489948 508526 509484
Changes:
wpasupplicant (0.6.6-2) experimental; urgency=low
.
[ Martin Pitt ]
* debian/ifupdown/action_wpa.sh: pm-utils now supplies a second
argument to the hooks, thus telling ifplugd and pm-utils apart by
the number of arguments does not work any more. Fix up the script
to just evaluate the arguments themselves, to work with current
and older pm-utils. This unbreaks suspend. (LP: #307312)
(Closes: #508526, #509484)
.
[ Kel Modderman ]
* It has been reported by Alexander E. Patrakov <[email protected]> that
WEP keys are set in quick time in newer wpa_supplicant releases and no
longer cause problems attempting to connect to specific access point
during boot sequence. (Closes: #489948)
* Do not start wpa_gui in system tray per default when executed from menu
system (discussion with upstream resulted in desire to have app opened in
foreground, no need to diverge from that).
Checksums-Sha1:
354e131255ae11ad20e552525c49ccea9e47c23b 1693 wpasupplicant_0.6.6-2.dsc
8986a068788b9cc7bb3d1262b004d401c7bb8899 59621 wpasupplicant_0.6.6-2.diff.gz
0a62ffd927d3bf21d143f90bfb8c65a3da8ebe47 311102 wpasupplicant_0.6.6-2_i386.deb
823efc6547f97bbc2c74ecc7373e7d1124c13ae4 130202 wpagui_0.6.6-2_i386.deb
Checksums-Sha256:
62d992201c3f5ce847bb1f14f8e4c724490e9b6fca7d2919d6e1c41c47070ceb 1693
wpasupplicant_0.6.6-2.dsc
516cab337c558bf93343c4ea0ddaa798f958f5c474b18a15848a867f807711cc 59621
wpasupplicant_0.6.6-2.diff.gz
c5641e4d5f75bbfec9246e77c1d478878a2dd8ef32109b765276936c01d49e8e 311102
wpasupplicant_0.6.6-2_i386.deb
d285271af3d169da5cc7e72750af9f1936c789624fcd050623c0366975ac463e 130202
wpagui_0.6.6-2_i386.deb
Files:
0e98982bea715f84c45c4220ec3a81d8 1693 net optional wpasupplicant_0.6.6-2.dsc
af7e3d71b7c544962a46cbe6916092c5 59621 net optional
wpasupplicant_0.6.6-2.diff.gz
a55db43a21f4c4c72218b59851b0042f 311102 net optional
wpasupplicant_0.6.6-2_i386.deb
23ad0dbaf164179159cb0faec73ca9ac 130202 net optional wpagui_0.6.6-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Debian Powered!
iJwEAQECAAYFAklX5xoACgkQ78RAoABp8o/2ZwP+NQYLsyNHsCq7rpbUhnXvljgu
moBLWE2oySYJkVlVHmFi3FYZXqQanZG1CTEeVds6nXpHyw5OuUGXp7VzCK10Sgzu
rRjUwLERGzqemq/XlZF9/tJJ4MrTNQSaZc5QdXEXShUtlIYSMewwoJYoPfC9rqhh
Zw8/xOerjWif4+uMEnY=
=OdWB
-----END PGP SIGNATURE-----
--- End Message ---