Commit 6e5622f8 authored by Julien Leduc's avatar Julien Leduc
Browse files

reverting: systemctl cannot see new services... There must be too many

services removed in the previous one.
The solution for now is to disable selinux on the host running the
containers.
parent 05afb08b
......@@ -104,16 +104,6 @@ RUN chmod 744 /etc/rc.local
# with an image that already contains selinux
ADD ${BASEDIR}/etc_selinux_config /etc/selinux/config
# remove a few services...
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;
# One more thing so that we can use systemd
VOLUME [ "/sys/fs/cgroup" ]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment