mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 10:31:35 +00:00
Remove SELinux setup until actually implemented
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
efd1efe531
commit
821fdaecc8
@ -63,14 +63,6 @@ done < /proc/cgroups
|
|||||||
mkdir -p /sys/fs/cgroup/systemd
|
mkdir -p /sys/fs/cgroup/systemd
|
||||||
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
|
mount -t cgroup -o none,name=systemd cgroup /sys/fs/cgroup/systemd
|
||||||
|
|
||||||
# set SELinux contexts
|
|
||||||
if [ -x /sbin/restorecon ]
|
|
||||||
then
|
|
||||||
restorecon -F /sys/devices/system/cpu/online >/dev/null 2>&1
|
|
||||||
restorecon -rF /sys/fs/cgroup >/dev/null 2>&1
|
|
||||||
restorecon -rF /dev >/dev/null 2>&1
|
|
||||||
fi
|
|
||||||
|
|
||||||
# start mdev for hotplug
|
# start mdev for hotplug
|
||||||
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
|
echo "/sbin/mdev" > /proc/sys/kernel/hotplug
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user