Commit Graph

9 Commits

Author SHA1 Message Date
Tianling Shen
8413ac157f crun: add libgcrypt dependency
Fixes: ad0aa1b2fc64e8 ("crun: update to 1.7.2")

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2023-03-01 19:16:57 +08:00
Oskari Rauta
4532695518 crun: update to 1.7.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-01-12 11:54:15 +08:00
Hauke Mehrtens
fd531f48b9 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-13 00:56:28 +08:00
breakings
1e72223a2d
crun: update to version 1.4.5 (#440)
- 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>

Co-authored-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-05-15 21:58:10 +08:00
Oskari Rauta
dae12e8732 crun: update to version 1.4.2
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-03 10:43:21 +00:00
Oskari Rauta
78ced5aaf8 crun: update to v1.4.1
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-03 10:43:12 +00:00
Oskari Rauta
99955b06c9 crun: update to 1.3
Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2022-03-03 10:43:02 +00:00
Oskari Rauta
cdcdc61c52 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>
2022-03-03 10:42:55 +00:00
lean
49b7495639 packages: merge upstream 2021-06-15 17:47:11 +08:00