You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifletSome(added_devices) = linux.devices(){
tracing::debug!("with linux added devices: {:?}", added_devices);
devicer.create_devices(
rootfs,default_devices().iter().chain(added_devices),
bind_devices,)}else{
tracing::debug!("with only default devices");
devicer.create_devices(rootfs,&default_devices(), bind_devices)}?;
in prepare_rootfs
when run with docker --privileged, since all host devices can be accessed in /dev, this causes some duplicated devices in default_devices() and linux.devices() which are then chained together.
On my machine, I got failed to mknod device LinuxDevice { path: "/dev/full", typ: C, major: 1, minor: 7, file_mode: Some(438), uid: Some(0), gid: Some(0) } with err Nix(EEXIST)
The text was updated successfully, but these errors were encountered:
Hey, thanks for the bug report!
Can you post the complete command that you used to do this, as well as the docker setup/ config that you used, so we can try reproducing this?
in
prepare_rootfs
when run with docker --privileged, since all host devices can be accessed in /dev, this causes some duplicated devices in
default_devices()
andlinux.devices()
which are then chained together.On my machine, I got
failed to mknod device LinuxDevice { path: "/dev/full", typ: C, major: 1, minor: 7, file_mode: Some(438), uid: Some(0), gid: Some(0) } with err Nix(EEXIST)
The text was updated successfully, but these errors were encountered: