[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-03-03 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.7.54ubuntu1.3 --- ifupdown (0.7.54ubuntu1.3) wily; urgency=medium * Fix false-positive recursion detection. (LP: #1545302) -- Dariusz Gadomski Wed, 17 Feb 2016 17:48:41 +0100 ** Changed in: ifupdown (Ubuntu Wily) Status: Fix

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-03-03 Thread Launchpad Bug Tracker
This bug was fixed in the package ifupdown - 0.7.47.2ubuntu4.4 --- ifupdown (0.7.47.2ubuntu4.4) trusty; urgency=medium * Fix false-positive recursion detection. (LP: #1545302) -- Dariusz Gadomski Wed, 17 Feb 2016 17:45:58 +0100 ** Changed in: ifupdown (Ubuntu Trusty) Sta

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-28 Thread Martin Pitt
** Tags removed: verification-done-trusty verification-done-wily verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-28 Thread juffinhalli
** Tags added: verification-done-trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage notifications about this bug go to: https

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-28 Thread juffinhalli
I did test into trusty-proposed - work fine -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage notifications about this bug go to: h

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-28 Thread Martin Pitt
** Tags added: verification-done-wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage notifications about this bug go to: https:/

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-28 Thread Paul Donohue
@robert-katzschmann: Make sure wpa_cli is running: # ps aux | grep wpa /sbin/wpa_supplicant -s -B -P /run/wpa_supplicant.wlan0.pid -i wlan0 -W -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf /sbin/wpa_cli -B -P /run/wpa_action.wlan0.pid -i wlan0 -p /var/run/wpa_supplicant -a /sbin/wpa_action

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-28 Thread Paul Donohue
ifupdown 0.7.54ubuntu1.3 fixes this bug for me in Wily. @dbilunov: Would you mind testing the trusty-proposed package? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken b

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-25 Thread Brian Murray
reassigning to the right package ** Package changed: wpa (Ubuntu) => ifupdown (Ubuntu) ** Changed in: ifupdown (Ubuntu Wily) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is su

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-25 Thread Robert Katzschmann
@Dariusz: my wpa-roam settings point to the right place. my wifi does establish and wpa_state=COMPLETED $sudo wpa_cli status Selected interface 'wlan0' bssid=02:18:4a:b0:f5:11 ssid=StataCenter id=0 id_str=drl mode=station pairwise_cipher=NONE group_cipher=NONE key_mgmt=NONE wpa_state=COMPLETED add

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Mathew Hodson
** Changed in: wpa (Ubuntu Trusty) Importance: Undecided => High ** Changed in: wpa (Ubuntu Wily) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wp

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Martin Pitt
Thanks Dariusz! I sponsored the trusty and wily fixes, sitting in the SRU review queues now. ** Also affects: wpa (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: wpa (Ubuntu Wily) Importance: Undecided Status: New ** Changed in: wpa (Ubuntu) Status:

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Dariusz Gadomski
That's right Andrew, it's backported from Debian so no forwarding needed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage notific

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Andrew Shadura
Disregard the last comment, from reading the comments I see the bug isn't relevant to Debian. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #133787

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Andrew Shadura
Guys, could you please forward the patch to Guus using Debian BTS? Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage notif

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-24 Thread Dmitry Bilunov
@Dariusz: Your patch fixes the issue on Trusty. Thanks! Is there any estimate when a patched package would land into trusty-proposed? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-19 Thread Dariusz Gadomski
@Paul: glad it works for you. Thank you for reporting the issue and the feedback. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-19 Thread Paul Donohue
@Dariusz: Works for me on Wily. Nice find, this is a much better fix than my proposed patch. Thanks! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdow

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-19 Thread Dariusz Gadomski
@Mike, @DavidS: thank you for feedback. I'm glad it's working for you. The official fix will be on it's way. @Robert: please confirm that your wpa-roam settings below "iface wlan0 inet manual" is in fact pointing to the right file as DavidS noticed. If it is please check: sudo wpa_cli status If

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread DavidS
Hi folks. Dariusz fix worked for me. I reverted my config to failure mode -- while i was connected to the wifi, I did not get an IP address. Changed the wifi to use wpa-conf (so I had a network to do the upgrade). Upgraded to the ppa Changed the wifi back to using wpa-roam ifdown / ifup -- all g

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread Mike
/etc/network/interfaces: -- auto lo allow-hotplug wlan1 iface lo inet loopback iface wlan1 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp /etc/wpa-supplicant/wpa-supplicant.conf --

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread Robert Katzschmann
Hello Mike, Dariusz ppa fix does not work for me on trusty, @Mike can you post your configuration for?: /etc/network/interfaces /etc/wpa_supplicant/wpa.conf? I am using this configuration: /etc/wpa_supplicant/wpa.conf: ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 net

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread Mike
Dariusz - your PPA fixes the issue for me on Trusty. Thanks. Cheers... Mike -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage noti

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread Dariusz Gadomski
** Tags added: sts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To manage notifications about this bug go to: https://bugs.launchpad.net

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread Dariusz Gadomski
Adding SRU proposal for Trusty. ** Description changed: + [Impact] + + * In some configurations recurrent ifup/down calls are broken due to a + false-positive recursion detection. + + * In certain situations it leaves interfaces unconfigured (in this + case: WLAN interface connected to WiFi n

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-18 Thread Dariusz Gadomski
Adding SRU proposal for Wily. ** Attachment added: "wily_ifupdown_0.7.54ubuntu1.3.dsc" https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1545302/+attachment/4574280/+files/wily_ifupdown_0.7.54ubuntu1.3.dsc -- You received this bug notification because you are a member of Ubuntu Bugs, which

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-17 Thread Dariusz Gadomski
Hello Paul, I have identified the cause of the problem and prepared a fix. My tests show that it solves the issue for Trusty and Wily (while Xenial does not require a fix since it's ifupdown has been synced with Debian to a version containing a fix already). Could you please revert your wpasuppl

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-17 Thread Dariusz Gadomski
Paul, I have finally managed to reproduce this on Trusty. The ifstate looks to be a false trail. However, please note that with 0.8.10ubuntu1 on Xenial this problem does not occur. I am investigating which change needs to be backported. I will keep you updated. -- You received this bug notifica

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-16 Thread Mathew Hodson
** Changed in: wpa (Ubuntu) Importance: Undecided => High ** Tags added: regression-update -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #13378

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-16 Thread Paul Donohue
See bug #1545363 - my patch for that bug happens to remove the use of the ifstate file. However, fixing that does not solve the "ifup: recursion detected ..." issue. The environment variable still needs to be removed to fix the recursion issue. After thinking about it some more, I think it may m

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-16 Thread Dariusz Gadomski
Paul, I think that the real cause here is that (by looking into debian/ifupdown/functions.sh) wpasupplicant depends on the previous single-file ifstate. Currently, for the sake of the locking mechanism, it has been split into an individual ifstate.$IFACE per interface, while wpasupplicant still

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-15 Thread Paul Donohue
Oops ... missed "inet dhcp" on the "iface dhcp_dns" line above. That line should be: iface dhcp_dns inet dhcp -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix fo

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-15 Thread Paul Donohue
My configuration: /etc/network/interfaces auto wlan0 iface wlan0 inet manual wpa-driver wext wpa-roam /etc/wpa_supplicant/wpa.conf wpa-roam-default-iface dhcp iface dhcp inet dhcp dns-nameservers 8.8.8.8 8.8.4.4 iface dhcp_dns /etc/wpa_supplicant/wpa.conf network={ ssid="x"

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-15 Thread Paul Donohue
Updating my patch ... The environment variable also needs to be unset before calling ifdown. ** Attachment added: "patch" https://bugs.launchpad.net/ubuntu/+source/wpa/+bug/1545302/+attachment/4572496/+files/patch -- You received this bug notification because you are a member of Ubuntu Bugs,

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-15 Thread Dariusz Gadomski
Hello Paul, The locking mechanism was implemented to avoid race conditions in ifupdown (such as the one reported as bug #1337873). Unsetting the variable may lead to unexpected consequences. I belive a proper solution would be to modify wpa-roam implementation to play along with ifupdown. Could

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-15 Thread Martin Pitt
** Changed in: wpa (Ubuntu) Assignee: (unassigned) => Dariusz Gadomski (dgadomski) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-roam broken by fix for ifupdown #1337873 To

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-13 Thread Ubuntu Foundations Team Bug Bot
The attachment "patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, for any

[Bug 1545302] Re: wpa-roam broken by fix for ifupdown #1337873

2016-02-13 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: wpa (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545302 Title: wpa-ro