<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch bg/nm-1-0</title>
<subtitle>gitlab.freedesktop.org: NetworkManager/NetworkManager.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/'/>
<entry>
<title>test</title>
<updated>2016-03-02T13:03:07+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-03-02T13:03:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=9f432fc7e56cd83a50a797fcf46268e883141701'/>
<id>9f432fc7e56cd83a50a797fcf46268e883141701</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build: fix travis file syntax</title>
<updated>2016-03-02T12:42:11+00:00</updated>
<author>
<name>Beniamino Galvani</name>
<email>bgalvani@redhat.com</email>
</author>
<published>2016-03-02T12:42:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f2e3175db26ed32889b39692a5b6843b29026d95'/>
<id>f2e3175db26ed32889b39692a5b6843b29026d95</id>
<content type='text'>
Fixes: 46819838e72b8e4a09f7d1b88d0ea93efac57764
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: 46819838e72b8e4a09f7d1b88d0ea93efac57764
</pre>
</div>
</content>
</entry>
<entry>
<title>libnm-glib/libnm/vpn: fix handling of ConnectInteractive() failure (rh #1298732)</title>
<updated>2016-03-02T10:28:27+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2016-02-26T22:16:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ba7359441b565c5ac6b0524b6aa04b155f0a9123'/>
<id>ba7359441b565c5ac6b0524b6aa04b155f0a9123</id>
<content type='text'>
If the plugin supports interactive mode, but the VPN binary (like vpnc
or openvpn) doesn't support it, then the plugin should return
NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED from its connect_interactive()
hook.  This lets NetworkManager know to fall back to plain Connect().

Since this notification is done through an error return, the VPN service
plugin code sees the failure and moves the plugin state back to
STOPPED.  NetworkManager sees that state change, and terminates the
connection attempt while waiting for a reply to the Connect() method.

(VPN service plugins that don't support interactive mode at all don't
have this problem because that error is returned before the plugin's
state is moved to STARTING.)

To fix this, do two things:

1) if the connect_interactive() hook fails and returns the error
NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED, postpone the STOPPED
state change for a few seconds to allow NM time to fall back to
plain Connect().  We still want to move the plugin state back to
STOPPED eventually, because otherwise it could stay in STARTING
forever.

2) change state to STARTING only if the connect/connect_interactive
plugin hooks were successful.  Otherwise the plugin would still be
in STARTING state, and it's not valid to call Connect()/ConnectInteractive()
during the STARTING state.

https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00091.html
https://bugzilla.redhat.com/show_bug.cgi?id=1298732
(cherry picked from commit abc700c5c71f474730f703c648b0b8dab455d7ba)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the plugin supports interactive mode, but the VPN binary (like vpnc
or openvpn) doesn't support it, then the plugin should return
NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED from its connect_interactive()
hook.  This lets NetworkManager know to fall back to plain Connect().

Since this notification is done through an error return, the VPN service
plugin code sees the failure and moves the plugin state back to
STOPPED.  NetworkManager sees that state change, and terminates the
connection attempt while waiting for a reply to the Connect() method.

(VPN service plugins that don't support interactive mode at all don't
have this problem because that error is returned before the plugin's
state is moved to STARTING.)

To fix this, do two things:

1) if the connect_interactive() hook fails and returns the error
NM_VPN_PLUGIN_ERROR_INTERACTIVE_NOT_SUPPORTED, postpone the STOPPED
state change for a few seconds to allow NM time to fall back to
plain Connect().  We still want to move the plugin state back to
STOPPED eventually, because otherwise it could stay in STARTING
forever.

2) change state to STARTING only if the connect/connect_interactive
plugin hooks were successful.  Otherwise the plugin would still be
in STARTING state, and it's not valid to call Connect()/ConnectInteractive()
during the STARTING state.

https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00091.html
https://bugzilla.redhat.com/show_bug.cgi?id=1298732
(cherry picked from commit abc700c5c71f474730f703c648b0b8dab455d7ba)
</pre>
</div>
</content>
</entry>
<entry>
<title>platform/tests: workaround test failure for kernel bug</title>
<updated>2016-02-25T14:18:06+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-02-16T11:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=cd6ee5786a4230b0f51952f5f350676b21961271'/>
<id>cd6ee5786a4230b0f51952f5f350676b21961271</id>
<content type='text'>
Unenslaving from a bridge can cause a spurious RTM_DELLINK signal.
NMPlatform does raise those signals, but fixes the state of the
cache afterwards. Workaround the test failure.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1285719
(cherry picked from commit dec682f6d13ceabb94521dcc4cf513f6348abfba)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unenslaving from a bridge can cause a spurious RTM_DELLINK signal.
NMPlatform does raise those signals, but fixes the state of the
cache afterwards. Workaround the test failure.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1285719
(cherry picked from commit dec682f6d13ceabb94521dcc4cf513f6348abfba)
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: update .travis.yml not to run tests when build fails</title>
<updated>2016-02-25T14:18:06+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-02-16T11:35:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=46819838e72b8e4a09f7d1b88d0ea93efac57764'/>
<id>46819838e72b8e4a09f7d1b88d0ea93efac57764</id>
<content type='text'>
When building fails, we should not run the tests. They clutter
the output.

(cherry picked from commit ad45d232fee8157baadb799f3867ddec95e2ef91)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When building fails, we should not run the tests. They clutter
the output.

(cherry picked from commit ad45d232fee8157baadb799f3867ddec95e2ef91)
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: fix setting NMTST_DEBUG for travis-check.sh script</title>
<updated>2016-02-25T14:18:06+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-02-12T15:54:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=625033a285fc50facfb7e86bbe0b5995d9e34a95'/>
<id>625033a285fc50facfb7e86bbe0b5995d9e34a95</id>
<content type='text'>
(cherry picked from commit 7ec5acdc66b396cd2623a4a99be08e0267d93489)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 7ec5acdc66b396cd2623a4a99be08e0267d93489)
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: fix bug in .travis.yml</title>
<updated>2016-02-25T14:18:06+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-01-23T15:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ccee81f0d52f8caf8d561f7dfbffc941309f6a50'/>
<id>ccee81f0d52f8caf8d561f7dfbffc941309f6a50</id>
<content type='text'>
Fixes: 1408b8c0a21105f3ea6d2e58d0fc03835f255d34
(cherry picked from commit c94a9372fafd138a05fe5790c7bcd7980868460e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes: 1408b8c0a21105f3ea6d2e58d0fc03835f255d34
(cherry picked from commit c94a9372fafd138a05fe5790c7bcd7980868460e)
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: decouple the build from the test run</title>
<updated>2016-02-25T14:17:55+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2016-01-22T15:03:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=873e6564a08431ca51c7719f20a9e4aba00c771a'/>
<id>873e6564a08431ca51c7719f20a9e4aba00c771a</id>
<content type='text'>
It looks better in the .yml file as well as in the travis UI.

(cherry picked from commit 1408b8c0a21105f3ea6d2e58d0fc03835f255d34)
[bgalvani: dropped the coverity part]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It looks better in the .yml file as well as in the travis UI.

(cherry picked from commit 1408b8c0a21105f3ea6d2e58d0fc03835f255d34)
[bgalvani: dropped the coverity part]
</pre>
</div>
</content>
</entry>
<entry>
<title>travis: move build script to a separate script and improve debugging for failed tests</title>
<updated>2016-02-25T14:09:51+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2016-01-22T09:47:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=0907ad6cd82ea402e84ce50457357d6775691988'/>
<id>0907ad6cd82ea402e84ce50457357d6775691988</id>
<content type='text'>
(cherry picked from commit 34050e9c0b6bd079c9982f72537cd3be372aa6e7)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 34050e9c0b6bd079c9982f72537cd3be372aa6e7)
</pre>
</div>
</content>
</entry>
<entry>
<title>wifi: ignore monitor interfaces</title>
<updated>2016-02-24T15:25:35+00:00</updated>
<author>
<name>Dan Williams</name>
<email>dcbw@redhat.com</email>
</author>
<published>2016-02-23T20:35:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=a3c0166a2064c41408d1e08defee3a7e4a0ce3f7'/>
<id>a3c0166a2064c41408d1e08defee3a7e4a0ce3f7</id>
<content type='text'>
If a monitor interface is created, NM will grab that interface
and change it to station mode.  That's not very nice.

https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00068.html
(cherry picked from commit 751a37bf433eb79653b6d498eea1ab01047dfd27)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a monitor interface is created, NM will grab that interface
and change it to station mode.  That's not very nice.

https://mail.gnome.org/archives/networkmanager-list/2016-February/msg00068.html
(cherry picked from commit 751a37bf433eb79653b6d498eea1ab01047dfd27)
</pre>
</div>
</content>
</entry>
</feed>
