Skip to content
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
case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts":
// ".udev" added to address
case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".udev":
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.