- 03 Jun, 2014 3 commits
-
-
Dan Winship authored
NmtMacEntry would allow you to input 1 character more than it should have. Fix that. Also, the code to insert ":"s automatically was bumping against some weirdness in NmtNewtEntry that made it so that the ":" didn't get displayed until you typed one more character after the one where it got inserted. Hack around that by manually requesting a redraw. https://bugzilla.gnome.org/show_bug.cgi?id=731160
-
Dan Winship authored
NmtMacEntry wasn't notifying its mac-address property when it changed, so the change never got saved to the NMSetting. https://bugzilla.gnome.org/show_bug.cgi?id=731160
-
Jiří Klimeš authored
-
- 02 Jun, 2014 6 commits
-
-
Dan Williams authored
Fixes the following g_warn(): #0 0x0000003370c504e9 in g_logv () from /lib64/libglib-2.0.so.0 #1 0x0000003370c5063f in g_log () from /lib64/libglib-2.0.so.0 #2 0x0000003370c50956 in g_warn_message () from /lib64/libglib-2.0.so.0 #3 0x0000000000439962 in carrier_changed (device=0x1d94300, carrier=1) at devices/nm-device.c:1021 #4 0x0000000000488f12 in carrier_changed (device=0x1d94300, carrier=1) at devices/nm-device-ethernet.c:1646 #5 0x0000000000434c94 in nm_device_set_carrier (device=device@entry=0x1d94300, carrier=1) at devices/nm-device.c:1104 #6 0x0000000000434dd5 in check_carrier (device=device@entry=0x1d94300) at devices/nm-device.c:1298 #7 0x0000000000434ef8 in constructed (object=0x1d94300) at devices/nm-device.c:550 #8 0x0000003371c15d87 in g_object_new_internal () from /lib64/libgobject-2.0.so.0 #9 0x0000003371c17814 in g_object_new_valist () from /lib64/libgobject-2.0.so.0 #10 0x0000003371c17c11 in g_object_new () from /lib64/libgobject-2.0.so.0 #11 0x000000000048bc2e in nm_device_ethernet_new (platform_device=platform_device@entry=0x1d82e58) at devices/nm-device-ethernet.c:336 #12 0x000000000047c600 in platform_link_added (self=0x1d70150, ifindex=ifindex@entry=2, plink=plink@entry=0x1d82e58, reason=reason@entry=NM_PLATFORM_REASON_INTERNAL) at nm-manager.c:1954 #13 0x000000000047c7db in platform_link_cb (platform=<optimized out>, ifindex=2, plink=0x1d82e58, change_type=<optimized out>, reason=NM_PLATFORM_REASON_INTERNAL, user_data=0x1d70150) at nm-manager.c:2038 #14 0x0000003371805d8c in ffi_call_unix64 () from /lib64/libffi.so.6 #15 0x00000033718056bc in ffi_call () from /lib64/libffi.so.6 #16 0x0000003371c10ad8 in g_cclosure_marshal_generic () from /lib64/libgobject-2.0.so.0 #17 0x0000003371c10298 in g_closure_invoke () from /lib64/libgobject-2.0.so.0 #18 0x0000003371c2235d in signal_emit_unlocked_R () from /lib64/libgobject-2.0.so.0 #19 0x0000003371c2a0f2 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #20 0x0000003371c2a3af in g_signal_emit () from /lib64/libgobject-2.0.so.0 #21 0x000000000044f6ba in nm_platform_query_devices () at platform/nm-platform.c:330 #22 0x000000000047de4c in nm_manager_start (self=0x1d70150) at nm-manager.c:4025 #23 0x0000000000429d31 in main (argc=1, argv=0x7fffb4c31628) at main.c:654 https://mail.gnome.org/archives/networkmanager-list/2014-June/msg00000.htmlSigned-off-by:
Thomas Haller <thaller@redhat.com>
-
Jiří Klimeš authored
-
-
Thomas Haller authored
The logging routines are not thread-safe in general, so there is no need for trying to make nm_logging_syslog_openlog() thread-safe. Also nm_logging_syslog_openlog() is only called by the main() routine. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
When starting firewall, NMPolicy would fail the following assertion: NetworkManager[1462]: <debug> [1401708294.250829] [firewall-manager/nm-firewall-manager.c:218] name_owner_changed(): firewall started (NetworkManager:1462): libnm-util-CRITICAL **: nm_connection_get_setting_connection: assertion 'NM_IS_CONNECTION (connection)' failed #0 0x0000003370c504e9 in g_logv () from /lib64/libglib-2.0.so.0 #1 0x0000003370c5063f in g_log () from /lib64/libglib-2.0.so.0 #2 0x00007f306f960e11 in nm_connection_get_setting_connection (connection=0x0) at nm-connection.c:1441 #3 0x0000000000482319 in firewall_started (manager=<optimized out>, user_data=<optimized out>) at nm-policy.c:1881 #4 0x0000003371c104c7 in _g_closure_invoke_va () from /lib64/libgobject-2.0.so.0 #5 0x0000003371c29749 in g_signal_emit_valist () from /lib64/libgobject-2.0.so.0 #6 0x0000003371c2a3af in g_signal_emit () from /lib64/libgobject-2.0.so.0 #7 0x0000000000445d39 in name_owner_changed (dbus_mgr=<optimized out>, name=<optimized out>, old_owner=0x1452660 "", new_owner=0x1536720 ":1.175", user_data=<optimized out>) at firewall-manager/nm-firewall-manager.c:220 ... Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
When reinstalling NM on the same location, it would fail with Making install in data make[1]: Entering directory `/home/data/src/NetworkManager/data' make[2]: Entering directory `/home/data/src/NetworkManager/data' install -d /opt/test/lib/systemd/system/network-online.target.wants ln -s /opt/test/lib/systemd/system/NetworkManager-wait-online.service /opt/test/lib/systemd/system/network-online.target.wants ln: failed to create symbolic link ‘/opt/test/lib/systemd/system/network-online.target.wants/NetworkManager-wait-online.service’: File exists make[2]: *** [install-exec-local] Error 1 https://bugzilla.gnome.org/show_bug.cgi?id=728965Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 31 May, 2014 4 commits
-
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
nmtui is long part of the NM main source. Remove the code from the build.sh script to add 'nmtui' from an external tarball. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Fix NetworkManager.spec file after changing `make install` in commit afd30f5f. https://bugzilla.gnome.org/show_bug.cgi?id=728965Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
- 30 May, 2014 27 commits
-
-
Pavel Šimerda authored
Make network-online.target depend on NetworkManager-wait-online.service just as is done in Fedora. This makes network-online.target work with NetworkManager as described in systemd documentation. An alternative way would be to use a combination of setting Install.WantedBy to network-online.target and enabling the service by default. This alternative approach is currently used by systemd-networkd. https://bugzilla.gnome.org/show_bug.cgi?id=728965Acked-By:
Dan Williams <dcbw@redhat.com>
-
Pavel Šimerda authored
The script is called synchronously from NetworkManager so it can handle asynchronicity itself. The long-term plan is to incorporate the script partially into the new plugin and partially into a dnssec-trigger library which will be used instead of dnssec-trigger daemon. https://bugzilla.gnome.org/show_bug.cgi?id=699810Acked-By:
Thomas Haller <thaller@redhat.com> Acked-By:
Dan Williams <dcbw@redhat.com>
-
Thomas Haller authored
Fixes regression introduced by commit 4674f103. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Dan Williams authored
Nothing uses the error, so simplify some code and save 5K (0.45%) in binary size.
-
Thomas Haller authored
Fixes regression introduced by commit 90ab7e83. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
https://bugzilla.gnome.org/show_bug.cgi?id=730934#c2Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
When doing a lookup for an libnl route, the cache comparison function for routes takes into account 'family', 'tos', 'table', 'dst', and 'prio'. In NetworkManager we don't use all of these properties for a route, so at several places when doing a cache lookup we don't have all identifying properties. Usually we only have 'family' and 'dst' ('table' is implicit 0, because NM does currently not care about any other tables). The problem is that NM sees routes with different 'tos', 'prio', but it cannot look them up in the cache. Add a hack to search the cache fuzzy. This is similar to the hack for link, where the identifying properties are 'family' and 'ifindex', but we only have 'ifindex' at hand. However, contrary to this hack, we coerce the 'family' to AF_UNSPEC for every link cache operation. This is not viable in this case, because we internally need the 'tos' field. We need the 'tos' field because when deleting an IPv4 route, the 'tos' field must match. See fib_table_delete(). This was already partially fixed by commit f0daf902, but before the lookup to the cached object would fail for any non-zero 'tos'. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
check_cache_items() iterated over all items and called refresh_object(). But refresh_object() might remove the current object from the cache, so this would break the iteration. Instead check the items in two steps. First find all the objects we care about and build a list of them. Then check them. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
By passing INADDR_ANY as a gconstpointer, we actually always passed NULL as gateway. Maybe this was not intended, but it seems correct now and is proven to work. So this fixe has no behavioral change. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
https://bugzilla.gnome.org/show_bug.cgi?id=729844Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Jiří Klimeš authored
-
Jiří Klimeš authored
This allows setting bridge MAC either on command-line nmcli con add type bridge con-name mybridge mac 11:22:33:44:55:66 or provide it when asked nmcli -a con add type bridge con-name mybridge
-
Jiří Klimeš authored
-
Thomas Haller authored
https://bugzilla.gnome.org/show_bug.cgi?id=729844Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
This feature requires recent support from the kernel. Most notably these upstream kernel commits are required: - 92c0574f11598c8036f81e27d2e8bdd6eed7d76d - 43598813386f6205edf3c21f1fe97f731ccb4f15 - 30313a3d5794472c3548d7288e306a5492030370 The latter of them was merged to upstream kernel version 3.15-rc5. https://bugzilla.gnome.org/show_bug.cgi?id=729844Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
https://bugzilla.gnome.org/show_bug.cgi?id=729844Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Add an additional address parameter to link_add/bridge_add, to set the MAC address of software devices. https://bugzilla.gnome.org/show_bug.cgi?id=729844Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Dan Williams authored
C&P error in my commit 4674f103.
-
Dan Williams authored
It's only ever used as an MAC address array, so we might as well make it one instead of a string. Saves a memory allocation and some cycles converting back and forth. This also fixes a bug, where NMDeviceBt:check_connection_compatible() would not set GError on mismatch of bdaddr. Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-
Thomas Haller authored
Signed-off-by:
Thomas Haller <thaller@redhat.com>
-