Skip to content

kitchen-docker /dev/loop issue #231

Description

@snowtigger

The following command in my .kitchen.yml

provision_command:

  • mknod /dev/loop2 -m 0666 b 7 2

creates /dev/loop2 but not in the correct mode as specified by -m 0666.

The following commands give errors "cannot access `/dev/loop2': No such file or directory"

  • chmod 0777 /dev/loop2
  • chown kitchen /dev/loop2

Seems like access to /dev/loop* is restricted in kitche-docker. How to make this work?
I have privileged: true in my .kitchen.yml.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions