Furisto
69b5d76fe4
Cpu period tests
2021-12-11 18:24:06 +01:00
utam0k
243be9ff1c
remove unneede impl Default
...
https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls
2021-12-11 21:33:21 +09:00
Furisto
9abeeb2407
Ensure cpu quota is not set if none is specified
2021-12-10 23:32:02 +01:00
Furisto
3d7247b5ca
Ensure cpu weight tests pass
...
Cpu weight should be set to maximum value if value exceeds the valid range.
2021-12-06 19:18:00 +01:00
dependabot[bot]
3cf41275ed
Bump libc from 0.2.108 to 0.2.109
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.108 to 0.2.109.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.108...0.2.109 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 01:38:21 +00:00
dependabot[bot]
86868292f7
Bump libbpf-sys from 0.5.0-2 to 0.6.0-1
...
Bumps [libbpf-sys](https://github.com/alexforster/libbpf-sys ) from 0.5.0-2 to 0.6.0-1.
- [Release notes](https://github.com/alexforster/libbpf-sys/releases )
- [Commits](https://github.com/alexforster/libbpf-sys/compare/0.5.0-2...0.6.0-1 )
---
updated-dependencies:
- dependency-name: libbpf-sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 01:09:16 +00:00
Furisto
af4d403fff
Cleanup & Clippy
2021-12-04 11:36:13 +01:00
Furisto
2902eaf348
Add feature config
2021-11-30 22:42:12 +01:00
Furisto
b501451a47
Remove dead code attributes
2021-11-30 21:04:22 +01:00
Furisto
f5cf390458
Ensure controllers are attached
2021-11-29 21:59:18 +01:00
dependabot[bot]
8792762cb6
Bump procfs from 0.11.0 to 0.11.1
...
Bumps [procfs](https://github.com/eminence/procfs ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/eminence/procfs/releases )
- [Commits](https://github.com/eminence/procfs/compare/v0.11.0...v0.11.1 )
---
updated-dependencies:
- dependency-name: procfs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-29 01:12:26 +00:00
Furisto
1a14c43c5b
Review feedback
...
- Add cgroups path to error context
- Correct spelling mistake
- Update sequence diagram
- Implement TryFrom for CgroupsPath
2021-11-28 20:43:16 +01:00
Furisto
9cff02435b
Cleanup
2021-11-24 22:35:21 +01:00
Furisto
64fd60dda3
Systemd manager updates
...
- Use systemd client to find systemd cgroup root
- Add error context
- Manager debug impl
- Comments
- Set default slice name for rootless and rootfull containers
2021-11-24 19:47:57 +01:00
Furisto
c6b91abf35
Define & implement trait for systemd client
2021-11-24 19:47:57 +01:00
Furisto
190a0bad38
Add session dbus connection
2021-11-24 19:47:57 +01:00
Furisto
f12082a9a6
Apply resource restrictions in rootless mode
2021-11-24 19:47:57 +01:00
dependabot[bot]
0dd9bb1156
Bump libc from 0.2.107 to 0.2.108
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.107 to 0.2.108.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.107...0.2.108 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 01:09:08 +00:00
Furisto
53d7313ab0
Cleanup
2021-11-19 16:49:17 +01:00
Furisto
be6471496e
Simplify tests
2021-11-17 23:59:44 +01:00
Furisto
ac01da8b60
Handle unlimited memory & fix cpu calculation
2021-11-17 23:20:38 +01:00
Furisto
bd97c153d1
Tests for systemd unified controller
2021-11-17 23:20:38 +01:00
Furisto
76bcc3cdc2
Implement systemd unified controller
2021-11-17 23:20:38 +01:00
Furisto
2181e2a896
Tests for systemd memory controller
2021-11-17 23:20:38 +01:00
Furisto
ca77bb8579
Implement systemd memory controller
2021-11-17 23:20:38 +01:00
yihuaf
b8adcf609a
enable default error code for seccomp
2021-11-12 07:49:47 +01:00
utam0k
e37554846c
cgroup
should not be capitalized.
...
https://www.kernel.org/doc/html/latest/admin-guide/cgroup-v2.html#terminology
2021-11-08 14:21:34 +09:00
dependabot[bot]
c9c2a213df
Bump libc from 0.2.106 to 0.2.107
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.106 to 0.2.107.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.106...0.2.107 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 01:11:36 +00:00
yukang
e96b756af1
merge with master
2021-11-07 15:13:37 +08:00
utam0k
2281b07f29
Merge pull request #451 from Furisto/systemd
...
Support resource control via systemd
2021-11-07 14:05:09 +09:00
Furisto
5ddc634d0b
Incorporate review feedback
...
- Correct spelling mistake
- Simplify cpu realtime check
- Reduce allocations
- Add docs
- Remove systemd dependency from libcontainer
2021-11-06 19:21:32 +01:00
Furisto
56d4d13d9a
Cleanup
2021-11-03 22:06:28 +01:00
dependabot[bot]
365023a7a3
Bump libbpf-sys from 0.5.0-1 to 0.5.0-2
...
Bumps [libbpf-sys](https://github.com/alexforster/libbpf-sys ) from 0.5.0-1 to 0.5.0-2.
- [Release notes](https://github.com/alexforster/libbpf-sys/releases )
- [Commits](https://github.com/alexforster/libbpf-sys/compare/0.5.0-1...0.5.0-2 )
---
updated-dependencies:
- dependency-name: libbpf-sys
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-02 00:34:01 +00:00
Furisto
b8cbd5532e
Tests for systemd cpu controller
2021-11-01 18:27:58 +01:00
Furisto
7bdb986038
Tests for systemd cpuset controller
2021-11-01 16:34:15 +01:00
Furisto
d483d5383b
Tests for systemd pids controller
2021-11-01 10:53:30 +01:00
Furisto
8b85bdc69b
Implement systemd pids controller
2021-11-01 10:10:21 +01:00
dependabot[bot]
b8d4d8f74e
Bump libc from 0.2.105 to 0.2.106
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.105 to 0.2.106.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.105...0.2.106 )
---
updated-dependencies:
- dependency-name: libc
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-11-01 01:14:14 +00:00
Furisto
63daaddcd4
Implement systemd cpuset controller
2021-10-31 21:32:50 +01:00
Furisto
37d9fa4cf7
Implement systemd cpu controller
2021-10-31 10:55:38 +01:00
Furisto
2bdf0fb80b
Support removal of systemd unit
2021-10-28 22:20:43 +02:00
Furisto
692f0adf86
Minimal working version
2021-10-28 21:53:58 +02:00
dependabot[bot]
cdcc39f443
Bump errno from 0.2.7 to 0.2.8
...
Bumps [errno](https://github.com/lambda-fairy/rust-errno ) from 0.2.7 to 0.2.8.
- [Release notes](https://github.com/lambda-fairy/rust-errno/releases )
- [Changelog](https://github.com/lambda-fairy/rust-errno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lambda-fairy/rust-errno/compare/v0.2.7...v0.2.8 )
---
updated-dependencies:
- dependency-name: errno
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-28 00:48:13 +00:00
Yashodhan Joshi
d44944a849
Update clap to beta 5
...
Reintroduce forbid_empty_values for container_id in commands
2021-10-27 15:55:16 +05:30
Furisto
edf47d8cfc
Remove systemd crate
2021-10-25 20:34:14 +02:00
Furisto
d018a24814
Move dbus code to libcgroups create
2021-10-25 20:16:56 +02:00
utam0k
9d4e6cd107
Merge pull request #429 from containers/dependabot/cargo/systemd-0.9.0
...
Bump systemd from 0.8.2 to 0.9.0
2021-10-25 13:32:59 +09:00
dependabot[bot]
8df5e8d8a8
Bump systemd from 0.8.2 to 0.9.0
...
Bumps [systemd](https://github.com/jmesmon/rust-systemd ) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/jmesmon/rust-systemd/releases )
- [Changelog](https://github.com/jmesmon/rust-systemd/blob/master/release.toml )
- [Commits](https://github.com/jmesmon/rust-systemd/commits )
---
updated-dependencies:
- dependency-name: systemd
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 01:32:50 +00:00
dependabot[bot]
af85b99278
Bump nix from 0.22.1 to 0.23.0
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.22.1 to 0.23.0.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.22.1...v0.23.0 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-25 01:32:06 +00:00
dependabot[bot]
9762f1ff77
Bump libbpf-sys from 0.4.0-2 to 0.5.0-1
...
Bumps [libbpf-sys](https://github.com/alexforster/libbpf-sys ) from 0.4.0-2 to 0.5.0-1.
- [Release notes](https://github.com/alexforster/libbpf-sys/releases )
- [Commits](https://github.com/alexforster/libbpf-sys/compare/0.4.0-2...0.5.0-1 )
---
updated-dependencies:
- dependency-name: libbpf-sys
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-24 11:57:59 +00:00
dependabot[bot]
f462789be9
Bump libc from 0.2.101 to 0.2.105 ( #419 )
...
Bumps [libc](https://github.com/rust-lang/libc ) from 0.2.101 to 0.2.105.
- [Release notes](https://github.com/rust-lang/libc/releases )
- [Commits](https://github.com/rust-lang/libc/compare/0.2.101...0.2.105 )
---
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>
2021-10-24 04:56:09 -07:00
dependabot[bot]
574859c53a
Bump dbus from 0.9.3 to 0.9.5
...
Bumps [dbus](https://github.com/diwic/dbus-rs ) from 0.9.3 to 0.9.5.
- [Release notes](https://github.com/diwic/dbus-rs/releases )
- [Commits](https://github.com/diwic/dbus-rs/compare/dbus-v0.9.3...dbus-v0.9.5 )
---
updated-dependencies:
- dependency-name: dbus
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-10-24 09:36:22 +00:00
yukang
08ebd9e373
update to edition 2021
2021-10-23 22:32:47 +08:00
Furisto
087938243b
Add lib prefix to other crates
2021-10-22 22:05:14 +02:00