summaryrefslogtreecommitdiffstats
path: root/recipes-containers/conmon
Commit message (Collapse)AuthorAgeFilesLines
* conmon: update to 2.1.3-tipBruce Ashfield2023-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping conmon to version v2.1.3-43-g9a3af8f, which comprises the following commits: 9a3af8f logging: avoid opening /dev/null for each write 813c8d7 oom: restore old OOM score 9d3a955 Update CI VM images b1d7297 Use default umask `0022` 54a0c9c exit: Free allocated string dbade0d version: bump to v2.1.7 1841000 Fix leaking symbolic links in the opt_socket_path directory 5cff0ce cgroup: Stumble on if we can't set up oom handling 5f669ba bump to v2.1.6 3dc09f6 packit: build in dedicated projects fffef27 hack: build ginkgo in GOPATH ef8a9f2 vendor bump ginkgo to v2 b042229 gh actions: bump to go 1.20 c002534 Use --detach instead of -d df277e2 Fix OOM watcher for cgroupv2 `oom_kill` events 4cb1e4d Lint/format fixes for golang 1.19 a10fe91 Update CI VM Images to F36/F37 2d03ad0 ctrl: drop fifo perms to 0660 8c72109 Fix tools/Makefile with GNU make 4.4 6b600ac bump to v2.1.5 28b3bc7 don't leak syslog_identifier f903e20 logging: do not read more that the buf size f4d3beb logging: fix error handling 21f648b cli: Fix conmon-pidfile/container-pidfile description 1df3e90 Makefile: Fix install for FreeBSD cb0c68b signal: Track changes to get_signal_descriptor in the FreeBSD version 1fbfa33 Packit: initial enablement 5e82bb4 bump to 2.1.4 1420874 signal: handle SIGUSR1 with signalfd 636e239 Use /usr/bin/env to locate bash Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: avoid host contamination by GOCACHEChangqing Li2022-12-011-0/+2
| | | | | | | | | | | By default GOCACHE is set to $HOME/.cache. Fix: make[1]: Entering directory '/mnt/tmp-glibc/work/core2-64-wrs-linux/conmon/2.1.3+gitAUTOINC+19110c9746-r0/git/tools' | failed to initialize build cache at /home/build/.cache/go-build: mkdir /home/build: permission denied Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to 2.1.3Bruce Ashfield2022-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Bumping conmon to version v2.1.3-5-g19110c9, which comprises the following commits: 636e239 Use /usr/bin/env to locate bash d7625dc Cirrus: Add meta task to keep CI VM images alive ab52a59 VERSION: bump to 2.1.3 a627951 meson: build with seccomp if available 1750b2d Fix build on FreeBSD-13.0 0a2e0db Reduce the amount of duplicated code between Linux and FreeBSD 32816bd Port conmon to FreeBSD b1ca51f gh actions: bump versions 05163fd bump golang in gh action to 1.18 d91cc43 Stop using g_unix_signal_add() to avoid threads 2bc95ee [Fixup #342] `log-size-global-max` Should Be`log-global-size-max` 99eac3e bump to v2.1.2 143121b log_global_max: ignore if negative 98058b1 add log-global-size-max option to limit the total output conmon processes 65b6eaa bump to v2.1.1 81086b7 journald: print tag and name if both are specified c61367c logging: add missing static keyword 0c3412a drop some logs to debug level 4c41ec2 meson: Handle journald Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to v2.1.0Bruce Ashfield2022-03-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping conmon to version v2.1.0-316-g4c41ec2, which comprises the following commits: 4c41ec2 meson: Handle journald d1565ee bump to v2.1.0 96b8688 logging: buffer partial messages to journald f20bbbe ci: add podman system to different cache bde1b3c ci: install rootlessport right 2b10f9a ci: install go correctly 4f0b7f8 ci: add subid ranges for crio tests e827355 ci: install all binaries for podman-system ad092b1 ci: run vendor on podman job b6025be ci: set host IP ca12794 ci: give conmon job sudo d6bdb97 ci: bump to go 1.17 e2215a1 exit: close all fds >= 3 830e644 fix: cgroup: Free memory_cgroup_file_path if open fails. Call g_free instead of free. 5a2cf98 Make libdl optional in meson definition 4edfc92 bump to v2.0.33-dev 436b460 bump to v2.0.32 f1fee3a Avoid mainfd_std{in,out} sharing the same file descriptor. 7c784a0 exit_command: unset subreaper attribute before running exit command dc197c9 bump to 2.0.32-dev 7e7eb74 bump to 2.0.31 a854c52 conmon: fix error message Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to v2.0.30Bruce Ashfield2021-11-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping conmon to version v2.0.1-288-ge67bb4d, which comprises the following commits: a854c52 conmon: fix error message 5d5b853 logging: set SYSLOG_IDENTIFIER= with --log-tag ed0b60c conmon: free userdata files before exec cleanup 42cecdf Cirrus: Remove disused scripts 1c7b233 test: drop seccomp tests eb808d2 fix gh action yaml e7a5e0c ctr_logs: use container name or ID as SYSLOG_IDENTIFIER for journald f263cf4 logging: new mode -l passthrough f231c7f ctrl: delete the fifo if it exists 7cfb1ac conmon_test: fix race condition on os.RemoveAll c657db7 integration: use the built binary fa1fa36 bump to v2.0.31-dev 2792c16 bump to v2.0.30 fec62f1 bump go version for podman tests 89072ea Update VM Images + Drop prior-ubuntu references 53c9f75 Remove unreachable code path 9e54dda exit: report if the exit command was killed 4d3dba9 exit: fix race zombie reaper c834521 conn_sock: allow watchdog messages through the notify socket proxy 423c391 Add seccomp to build dependency 9c23760 Update nixpkgs 3a8c913 make: only define use_seccomp if we're using it 1d67d9e Makefile: correctly check seccomp notify support e796a80 Makefile: make conditional-compilation variable setting uniform e83c392 Makefile: unify condition checking 7381063 Cirrus: Remove outdated/wrong documentation 4a8762d Cirrus: Fix references to 'master' branch 1ef2468 Fix docs links due to branch rename Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* global: convert github SRC_URIs to use https protocolBruce Ashfield2021-11-021-1/+1
| | | | | | | | | | | github is removing git:// access, and fetches will start experiencing interruptions in service, and eventually will fail completely. bitbake will also begin to warn on github src_uri's that don't use https. So we convert the meta-virt instances to use protocol=https (done using the oe-core contrib conversion script) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: add dependency on libseccomp and seccomp to REQUIRED_DISTRO_FEATURESMartin Jansa2021-06-241-1/+4
| | | | | | | | | | | | * added with to v2.0.29 commit: 106cad5 seccomp: add support for seccomp notify * fixes: | src/seccomp_notify.c:9:10: fatal error: seccomp.h: No such file or directory | 9 | #include <seccomp.h> | | ^~~~~~~~~~~ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to v2.0.29Bruce Ashfield2021-06-211-2/+2
| | | | | | | | | | | | | | | Bumping conmon to version v2.0.1-250-g1ef2468, which comprises the following commits: 1ef2468 Fix docs links due to branch rename 24c73c2 seccomp: fix for unsupported versions fc7830d bump to v2.0.30-dev 7e6de66 bump to v2.0.29 b033cb5 Reset OOM score back to 0 for container runtime 106cad5 seccomp: add support for seccomp notify 77dfb4b .cirrus.yml: raise the timeout to 60m 87330dc call functions registered with atexit on SIGTERM Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: add branch specification to SRC_URIBruce Ashfield2021-06-211-1/+1
| | | | | | | | The upstream project switched from master to main, so we add an explicit branch specification to avoid fetch errors (as the deafult of master no longer works). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to v2.0.28Bruce Ashfield2021-06-041-2/+2
| | | | | | | | | | | | | | | | | | | | 6b18f7e bump to v2.0.28 dd63dcb Cirrus: Update VM Images 096e2c1 conmon: do not chown /dev/null 3efab3e Add Kubernetes e2e tests as GitHub action 0114f3c move integration to gh actions 186038c run make vendor 31c5a2e add tests running a runtime c53c155 always set container pid file 1955f59 write runtime stderr to journal on error af1f3c4 some small cleanups 6c38b5a Use less resources 355dbf1 conn_sock: fix potential segfault 4587294 ci/gha: bump runc to rc93 92867a7 Add Podman integration test GitHub action 1ec43d9 bump to v2.0.28-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: update to v2.0.27Bruce Ashfield2021-04-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping to 2.0.27. Also, move to a _git suffix on the recipe. We already had one bump that made the extension and PV be out of sync. Since we track this by git increments, not release or release tarballs, the _git is appropriate. The following changes are part of this update: 3efab3e Add Kubernetes e2e tests as GitHub action 0114f3c move integration to gh actions 186038c run make vendor 31c5a2e add tests running a runtime c53c155 always set container pid file 1955f59 write runtime stderr to journal on error af1f3c4 some small cleanups 6c38b5a Use less resources 355dbf1 conn_sock: fix potential segfault 4587294 ci/gha: bump runc to rc93 92867a7 Add Podman integration test GitHub action 1ec43d9 bump to v2.0.28-dev 65fad4b bump to v2.0.27 dd99302 Add CRI-O integration test GitHub action 911c786 exec: don't fail on EBADFD 3ac015e close_fds: fix close of external fds 1c7e6fb Add arm64 static build binary c3f31c0 bump to v2.0.27-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon; update to 2.0.26Bruce Ashfield2021-02-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to version 2.0.26. Along with the following commits, we add a dependency on go-md2man-native, or the build will break. 0e155c8 bump to v2.0.26 2b87314 conn_sock: do not fail on EAGAIN de1a153 Update nix pin with `make nixpkgs` de1c681 bump to v2.0.26-dev 05ce716 bump to v2.0.25 d9bd8f8 conn_sock: fix double free 3af2776 src: avoid unuseful strdup a7418c0 fix propagation of PREFIX variable to docs/Makefile 0353110 bump to version 2.0.25-dev 9cbc71d bump to version 2.0.24 b39ce63 conn_sock: fix path opening 37217a3 bump to version 2.0.24-dev 0b961fc bump to version 2.0.23 93f5b30 conn_sock: add full-attach option 5e42e54 Update nix pin with `make nixpkgs` 0f092d5 conmon: store open FDs and close only them 43377e3 conn_sock: add function to close all readers e7e84a4 cgroup: store used file descriptors 74d6c46 conmon: do not use invalid fd 58d020a Update nix pin with `make nixpkgs` 6287bd8 conn_sock: make dest fd non blocking 715c680 bump to v2.0.23-dev 9c34a86 bump to 2.0.22 603154d conn_sock: Explicitly free a heap-allocated string 5df41fb Add conmon man page 7ae8f48 Update nix pin with `make nixpkgs` 9c55220 set locale to inherit environment 34e31d1 attach: always chdir 16a59f5 Update nix pin with `make nixpkgs` af7f652 Cirrus: Use images from automation_images 59c2817 Refactor I/O and add SD_NOTIFY proxy support eb93261 Update nix pin with `make nixpkgs` 7cb7fd7 Fix problems found by codespell dc7b3c3 bump to v2.0.22-dev 35a2fa8 bump to v2.0.21 bc88ac5 protect against kill(-1) 668b748 Makefile: enable debuginfo generation 1d7b3a5 Remove go.sum file and add go.mod 6eb222d Fail if conmon config could not be written 9d61f0f nix: remove double definition for e2fsprogs 76548e1 Speedup static build by utilizing CI cache on `/nix` folder 4fe8ba9 Fix nix build for failing e2fsprogs tests 7ab6aa1 test: fix CI 5a6b2ac Use Podman for building fe1563c bump to v2.0.21-dev 13244db bump to v2.0.20 5bc12e0 logs: readd sync, but gate behavior on cli flag 3055b86 bump to version 2.0.20-dev 25585dd bump to version 2.0.19 4fea27e handle children better 64926b7 nix run -f channel:nixos-20.03 eff699e Fix slave/master termonology 2f5eb89 Reap PIDs before running exit command fc4b36b Update log-path parsing and unit-tests to handle a lot more edge cases. b6ff975 conmon: drop fsync calls 02fcffe bump to v2.0.19-dev Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: uprev 2.0.11 > 2.0.18Ming Liu2020-07-241-7/+2
| | | | | | | | Also drop useless SRC_URI[md5sum], SRC_URI[sha256sum] and FILES_${PN}, and add SRCPV to PV. Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: bump to version 2.0.11Stefan Agner2020-03-131-1/+1
| | | | | | | Bump to latest version 2.0.11 of conmon. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: compile with journald support if systemd is enabledStefan Agner2020-01-291-0/+3
| | | | | | | | | | | | | Currently conman is compiled without journald support which leads to this error message when trying to use it (e.g. --log-driver=journald with podman): [conmon:e] Include journald in compilation path to log to systemd journal Make sure to build with journald backend compiled-in when systemd is in distro features by adding systemd to DEPENDS (through PACKAGECONFIG). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: bump to version 2.0.9Stefan Agner2020-01-172-33/+1
| | | | | | | | Bump to latest version 2.0.9. This also makes our Makefile fix obsolete as the fix has been aplied upstream. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: initial addStefan Agner2019-10-022-0/+61
Add conmon, a OCI container runtime monitor. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>