------------------------------------------------------------------- Thu Feb 25 15:41:49 UTC 2021 - Alexandre Vicenzi - Update to version 2.0.26: * conn_sock: do not fail on EAGAIN * fix segfault from a double freed pointer * Fix a bug where conmon could never spawn a container, because a disagreement between the caller and itself on where the attach socket was. * improve --full-attach to ignore the socket-dir directly. that means callers don't need to specify a socket dir at all (and can remove it) * add full-attach option to allow callers to not truncate a very long path for the attach socket * close only opened FDs * set locale to inherit environment ------------------------------------------------------------------- Tue Jan 12 08:10:52 UTC 2021 - sgrunert@suse.com - Update to version 2.0.22: * added man page * attach: always chdir * conn_sock: Explicitly free a heap-allocated string * refactor I/O and add SD_NOTIFY proxy support ------------------------------------------------------------------- Mon Sep 21 07:06:04 UTC 2020 - dmueller@suse.com - Update to version 2.0.21: * bump to v2.0.21 * protect against kill(-1) * Makefile: enable debuginfo generation * Remove go.sum file and add go.mod * Fail if conmon config could not be written * nix: remove double definition for e2fsprogs * Speedup static build by utilizing CI cache on `/nix` folder * Fix nix build for failing e2fsprogs tests * test: fix CI * Use Podman for building ------------------------------------------------------------------- Wed Jul 29 10:20:58 UTC 2020 - Sascha Grunert - Update to v2.0.20 (bsc#1175821) - journald: fix logging container name - container logging: Implement none driver - "off", "null" or "none" all work. - ctrl: warn if we fail to unlink - Drop fsync calls - Reap PIDs before running exit command - Fix log path parsing - Add --sync option to prevent conmon from double forking - Add --no-sync-log option to instruct conmon to not sync the logs of the containers upon shutting down. This feature fixes a regression where we unconditionally dropped the log sync. It is possible the container logs could be corrupted on a sudden power-off. If you need container logs to remain in consistent state after a sudden shutdown, please update from v2.0.19 to v2.0.20 ------------------------------------------------------------------- Wed May 27 06:55:07 UTC 2020 - Sascha Grunert - Update to v2.0.17 - Add option to delay execution of exit command ------------------------------------------------------------------- Mon May 18 07:38:30 UTC 2020 - Sascha Grunert - Update to v2.0.16 - tty: flush pending data when fd is ready ------------------------------------------------------------------- Fri Apr 3 14:33:46 UTC 2020 - Ralf Haferkamp - Enable support for journald logging (bsc#1162432) ------------------------------------------------------------------- Fri Apr 3 07:22:43 UTC 2020 - Sascha Grunert - Update to v2.0.15 - store status while waiting for pid ------------------------------------------------------------------- Wed Mar 25 08:55:06 UTC 2020 - Sascha Grunert - Update to v2.0.14 - drop usage of splice(2) - avoid hanging on stdin - stdio: sometimes quit main loop after io is done - ignore sigpipe ------------------------------------------------------------------- Tue Mar 17 10:10:44 UTC 2020 - Ralf Haferkamp - Update to v2.0.12 - oom: fix potential race between verification steps ------------------------------------------------------------------- Thu Mar 5 08:06:24 UTC 2020 - Sascha Grunert - Update to v2.0.11 - log: reject --log-tag with k8s-file - chmod std files pipes - adjust score to -1000 to prevent conmon from ever being OOM killed - container OOM: verify cgroup hasn't been cleaned up before reporting OOM ------------------------------------------------------------------- Fri Feb 21 09:22:06 UTC 2020 - Ralf Haferkamp - Update to v2.0.10 (bsc#1160460, bsc#1164390, jsc#ECO-1048, jsc#SLE-11485, jsc#SLE-11331): - journal logging: write to /dev/null instead of -1 ------------------------------------------------------------------- Tue Jan 7 12:20:08 UTC 2020 - Sascha Grunert - Add TimedOutMessage to config to share with go code - Fix format string to limit the size of the string to 10 characters ------------------------------------------------------------------- Mon Dec 16 08:41:54 UTC 2019 - Sascha Grunert - Persist oom files on cgroup v2 - Revert the check for the OOM counter on cgroups v1 before writing OOM file ------------------------------------------------------------------- Fri Dec 13 08:23:04 UTC 2019 - Sascha Grunert - Add --persist-dir flag to allow important container files to be written to a persistent directory - Check OOM counter on cgroups v1 before writing OOM file - Use splice(2) to copy from stdin ------------------------------------------------------------------- Thu Dec 12 11:37:19 UTC 2019 - Sascha Grunert - Kill the process group on timeout ------------------------------------------------------------------- Wed Dec 11 07:39:29 UTC 2019 - Sascha Grunert - Add --persist-dir to allow callers to specify a directory that conmon should mirror certain important files that should persist reboots (right now, just the container exit file) ------------------------------------------------------------------- Mon Dec 9 17:34:49 UTC 2019 - Sascha Grunert - Fix tight loop on OOM ------------------------------------------------------------------- Thu Nov 14 14:25:29 UTC 2019 - Sascha Grunert - Add log level trace - Separate handling of log reopen events and terminal resize events ------------------------------------------------------------------- Tue Oct 29 09:03:03 UTC 2019 - Sascha Grunert - Add CONN_SOCK_BUF_SIZE to config - Fix bug to close the sync pipe before exit command ------------------------------------------------------------------- Mon Sep 16 16:59:28 UTC 2019 - Sascha Grunert - Set masterfd_stdout before registering ctrl_cb ------------------------------------------------------------------- Sat Aug 24 04:10:04 UTC 2019 - Jan Engelhardt - Upstream has an actual description, use it instead of just duplicating the summary again. ------------------------------------------------------------------- Fri Aug 16 11:48:30 UTC 2019 - Sascha Grunert - Use `%make_build` macro instead of `%{__make}` - Use `%make_install` macro instead of `%{__make} install` - Use `%{_bindir}` macro instead of `%{_usr}/bin` - Change `PREFIX` to not contain `%{buildroot}` and use the `$DESTDIR` variable ------------------------------------------------------------------- Mon Aug 12 06:41:41 UTC 2019 - Sascha Grunert - Initial release v2.0.0