Releases: fubarnetes/libjail-rs
Releases · fubarnetes/libjail-rs
0.1.0
Changes
Known Issues
- Due to an issue with
type_length_limit
increasing exponentially,
consumers of libjail-rs may have to set an increasedtype_length_limit
on their crate.
(#59)
Added
- implementations for
TryFrom
to start / stop jails. - example showing how to query RCTL usage.
- code coverage with codecov.io. Unfortunately, this doesn't yet take docstests
into account, so coverage is actually a bit better in reality. - serialization support for stopped jails with serde (#53)
Changed
- Published
RunningJails
asRunningJailIter
RunningJail::from_jid(...)
now returns anOption<RunningJail>
depending on
whether a Jail exists with that JID. The old behaviour of
RunningJail::from_jid(...)
can be found in
RunningJail::from_jid_unchecked(...)
- Added debug logging using the
log
crate.
Bugfixes
- Increased
type_length_limit
to 17825821 to fix a build failure on
Rust 1.35.0 (See #59, #60, rust-lang/rust#58952). RunningJails::params()
now correctly fails when an error occurs while
reading parameters.
0.0.6
Changes
Added
- support for setting tunable jail parameters
- support for non-persistent jails
Changed
- examples/jls: fixed
nix
version mismatch withrctl
crate - fixed jail teardown and save if RCTL not enabled
RunningJail
now derivesCopy
.RunningJail::jail_attach
is now public.RunningJail::save
now no longer saves thevnet
parameter if it is set to
inherit
(2). See #34.- updated rctl to 0.0.5
- updated prettytable-rs to 0.8.0