Hello community, here is the log from the commit of package sysdig for openSUSE:Factory checked in at 2019-06-07 18:02:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sysdig (Old) and /work/SRC/openSUSE:Factory/.sysdig.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sysdig" Fri Jun 7 18:02:17 2019 rev:25 rq:708337 version:0.26.1 Changes: -------- --- /work/SRC/openSUSE:Factory/sysdig/sysdig.changes 2019-02-27 21:12:35.383185856 +0100 +++ /work/SRC/openSUSE:Factory/.sysdig.new.4811/sysdig.changes 2019-06-07 18:02:20.193778004 +0200 @@ -1,0 +2,71 @@ +Fri Jun 7 10:47:41 UTC 2019 - Martin Pluskal <[email protected]> + +- Update to version 0.26.1: + * Changes to build the kmod with 5.1 kernels [#1413] + * Explicitly disable psl to address build failures on MAC OS [#1417] + * Fix handling of container metadata in "infra" events [#1418] +- Changes for version 0.26.0: + * Perform docker metadata fetches asynchronously: When new containers are discovered, fetch metadata about the container asynchronously, which should significantly reduce the likelihood of dropped system call events. [#1326] [#1378] [#1374] [#1381] [#1373] [#1382] [#1388] [#1389] [#1384] [#1392] [#1396] [#1411] + * Add field to display time in ISO 8601 UTC [#1317] [#1360] + * Performance improvements of ring buffer processing [#1372] + * Support major/minor device numbers for fd events [#1315] #1383] + * Add the ability to prepend encoded log severity in the log message [#1327] + * Raise the iov limit in eBPF [#1390] + * Changes to pull user event logging out into a separate component. [#1375] + * Log a debug message when looking up an IP address of an incomplete container [#1398] + * Support cri-o container metadata caching [#1399] + * Logging API with lazy parameter evaluation [#1394] + * Support BPM container type [#1319] + * Fix bug in fullcapture range check [#1386] + * Allow chisels to receive the full content of big buffers. [#1361] + * start the analyzer before forcing next for a scap file [#1366] + * Create a grpc_channel_registry for all channels [#1369] + * Modified the behavior of fullcapture port range [#1370] + * Check file before dereferencing [#1397] + * Fix build for older kernels (<3.9) [#1400] + * Added -fno-stack-protector to avoid clang errors [#1401] + * Addl loop prevention for traverse_parent_state [#1411] + * Add interfaces for async metrics collection [#1346] + * Use epel 7-11 (7-9 is no longer available) [#1362] + * Make some global variables related to fetching container state thread-local [#1356] + * Allow downloading prebuilt modules without SSL verification [#1358] + * add test helper to container manager. [#1365] + * Cleanup old docker images after building a new ebpf-probe-builder [#1367] + * valgrind clean for analyzer end to end test [#1387] + * flush flags change to new namespace, add code enabling easy use of sinsp_threadinfo in std::set/map [#1395] + * add friend class for unit testing [#1406] +- Changes for version 0.25.0: + * Support Linux 5.0 + * CRI container runtime support + * runtimeSpec.linux returned by containerd is an object, not an array (#1343) + * Fix gRPC build with gcc 7 (#1322) + * CRI-O container support (#1310) + * Fix check for Docker pause containers [SMAGENT-1305] (#1306) + * Detect CRI pod sandbox containers (#1297) + * Container Runtime Interface support (#1277) + * Prebuilt probes + * Prebuild minikube kernel modules (#1294) + * Build probe modification to include Fedora-Atomic. [SMAGENT-1251] (#1293) + * Fix for newer versions of LXC not being detected (#1345) + * [SMAGENT-1433] pull legacy GCC artifacts from local cache as debian no longer supports (#1342) + * Use TBB_INCLUDE_DIR for consistency w/ falco agent (#1329) + * SMAGENT-1297: Rebuild gcc-plugins before building kernel module (#1305) + * Modified BPF probe builder (#1301) + * Call set*ent() before reading the user/group NSS database (#1341) + * Properly initialize default settings for tracers (#1339) + * Fix bpf ptrace filler (#1338) + * Fix potential memory leak in libelf (#1337) + * Fix case where fclose could be called twice. (#1330) + * Handle mmap failure gracefully (#1324) + * Add stream event details in csysdig output (#1335) + * SMAGENT-1400: Make sinsp_logger thread-safe (#1333) + * Never drop socket syscalls to ensure we have fdinfo for subsequent binds. SMAGENT-1270 (#1312) + * Infer fd info for sendto system call [SMAGENT-1282] (#1304) + * Async framework base [SMAGENT-1247] (#1303) + * Handle events for unknown threads after scap start [SMAGENT-1082] (#1296) + * Add ability to print filtercheck field names only (#1288) +- Add patches to fix build issues with shared components: + * sysdig-include.patch + * sysdig-linking.patch + +------------------------------------------------------------------- Old: ---- sysdig-0.24.2.tar.gz New: ---- sysdig-0.26.1.tar.gz sysdig-include.patch sysdig-linking.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sysdig.spec ++++++ --- /var/tmp/diff_new_pack.WL64SN/_old 2019-06-07 18:02:20.689777828 +0200 +++ /var/tmp/diff_new_pack.WL64SN/_new 2019-06-07 18:02:20.689777828 +0200 @@ -17,13 +17,15 @@ Name: sysdig -Version: 0.24.2 +Version: 0.26.1 Release: 0 Summary: System-level exploration License: Apache-2.0 Group: System/Monitoring URL: http://www.sysdig.org/ Source0: https://github.com/draios/%{name}/archive/%{version}/sysdig-%{version}.tar.gz +Patch0: sysdig-include.patch +Patch1: sysdig-linking.patch BuildRequires: %{kernel_module_package_buildreqs} BuildRequires: cmake BuildRequires: fdupes @@ -32,12 +34,15 @@ BuildRequires: libjq-devel BuildRequires: pkgconfig BuildRequires: tbb-devel +BuildRequires: pkgconfig(grpc) BuildRequires: pkgconfig(jsoncpp) +BuildRequires: pkgconfig(libcares) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libelf) BuildRequires: pkgconfig(lua5.1) BuildRequires: pkgconfig(ncurses) BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(protobuf) BuildRequires: pkgconfig(zlib) ExcludeArch: %{arm} aarch64 %kernel_module_package @@ -50,6 +55,8 @@ %prep %setup -q +%patch0 -p1 +%patch1 -p1 %build export SYSDIG_CHISEL_DIR=%{_datadir}%{name}/chisels @@ -63,6 +70,9 @@ -DUSE_BUNDLED_CURL=OFF \ -DUSE_BUNDLED_B64=OFF \ -DUSE_BUNDLED_JQ=OFF \ + -DUSE_BUNDLED_CARES=OFF \ + -DUSE_BUNDLED_PROTOBUF=OFF \ + -DUSE_BUNDLED_GRPC=OFF \ -DDIR_ETC=%{_sysconfdir} \ -DBUILD_DRIVER=OFF \ -Wno-dev ++++++ sysdig-0.24.2.tar.gz -> sysdig-0.26.1.tar.gz ++++++ ++++ 15169 lines of diff (skipped) ++++++ sysdig-include.patch ++++++ >From 53010f0eb1fbf491f7ff930a70d8133fc8b13630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]> Date: Thu, 23 May 2019 08:36:22 +0200 Subject: [PATCH] libscap: Add missing <sys/sysmacros.h> include for glibc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Newer glibc versions require including <sys/sysmacros.h> for makedev() macro. Without it, the build reports undefined function: [12/112] /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc-8.3.0 -DGRPC_INCLUDE_IS_GRPCPP=1 -DHAS_CAPTURE -DK8S_DISABLE_THREAD -DPLATFORM_NAME=\"Linux\" -I/tmp/portage/dev-util/sysdig-0.26.0/work/sysdig-0.26.0/common -DNDEBUG -march=x86-64 -mtune=k8 -mcx16 -msahf -msse3 --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches -Wall -MD -MT userspace/libscap/CMakeFiles/scap.dir/scap_fds.c.o -MF userspace/libscap/CMakeFiles/scap.dir/scap_fds.c.o.d -o userspace/libscap/CMakeFiles/scap.dir/scap_fds.c.o -c /tmp/portage/dev-util/sysdig-0.26.0/work/sysdig-0.26.0/userspace/libscap/scap_fds.c /tmp/portage/dev-util/sysdig-0.26.0/work/sysdig-0.26.0/userspace/libscap/scap_fds.c: In function ‘scap_get_device_by_mount_id’: /tmp/portage/dev-util/sysdig-0.26.0/work/sysdig-0.26.0/userspace/libscap/scap_fds.c:847:19: warning: implicit declaration of function ‘makedev’ [-Wimplicit-function-declaration] and afterwards fails to link: scap_fds.c:(.text+0x2838): undefined reference to `makedev' collect2: error: ld returned 1 exit status sysdig-CLA-1.0-signed-off-by: Michał Górny <[email protected]> --- userspace/libscap/scap_fds.c | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/libscap/scap_fds.c b/userspace/libscap/scap_fds.c index 452353a68..6eb7cd160 100644 --- a/userspace/libscap/scap_fds.c +++ b/userspace/libscap/scap_fds.c @@ -49,6 +49,7 @@ limitations under the License. #include <errno.h> #include <netinet/tcp.h> #if defined(__linux__) +#include <sys/sysmacros.h> #include <linux/netlink.h> #include <linux/rtnetlink.h> //#include <linux/sock_diag.h> ++++++ sysdig-linking.patch ++++++ >From fe16594272a7b74a8c901f2ba72780538ca04934 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]> Date: Thu, 23 May 2019 09:05:09 +0200 Subject: [PATCH] libsinsp: Fix linking when using system libraries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit libsinsp needs to be linked to curl & tbb when using system libraries as well. Otherwise, the build fail with lots of undefined symbols. sysdig-CLA-1.0-signed-off-by: Michał Górny <[email protected]> --- userspace/libsinsp/CMakeLists.txt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/userspace/libsinsp/CMakeLists.txt b/userspace/libsinsp/CMakeLists.txt index bc851319a..9ad978209 100644 --- a/userspace/libsinsp/CMakeLists.txt +++ b/userspace/libsinsp/CMakeLists.txt @@ -145,7 +145,9 @@ add_library(sinsp STATIC ${SINSP_SOURCES}) target_link_libraries(sinsp scap - "${JSONCPP_LIB}") + "${CURL_LIBRARIES}" + "${JSONCPP_LIB}" + "${TBB_LIB}") if(USE_BUNDLED_LUAJIT) add_dependencies(sinsp luajit) @@ -157,13 +159,9 @@ if(NOT WIN32) endif() if(USE_BUNDLED_CURL) add_dependencies(sinsp curl) - target_link_libraries(sinsp - "${CURL_LIBRARIES}") endif() if(USE_BUNDLED_TBB) add_dependencies(sinsp tbb) - target_link_libraries(sinsp - "${TBB_LIB}") endif() if(NOT APPLE)
