mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-18 06:44:23 +01:00
Merge pull request #4671 from liubin/4670-upgrade-nix
kata-sys-util: upgrade nix version
This commit is contained in:
@@ -12,7 +12,7 @@ async-trait = "0.1.48"
|
||||
dbs-utils = "0.1.0"
|
||||
go-flag = "0.1.0"
|
||||
libc = ">=0.2.39"
|
||||
nix = "0.16.1"
|
||||
nix = "0.24.1"
|
||||
seccompiler = "0.2.0"
|
||||
serde_json = ">=1.0.9"
|
||||
slog = "2.5.2"
|
||||
|
||||
@@ -14,7 +14,7 @@ lazy_static = "1.4.0"
|
||||
libc = ">=0.2.39"
|
||||
netlink-sys = "0.8.3"
|
||||
netlink-packet-route = "0.12.0"
|
||||
nix = "0.16.0"
|
||||
nix = "0.24.1"
|
||||
rand = "^0.7.2"
|
||||
rtnetlink = "0.10.0"
|
||||
scopeguard = "1.0.0"
|
||||
|
||||
@@ -128,7 +128,7 @@ impl ShareVirtioFsStandalone {
|
||||
info!(sl!(), "shutdown virtiofsd pid {}", pid);
|
||||
let pid = ::nix::unistd::Pid::from_raw(pid as i32);
|
||||
if let Err(err) = ::nix::sys::signal::kill(pid, nix::sys::signal::SIGKILL) {
|
||||
if err != ::nix::Error::Sys(nix::errno::Errno::ESRCH) {
|
||||
if err != ::nix::Error::ESRCH {
|
||||
return Err(anyhow!("failed to kill virtiofsd pid {} {}", pid, err));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ anyhow = "^1.0"
|
||||
async-trait = "0.1.48"
|
||||
containerd-shim-protos = { version = "0.2.0", features = ["async"]}
|
||||
lazy_static = "1.4.0"
|
||||
nix = "0.23.1"
|
||||
nix = "0.24.1"
|
||||
protobuf = "2.27.0"
|
||||
serde_json = "1.0.39"
|
||||
slog = "2.5.2"
|
||||
|
||||
@@ -19,7 +19,7 @@ containerd-shim-protos = { version = "0.2.0", features = ["async"]}
|
||||
go-flag = "0.1.0"
|
||||
libc = "0.2.108"
|
||||
log = "0.4.14"
|
||||
nix = "0.23.1"
|
||||
nix = "0.24.1"
|
||||
protobuf = "2.27.0"
|
||||
sha2 = "=0.9.3"
|
||||
slog = {version = "2.5.2", features = ["std", "release_max_level_trace", "max_level_trace"]}
|
||||
|
||||
Reference in New Issue
Block a user