1
0
mirror of https://github.com/containers/youki synced 2024-11-23 09:21:57 +01:00
Commit Graph

897 Commits

Author SHA1 Message Date
dependabot[bot]
b26c790ec6
chore(deps): bump regex from 1.9.0 to 1.9.1
Bumps [regex](https://github.com/rust-lang/regex) from 1.9.0 to 1.9.1.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.9.0...1.9.1)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 01:08:22 +00:00
dependabot[bot]
8b6675b043
chore(deps): bump thiserror from 1.0.41 to 1.0.43
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-07 00:21:24 +00:00
dependabot[bot]
c308166cb8
chore(deps): bump regex from 1.8.4 to 1.9.0
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.4...1.9.0)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 06:53:10 +00:00
dependabot[bot]
52b40dfed5
chore(deps): bump vergen from 8.2.1 to 8.2.4
Bumps [vergen](https://github.com/rustyhorde/vergen) from 8.2.1 to 8.2.4.
- [Release notes](https://github.com/rustyhorde/vergen/releases)
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.1...8.2.4)

---
updated-dependencies:
- dependency-name: vergen
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 00:50:09 +00:00
dependabot[bot]
c988dd4330
chore(deps): bump thiserror from 1.0.40 to 1.0.41
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41)

---
updated-dependencies:
- dependency-name: thiserror
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-05 01:06:20 +00:00
Toru Komatsu
9ba5d8c41f
Merge pull request #2068 from yihuaf/yihuaf/export-spec
re-export oci-spec in libcontainer
2023-07-04 21:19:13 +09:00
Yashodhan Joshi
0aae345a0b Add typing to VM 2023-07-04 15:23:43 +05:30
yihuaf
bf014a2586 fix review
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:19:47 -07:00
yihuaf
2a1355e553 address review
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:15:55 -07:00
yihuaf
524e56d78b re-export the oci-spec the libcontainer
uses

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:11:15 -07:00
yihuaf
6b00ef48f5 pin oci-spec crate version
The oci-spec crate can introduce breakage, so we should pin to specific
version we support.

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-07-04 02:11:15 -07:00
dependabot[bot]
1474e801a1
chore(deps): bump wasmedge-sdk from 0.8.1 to 0.9.0
Bumps [wasmedge-sdk](https://github.com/WasmEdge/WasmEdge) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/WasmEdge/WasmEdge/releases)
- [Changelog](https://github.com/WasmEdge/WasmEdge/blob/master/Changelog.md)
- [Commits](https://github.com/WasmEdge/WasmEdge/compare/0.8.1...0.9.0)

---
updated-dependencies:
- dependency-name: wasmedge-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 11:56:17 +00:00
dependabot[bot]
f24c259b70
chore(deps): bump bitflags from 2.3.2 to 2.3.3
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.3.2...2.3.3)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-28 01:06:05 +00:00
Yashodhan Joshi
367aa8c9de Update wasm related deps
- wasmer 3.2.0 -> 4.0.0
- wasmer-wasix 0.4.0 -> 0.9.0
- wasmtime 9.0.4 -> 10.0.1
- wasmtime-wasi 9.0.4 -> 10.0.1
2023-06-26 13:16:31 +05:30
dependabot[bot]
e3dfbf391f
chore(deps): bump libc from 0.2.146 to 0.2.147 (#2086)
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.146 to 0.2.147.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.146...0.2.147)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-26 11:20:13 +05:30
utam0k
60ed236ca5
v0.1.0
Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-20 11:56:07 +00:00
Eric Fang
f4e7e300e6
Fix the feature test and turn on in CI (#2060)
* reworked the justfile to be explicit with path

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix the feature tests

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add the musl test

Signed-off-by: yihuaf <yihuaf@unkies.org>

* moving all stub into a single dir

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-19 21:21:18 +09:00
Eric Fang
ebef6dba09
Introduce a log-level flag. (#2036)
* Implement `--log-level`

In short:

Propose the default log level for release to error
Keep the --debug flag and it sets the log level to debug
Introduce --log-level flag to set the log level
--debug flag will be ignored if --log-level flag is also set.
Keep the default log level for debug build to debug

Signed-off-by: yihuaf <yihuaf@unkies.org>

* minor fix to CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* move log-level to youki_extend

Signed-off-by: yihuaf <yihuaf@unkies.org>

* remove the workflow_dispatch trigger

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-17 21:56:49 +09:00
dependabot[bot]
686bb10dc5
chore(deps): bump wasmtime-wasi from 9.0.3 to 9.0.4
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-15 01:14:41 +00:00
github-actions[bot]
0c4133b226
Merge pull request #2052 from containers/dependabot/cargo/wasmtime-9.0.4 2023-06-14 01:29:54 +00:00
dependabot[bot]
dd24f863d7
chore(deps): bump wasmtime from 9.0.3 to 9.0.4
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.3 to 9.0.4.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.3...v9.0.4)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 01:19:15 +00:00
dependabot[bot]
715b5ec419
chore(deps): bump bitflags from 2.3.1 to 2.3.2
Bumps [bitflags](https://github.com/bitflags/bitflags) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/bitflags/bitflags/releases)
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md)
- [Commits](https://github.com/bitflags/bitflags/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: bitflags
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-14 01:12:27 +00:00
dependabot[bot]
66896c23cc
chore(deps): bump fastrand from 1.9.0 to 2.0.0 (#2032)
Bumps [fastrand](https://github.com/smol-rs/fastrand) from 1.9.0 to 2.0.0.
- [Release notes](https://github.com/smol-rs/fastrand/releases)
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/smol-rs/fastrand/compare/v1.9.0...v2.0.0)

---
updated-dependencies:
- dependency-name: fastrand
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-11 21:51:20 -07:00
Toru Komatsu
f5f2242f85
Don't create a file when it already exists when mounting with bind (#2031)
For example, it is more likely that the /etc/hosts file already exists. In that case, it fails because it tries to open the file with write permission while it is RO.

Signed-off-by: utam0k <k0ma@utam0k.jp>
2023-06-11 21:50:53 -07:00
yihuaf
c23edc02cc add some tracing
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 12:11:12 -07:00
yihuaf
545b13da86 bump oci-spec version to 0.6.1
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-09 11:24:57 -07:00
Eric Fang
3a790dffe9
Using typos-cli to catch typos + fixes for existing typos (#2018)
* adds a typos configuration file

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix all the typos

Signed-off-by: yihuaf <yihuaf@unkies.org>

* add typos to justfile and CI

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

* fix

Signed-off-by: yihuaf <yihuaf@unkies.org>

---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-08 10:19:17 +05:30
dependabot[bot]
0e2719d5b2
chore(deps): bump libc from 0.2.145 to 0.2.146
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.145 to 0.2.146.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.145...0.2.146)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-07 01:30:21 +00:00
Jorge Prendes
2ff8b97e67
Do not try to acquire capabilities we are not allowed to (#2000)
Currently reset_effective tries to acquire all know capabilities from a hardcoded list.
According to https://man7.org/linux/man-pages/man7/capabilities.7.html only capabilities in the permitted set can be acquired.
Trying to acquire a capability beyond those in the permitted set will result in EPERM (see https://man7.org/linux/man-pages/man2/capset.2.html).
This change modifies reset_effective so that it only acquires the capabilities in the permitted set.

Signed-off-by: Jorge Prendes <jorge.prendes@gmail.com>
2023-06-06 01:26:33 -07:00
dependabot[bot]
e54ebe8984
chore(deps): bump regex from 1.8.3 to 1.8.4
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.3 to 1.8.4.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.3...1.8.4)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 05:17:28 +00:00
dependabot[bot]
8fca7d7fa0
chore(deps): bump wasmtime-wasi from 9.0.2 to 9.0.3
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 01:10:53 +00:00
Yashodhan
79b6450a86
Replace Makefiles with Just (#1823)
Refactored the build system using `justfile`.

* Use just in CI instead of makefiles

* Remove makefiles completely

* Increase timeout in rust validation
2023-06-05 09:24:33 -07:00
dependabot[bot]
9d5dafbdf1
chore(deps): bump wasmtime from 9.0.2 to 9.0.3 (#1993)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.2 to 9.0.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.2...v9.0.3)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:36:26 -07:00
dependabot[bot]
d1811c7867
chore(deps): bump once_cell from 1.17.2 to 1.18.0 (#2001)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.2 to 1.18.0.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.2...v1.18.0)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-04 23:35:48 -07:00
Eric Fang
d09c984567
do not log error in the syscall crate (#1973)
* do not log error for mount in specific cases
* clean up the logs in the syscall module
* update toolchain to rust 1.70
---------

Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-06-04 23:19:51 -07:00
dependabot[bot]
90946a1fbe
chore(deps): bump libc from 0.2.144 to 0.2.145
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.144 to 0.2.145.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.144...0.2.145)

---
updated-dependencies:
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-05 01:54:19 +00:00
dependabot[bot]
237e75f07f
chore(deps): bump rbpf from 0.1.0 to 0.2.0 (#1994)
Bumps [rbpf](https://github.com/qmonnet/rbpf) from 0.1.0 to 0.2.0.
- [Commits](https://github.com/qmonnet/rbpf/compare/v0.1.0...v0.2.0)

---
updated-dependencies:
- dependency-name: rbpf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-01 11:12:31 -07:00
Toru Komatsu
cb75d26d8f
Merge pull request #1975 from yihuaf/yihuaf/journald
Implemented sending logs to systemd-journald
2023-05-31 20:47:37 +09:00
github-actions[bot]
c3f73557e6
Merge pull request #1986 from containers/dependabot/cargo/wasmtime-wasi-9.0.2 2023-05-30 01:20:36 +00:00
dependabot[bot]
eceff1f2f4
chore(deps): bump wasmtime-wasi from 9.0.1 to 9.0.2
Bumps [wasmtime-wasi](https://github.com/bytecodealliance/wasmtime) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: wasmtime-wasi
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 01:10:14 +00:00
dependabot[bot]
3b84293b24
chore(deps): bump once_cell from 1.17.1 to 1.17.2
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.17.1 to 1.17.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.17.1...v1.17.2)

---
updated-dependencies:
- dependency-name: once_cell
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-30 01:09:53 +00:00
yihuaf
32f57e5b5c deprecate crossbeam since it is merged with std
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-28 23:45:51 -07:00
dependabot[bot]
34b17adf42
chore(deps): bump wasmtime from 9.0.1 to 9.0.2 (#1981)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v9.0.1...v9.0.2)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-28 19:58:31 -07:00
github-actions[bot]
3e1e4c8e79
Merge pull request #1977 from containers/dependabot/cargo/syscalls-0.6.12 2023-05-29 01:58:21 +00:00
dependabot[bot]
ec989b7748
chore(deps): bump syscalls from 0.6.11 to 0.6.12
Bumps [syscalls](https://github.com/jasonwhite/syscalls) from 0.6.11 to 0.6.12.
- [Changelog](https://github.com/jasonwhite/syscalls/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jasonwhite/syscalls/compare/0.6.11...0.6.12)

---
updated-dependencies:
- dependency-name: syscalls
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:46:00 +00:00
dependabot[bot]
b178abbf65
chore(deps): bump mio from 0.8.6 to 0.8.7
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.6 to 0.8.7.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/commits)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-29 01:39:53 +00:00
yihuaf
05305afa5c implemented sending logs to systemd
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-27 00:04:06 -07:00
Toru Komatsu
65aceec198
Merge pull request #1963 from yihuaf/yihuaf/coverage
Add some clean up that improves coverage
2023-05-26 21:40:42 +09:00
dependabot[bot]
19db135686
chore(deps): bump regex from 1.8.2 to 1.8.3
Bumps [regex](https://github.com/rust-lang/regex) from 1.8.2 to 1.8.3.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.8.2...1.8.3)

---
updated-dependencies:
- dependency-name: regex
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-26 01:17:48 +00:00
yihuaf
4fb9a36e1c rename to o11y
Signed-off-by: yihuaf <yihuaf@unkies.org>
2023-05-24 22:47:25 -07:00