Skip to content
Permalink
Browse files

Merge pull request #2094 from sipsma/2093-nodotudev

Skip searching /dev/.udev for device nodes.
  • Loading branch information...
mrunalp committed Aug 5, 2019
2 parents 44f9ec1 + f08cdae commit 2e94378464ae22b92e1335c200edb37ebc94a1b7
Showing with 2 additions and 1 deletion.
  1. +2 −1 libcontainer/devices/devices.go
@@ -75,7 +75,8 @@ func getDevices(path string) ([]*configs.Device, error) {
case f.IsDir():
switch f.Name() {
// ".lxc" & ".lxd-mounts" added to address https://github.com/lxc/lxd/issues/2825
case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts":
// ".udev" added to address https://github.com/opencontainers/runc/issues/2093
case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".udev":
continue
default:
sub, err := getDevices(filepath.Join(path, f.Name()))

0 comments on commit 2e94378

Please sign in to comment.
You can’t perform that action at this time.