Commit graph

14 commits

Author SHA1 Message Date
Oskari Rauta
7728e1eb39 crun: update to 1.9
Changes:
 - support arbitrary idmapped mounts. Now it is possible to specify a mapping for any type of mount, not only bind mounts.
 - add support for "ridmap" mount option to support recursive idmapped mounts.
 - fix check for oom_score_adj. Write the oom_score_adj file even when the new value is 0.
 - features: Support mountExtensions.
 - correctly handle unknown signal string when it doesn't start with a digit.
 - do not attempt to join again already joined namespace.
 - wasmer: use latest wasix API.
 - refresh libocispec

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-09-16 21:42:58 +08:00
Oskari Rauta
6b75cb2860 crun: update v1.8.5
Moved to from git to release version,
but release version does not have submodule
libocispec included, so additional download added.

Release notes: https://github.com/containers/crun/releases

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-06-11 17:32:01 +03:00
Tianling Shen
6f5dbdba0f
crun: add libgcrypt dependency
Fixes: ad0aa1b2fc ("crun: update to 1.7.2")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-01-22 15:28:07 +08:00
Oskari Rauta
ad0aa1b2fc crun: update to 1.7.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-01-11 19:52:34 +08:00
Hauke Mehrtens
91c2a71776 crun: Update to version 1.6
This fixes compilation problems with glibc 2.36.

Full changelog:
* crun-1.6

- runc compatibility: -v now prints the version string.
- build: fix build with glibc 2.36.
- container: drop intermediate userns custom feature.
- cgroup: change the delegate cgroup semantic so that the cgroup is
  created in the container payload after the cgroup namespace is created.
- seccomp: use helper process to send file descriptor to the listener
  socket.  It enables to be notified on every syscall without hanging
  the main process.
- linux: add a fallback to using kill(2) if pidfd_send_signal(2) fails
  with ENOSYS.
- krun: add support for krun-sev.
- wasmtime: always grant file system capability for workdir inside the container.
- wasmtime: inherit arguments list from the handler instead of the current process.
- wasmedge: use released wasmedge library instead of libwasmedge_c.so.

* crun-1.5

- add mono based native .NET handler
- new Wasmtime backend for running WebAssembly
- add support for wasmedge 0.10 and dropping support for wasmedge 0.9.x
- dropping support for experimental `WasmEdgeProcess` from wasmedge handler
- honor process user's uid when setting the HOME environment variable
- create the current working directory if it is missing in the container
- fallback to using a tmpfs mount if umount of /sys and /proc fails
- fallback to netlink to setup lo device
- fix creating devices in the rootfs
- fallback to using io.weight if io.bfq.weight doesn't exist
- remove tun/tap from the default allow list
- linux: devices mounts have noexec and nosuid
- fix copyup of files from the container to the tmpfs
- honor $PATH for newgidmap and newguidmap
- krun: limit the number of vCPUs to 8
- cgroup: add support for cpu.idle

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-11-11 15:10:30 -08:00
Oskari Rauta
f95c7a5cec crun: update to version 1.4.5
- CRIU: add support for different manage cgroups modes.
 - the hook processes inherit the crun process environment if there is no environment block specified in the OCI configuration.
 - exec: fix double free when using --apparmor and --process-label.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-05-10 00:00:22 +03:00
Oskari Rauta
76c311d1c5 crun: update to version 1.4.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-02 16:31:13 -08:00
Oskari Rauta
05dcb333be crun: update to v1.4.1
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-01-24 15:45:16 -08:00
Oskari Rauta
7034d3cbba crun: update to 1.3
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-24 21:29:04 +00:00
Oskari Rauta
3873a850a5 crun: update to version 1.2
release notes:

0.20.1
 - container: ignore error when resetting the SELinux label for the keyring.

0.21
 - when compiled with krun, automatically use it if the current executable file is called "krun"
 - cgroup: lookup pids controller as well when the memory controller is not available
 - status: add fields for owner and created timestamp
 - honor memory swappiness set to 0

1.0
 - Fix symlink target mangling for tmpcopyup targets.
 - Makefile.am: fix link error when using directly libcrun.
 - cgroup: add support for setting memory.use_hierarchy on cgroup v1.
 - linux: treat pidfd_open failures EINVAL as ESRCH.
 - cgroup: chown the current container cgroup to root in the container.

1.1
 - utils: retry openat2 on EAGAIN. If the openat2 syscall is interrupted, try again.
 - criu: fix save of external descriptors. Now restored containers attach correctly their standard streams.
 - criu: Add support for external PID namespace.
 - container: Set primary process to 1 via LISTEN_PID by default if user configuration is missing.
 - exec: refuse to exec in a paused container/cgroup.
 - cgroup: use cgroup.kill when available. It is faster to kill a container through its cgroup as there is no need to recurse over the cgroup pids and terminate each one of them.

1.2
 - criu: add support for external ipc, uts and time namespaces.
 - exec: fix regression in 1.1 where containers are being wrongly reported as paused.

Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-11-05 07:21:36 +01:00
Oskari Rauta
0b609eb373 crun: update to 3.2.0
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-06-08 03:15:15 +03:00
Oskari Rauta
616d867e48 crun: bumb to version 0.19.1
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-05-19 17:30:03 +03:00
Eneas U de Queiroz
048e1d2d63
crun: Don't build on arc
The package needs libseccomp, which does not currently support arc.
In order to avoid a circular dependency, we must avoid arc here as well.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-04-11 21:21:14 -03:00
Oskari Rauta
01d1a4969e crun: add package crun
crun is the prefered container run-time of podman, it's faster than
runc and has a much lower memory footprint.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2021-03-30 00:21:29 +01:00