- 09 Sep, 2020 1 commit
-
-
Beniamino Galvani authored
Fixes: 5e71f016 ('device: merge stage3 and stage4 ip-config function for IPv4 and IPv6') (cherry picked from commit a0179362)
-
- 08 Sep, 2020 9 commits
-
-
Valentin David authored
Class description may contains double quotes which is not valid as XML attribute value. [thaller@redhat.com: adjust original patch to reformat code with python black] !620 (cherry picked from commit 54e25f23)
-
Thomas Haller authored
On Fedora rawhide (34), valgrind gives a lot of warnings like: ./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- WARNING: unhandled amd64-linux syscall: 439 ./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- You may be able to write your own handler. ./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- Read the file README_MISSING_SYSCALL_OR_IOCTL. ./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- Nevertheless we consider this a bug. Please report ./src/platform/tests/test-cleanup-linux.valgrind-log:--48279-- it at http://valgrind.org/support/bug_reports.html. Ignore them. (cherry picked from commit 2cb40f6e)
-
Thomas Haller authored
#526 !619 (cherry picked from commit a39e1ab1)
-
Thomas Haller authored
Otherwise, the test generates an "messages.mo" file. Fixes: 97c1bed3 ('build: add test for valid po files (msgfmt -vc)') (cherry picked from commit ad55cf86)
-
Thomas Haller authored
(cherry picked from commit 97c1bed3)
-
Thomas Haller authored
(cherry picked from commit a4f99bab)
-
Thomas Haller authored
Mark invalid translations as fuzzy and run `make -C po update-po` to cleanup the po file.
-
Thomas Haller authored
And `make -C po update-po` to regenerate the default. (cherry picked from commit 60b2e745)
-
Thomas Haller authored
(cherry picked from commit 9ee13a56)
-
- 03 Sep, 2020 1 commit
-
-
Thomas Haller authored
Having leaks in the tests, breaks running the test under valgrind. There must be no leaks. Fixes: c056cb93 ('initrd: parse 'rd.net.dhcp.vendor-class' kernel cmdline arg') (cherry picked from commit bff23d15)
-
- 02 Sep, 2020 1 commit
-
-
Antonio Cardace authored
Signed-off-by:
Antonio Cardace <acardace@redhat.com> Fixes: 9f960955 ('initrd: add configuration generator') (cherry picked from commit d5c05d07)
-
- 01 Sep, 2020 3 commits
-
-
Antonio Cardace authored
!614Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit 5748e986)
-
Antonio Cardace authored
This arguments makes NM set the ipv4.dhcp-vendor-class-identifier property for all connections. https://bugzilla.redhat.com/show_bug.cgi?id=1872299Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit c056cb93)
-
Antonio Cardace authored
So that it can be reused. Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit 5cca669f)
-
- 31 Aug, 2020 1 commit
-
-
Beniamino Galvani authored
When a virtual device fails, its state goes to FAIL and then DISCONNECTED. In DISCONNECTED we call schedule_activate_check() to schedule an auto-activation if needed. We also schudule the deletion of the link through delete_on_deactivate_check_and_schedule(). The auto-activation attempt fails because the link deletion unmanages the device; as a result, the device doesn't try to auto-activate again. To fix this: - don't allow the device to auto-activate if the device deletion is pending; - check again if the device can be auto-activated after its deletion. https://bugzilla.redhat.com/show_bug.cgi?id=1818697 !613 (cherry picked from commit e404585e)
-
- 28 Aug, 2020 2 commits
-
-
Thomas Haller authored
The detection for Ubuntu 16.04 was broken. By now /etc/os-release contains VERSION="16.04.7 LTS (Xenial Xerus)" (cherry picked from commit 12e85574)
-
Thomas Haller authored
Avoids a compiler warning: ../src/devices/nm-device.c:16079:26: error: cast to smaller integer type 'NMDeviceStateReason' from 'gpointer' (aka 'void *') [-Werror,-Wvoid-pointer-to-enum-cast] deactivate_ready (self, (NMDeviceStateReason) reason); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ Fixes: 121c58f0 ('core: set number of SR-IOV VFs asynchronously') (cherry picked from commit 918ebd60)
-
- 26 Aug, 2020 7 commits
-
-
Antonio Cardace authored
!610 (cherry picked from commit 21e6ed28)
-
Antonio Cardace authored
client https://bugzilla.redhat.com/show_bug.cgi?id=1871042Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit 5da0939a)
-
Antonio Cardace authored
https://bugzilla.redhat.com/show_bug.cgi?id=1871042Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit f8a72901)
-
Antonio Cardace authored
https://bugzilla.redhat.com/show_bug.cgi?id=1871042Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit f71f40bc)
-
Antonio Cardace authored
https://bugzilla.redhat.com/show_bug.cgi?id=1871042Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit e9ed5f02)
-
Antonio Cardace authored
https://bugzilla.redhat.com/show_bug.cgi?id=1871042Signed-off-by:
Antonio Cardace <acardace@redhat.com> (cherry picked from commit d7235394)
-
Antonio Cardace authored
Signed-off-by:
Antonio Cardace <acardace@redhat.com>
-
- 19 Aug, 2020 3 commits
-
-
Thomas Haller authored
-
Thomas Haller authored
-
Thomas Haller authored
(cherry picked from commit 5409db9f)
-
- 18 Aug, 2020 3 commits
-
-
Thomas Haller authored
(cherry picked from commit e1e1241a)
-
Thomas Haller authored
(cherry picked from commit 3b70efa9)
-
Thomas Haller authored
(cherry picked from commit 2c12786e)
-
- 17 Aug, 2020 9 commits
-
-
Thomas Haller authored
Still assertion failures: ERROR:../src/ndisc/tests/test-ndisc-fake.c:375:test_preference_changed_cb: assertion failed (_a->timestamp >= _ts): (9 >= 10) (cherry picked from commit a5133e70)
-
Thomas Haller authored
This change is for Fedora 33 and newer. For now, also enable it for RHEL 9 and newer, but it must still be decided whether that will be done there as well. https://mail.gnome.org/archives/networkmanager-list/2020-May/msg00002.html https://fedoraproject.org/wiki/Changes/NetworkManager_keyfile_instead_of_ifcfg_rh https://lists.fedoraproject.org/archives/list/devel-announce@lists.fedoraproject.org/thread/OLOU27DAON2TYGTAVZ35GZE2BEIN42U3/ https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/OLOU27DAON2TYGTAVZ35GZE2BEIN42U3/ https://pagure.io/fesco/issue/2432 https://bugzilla.redhat.com/show_bug.cgi?id=1857391 (cherry picked from commit 3e475e5c)
-
Thomas Haller authored
Ubuntu 16.04 doesn't have merged /usr directories and cat is in /bin/cat. (cherry picked from commit 67cc4544)
-
Thomas Haller authored
!605 (cherry picked from commit b8ac5390)
-
Thomas Haller authored
With Fedora 33, LTO will be enabled by default via CFLAGS in redhat-rpm-config ([1]). That basically sets "CFLAGS=-flto -ffat-lto-objects". Note that we have our own configure/meson option to enable LTO. With "--with-lto" we set CFLAGS="-flto -flto-partition=none". This is necessary due ([2], [3]). So, disable Fedora's automatism, but turn on the suitable configure option to get working LTO. [1] https://src.fedoraproject.org/rpms/redhat-rpm-config/c/5baaf4a99cc77572d3496a7000674098bef7ed68?branch=master [2] e6cf4213 ('build: fix building with LTO') [3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200#c28 (cherry picked from commit 839ba57c)
-
Thomas Haller authored
No amount of _Pragma was able to disable this warning. In function ‘strncpy’, inlined from ‘_nm_strndup_a_step’ at ./shared/nm-glib-aux/nm-macros-internal.h:1367:3, inlined from ‘nms_keyfile_nmmeta_check_filename’ at src/settings/plugins/keyfile/nms-keyfile-utils.c:61:0: /usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Werror=stringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ src/settings/plugins/keyfile/nms-keyfile-utils.c: In function ‘nms_keyfile_nmmeta_check_filename’: src/settings/plugins/keyfile/nms-keyfile-utils.c:44: note: length computed here 44 | len = strlen (filename); | lto1: all warnings being treated as errors Oddly enough, gcc is still emitting the warning even with "-Wno-stringop-overflow", but at least it doesn't break the build. (cherry picked from commit 407a1f1e)
-
Thomas Haller authored
nmcli is build with libtool, so "clients/cli/nmcli" is really a shell script that invokes the real nmcli (at "clients/cli/.libs/nmcli"). When building with LTO for some reasons "clients/cli/nmcli" still does some build steps during the first invocation. That means, if we run `make check-local-clients-tests-test-client` it would first do the final build step. This takes a while, and the test times out (worse, we do that build step many times in parallel). Avoid that by invoking "clients/cli/nmcli" first. (cherry picked from commit 00e3fc03)
-
Thomas Haller authored
We use a linker version script "NetworkManager.ver", to hide symbols from NetworkManager that are not used. That is important due to our habit of using internal helper libraries that we link statically everywhere, without handpicking the symbols we actually need. We want the tooling to get rid of unnecessary symbols. However, NetworkManager loads shared libraries for settings and device plugins. These libraries require symbols from the NetworkManager binary, but which one depends on build options. Hence, we also generate "NetworkManager.ver" by the "tools/create-exports-NetworkManager.sh" script. For that the script uses "nm" to find symbols that are undefined in the plugin libraries but defined in NetworkManager. With autotools the script looked at "./src/.libs/libNetworkManager.a" to find the present symbols. Note that for meson that already didn't work, and we build instead an intermediate NetworkManager binary first (with all symbols exposed). With LTO, "nm" doesn't find all symbols in "./src/.libs/libNetworkManager.a", and consequently they are not exported and dropped/hidden. This also causes unit tests to fail with LTO, because our test script "tools/check-exports.sh" catches such bugs. Fix that by also with autotools generate a complete "NetworkManager-all-sym" binary that is used to generate "NetworkManager.ver", before rebuilding "NetworkManager" again. (cherry picked from commit c92a3ca5)
-
Thomas Haller authored
On Debian sid, pygobject no longer builds "python-gobject" for python2. Still, python2 may be installed and detected preferably by AM_PATH_PYTHON(). Add workaround. (cherry picked from commit 54a1cfa9)
-