<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/NetworkManager.git, branch team-restore-ports-respawn</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>team: restore port configuration after teamd respawn</title>
<updated>2022-09-01T10:39:12+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2022-09-01T09:03:05+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=f5d51dba6c43d11fcb801eec948bcb7a52597ec4'/>
<id>f5d51dba6c43d11fcb801eec948bcb7a52597ec4</id>
<content type='text'>
If teamd crashes, we restore it. That's very nice, but if it really
crashed then it left ports attached and the slave connections are not
going to fail and the port configuration (e.g. priority or link watcher) in
teamd's memory will be gone.

This will restore the port configuration when the teamd connection is
re-established. This probably also fixes a race where a slave connection
would be enslaved (only possible externally and manually?) while we
didn't establish a connection to teamd yet. We'll just send the port
configuration in once're connected.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If teamd crashes, we restore it. That's very nice, but if it really
crashed then it left ports attached and the slave connections are not
going to fail and the port configuration (e.g. priority or link watcher) in
teamd's memory will be gone.

This will restore the port configuration when the teamd connection is
re-established. This probably also fixes a race where a slave connection
would be enslaved (only possible externally and manually?) while we
didn't establish a connection to teamd yet. We'll just send the port
configuration in once're connected.
</pre>
</div>
</content>
</entry>
<entry>
<title>team: trivial: use a variable instead of nm_device_get_ip_iface() calls</title>
<updated>2022-09-01T10:39:12+00:00</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2022-09-01T08:42:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fc25da3f5a7d41609ca983793e84871e12b8066c'/>
<id>fc25da3f5a7d41609ca983793e84871e12b8066c</id>
<content type='text'>
This reads a little better and performs marginally better.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reads a little better and performs marginally better.
</pre>
</div>
</content>
</entry>
<entry>
<title>version: add 1.42 macros</title>
<updated>2022-08-31T17:23:26+00:00</updated>
<author>
<name>Vojtech Bubela</name>
<email>vbubela@redhat.com</email>
</author>
<published>2022-08-31T09:32:12+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=7dccb5f548c5e31c5e4527be73df3481a2829d4a'/>
<id>7dccb5f548c5e31c5e4527be73df3481a2829d4a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nmcli: merge branch 'th/nmcli-modify-uuid'</title>
<updated>2022-08-31T17:22:27+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-31T17:20:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=424f09e43dfb37c117a5a8b85102648969bcddfe'/>
<id>424f09e43dfb37c117a5a8b85102648969bcddfe</id>
<content type='text'>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1349
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1349
</pre>
</div>
</content>
</entry>
<entry>
<title>NEWS: update</title>
<updated>2022-08-31T17:22:01+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-31T17:22:01+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=ef712733aab8dcfd542eb0fe8f17106a1bb3f976'/>
<id>ef712733aab8dcfd542eb0fe8f17106a1bb3f976</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nmcli: allow setting the "connection.uuid" for new profiles</title>
<updated>2022-08-31T17:20:12+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-29T08:13:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=130479c8b2689acc4284743675418bab6634d66c'/>
<id>130479c8b2689acc4284743675418bab6634d66c</id>
<content type='text'>
Because, why not?

The client side determines the UUID, so there is no security implication
by letting the nmcli user explicitly choose it.

  $ nmcli connection add type ethernet con-name x connection.uuid 6965f79c-4424-4918-98e8-3c0982434011
  Connection 'x' (6965f79c-4424-4918-98e8-3c0982434011) successfully added.
  $ nmcli connection add type ethernet con-name x connection.uuid 6965f79c-4424-4918-98e8-3c0982434011
  Error: Failed to add 'x' connection: a connection with this UUID already exists
  $ nmcli connection modify x connection.uuid 6965f79c-4424-4918-98e8-3c0982434011
  $ nmcli connection modify x connection.uuid 6965f79c-4424-4918-98e8-3c0982434012
  Error: failed to modify connection.uuid: the property can't be changed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because, why not?

The client side determines the UUID, so there is no security implication
by letting the nmcli user explicitly choose it.

  $ nmcli connection add type ethernet con-name x connection.uuid 6965f79c-4424-4918-98e8-3c0982434011
  Connection 'x' (6965f79c-4424-4918-98e8-3c0982434011) successfully added.
  $ nmcli connection add type ethernet con-name x connection.uuid 6965f79c-4424-4918-98e8-3c0982434011
  Error: Failed to add 'x' connection: a connection with this UUID already exists
  $ nmcli connection modify x connection.uuid 6965f79c-4424-4918-98e8-3c0982434011
  $ nmcli connection modify x connection.uuid 6965f79c-4424-4918-98e8-3c0982434012
  Error: failed to modify connection.uuid: the property can't be changed.
</pre>
</div>
</content>
</entry>
<entry>
<title>nmcli: allow changing the UUID of a profile in offline mode</title>
<updated>2022-08-31T17:20:11+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-26T08:29:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=fcf32d81bd883c6756cc66d24c46ef8a39d43b63'/>
<id>fcf32d81bd883c6756cc66d24c46ef8a39d43b63</id>
<content type='text'>
It is useful to modify the UUID in offline mode. Otherwise, it's
cumbersome to clone a profile, because the cloned profile will
have the same UUID (and NetworkManager cannot load them both
at the same time).

  umask 077
  nmcli --offline connection modify \
      connection.id profile2 \
      connection.uuid new \
    &lt; /etc/NetworkManager/system-connections/profile1.nmconnection \
    &gt; /etc/NetworkManager/system-connections/profile2.nmconnection \

The doctext doesn't actually work for `man nm-settings-nmcli`. The
generation of our docs is still an incomprehensible mess that needs
fixing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It is useful to modify the UUID in offline mode. Otherwise, it's
cumbersome to clone a profile, because the cloned profile will
have the same UUID (and NetworkManager cannot load them both
at the same time).

  umask 077
  nmcli --offline connection modify \
      connection.id profile2 \
      connection.uuid new \
    &lt; /etc/NetworkManager/system-connections/profile1.nmconnection \
    &gt; /etc/NetworkManager/system-connections/profile2.nmconnection \

The doctext doesn't actually work for `man nm-settings-nmcli`. The
generation of our docs is still an incomprehensible mess that needs
fixing.
</pre>
</div>
</content>
</entry>
<entry>
<title>nmcli: support changing the connection type in offline mode</title>
<updated>2022-08-31T17:20:11+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-26T08:25:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=14828a09327eb089c4ed2fa7d99f591a24737069'/>
<id>14828a09327eb089c4ed2fa7d99f591a24737069</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>nmcli: add get_env_flags() accessor to NMMetaEnvironment for checking offline mode</title>
<updated>2022-08-31T17:20:11+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-26T08:23:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=71a111bb9cf8f42639a61ba345491fba828cfe9d'/>
<id>71a111bb9cf8f42639a61ba345491fba828cfe9d</id>
<content type='text'>
We will want to know whether we are in offline mode.
Add an accessor to get environment flags, which libnmc-setting
can use.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We will want to know whether we are in offline mode.
Add an accessor to get environment flags, which libnmc-setting
can use.
</pre>
</div>
</content>
</entry>
<entry>
<title>libnmc: avoid "g_set_error(error, 1, 0, ...)" and use nm_utils_error_set()</title>
<updated>2022-08-31T17:20:11+00:00</updated>
<author>
<name>Thomas Haller</name>
<email>thaller@redhat.com</email>
</author>
<published>2022-08-26T08:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/NetworkManager.git/commit/?id=686d9ebd4f42241d96c8a088866b9b3b7d68bc1f'/>
<id>686d9ebd4f42241d96c8a088866b9b3b7d68bc1f</id>
<content type='text'>
We really should not pass bogus values "1, 0" to g_set_error().
As we don't care about a particular error code, use
NM_UTILS_ERROR_UNKNOWN.

While at it, use nm_utils_error_set() everywhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We really should not pass bogus values "1, 0" to g_set_error().
As we don't care about a particular error code, use
NM_UTILS_ERROR_UNKNOWN.

While at it, use nm_utils_error_set() everywhere.
</pre>
</div>
</content>
</entry>
</feed>
