Details
-
Type: Dev Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Fix Version/s: Vz7.0-RTM
-
Component/s: Containers::Userspace
-
Security Level: Public
Description
To enable AutoFS support in a container, the following have to be performed:
1) Allow "/dev/autofs" device in a container:
echo "c 10:235 rwm" > /sys/fs/cgroup/devices/CTID/devices.allow
2) Create device node in container via tmpfiles.d:
# cat /etc/tmpfiles.d/device-autofs.conf
c /dev/autofs 0700 root root - 10:235
1) Allow "/dev/autofs" device in a container:
echo "c 10:235 rwm" > /sys/fs/cgroup/devices/CTID/devices.allow
2) Create device node in container via tmpfiles.d:
# cat /etc/tmpfiles.d/device-autofs.conf
c /dev/autofs 0700 root root - 10:235