The container starts but no network. And restarting services returns permission error I didn't have before. Example with httpd :just re-read the messages - those are not nesting related, but setting sysctls that are not settable in a container because they would affect the whole host. does the container actually not work, or are you just worried about those messages?
Code:
# service httpd restart
/etc/init.d/functions: ligne63: /dev/stderr: Permission non accordée
Redirecting to /bin/systemctl restart httpd.service
Restarting network fails (from journalctl) :
Code:
-- L'unité (unit) network.service a commencé à démarrer.
mars 29 10:56:27 domain.com systemd-sysctl[908]: Failed to write '0' to '/proc/sys/kernel/yama/ptrace_scope': Read-only file
mars 29 10:56:27 domain.com systemd-sysctl[908]: Failed to write '16' to '/proc/sys/kernel/sysrq': Read-only file system
mars 29 10:56:27 domain.com systemd-sysctl[908]: Failed to write '1' to '/proc/sys/kernel/core_uses_pid': Read-only file syst
mars 29 10:56:27 domain.com systemd-sysctl[908]: Failed to write '1' to '/proc/sys/kernel/kptr_restrict': Read-only file syst
mars 29 10:56:27 domain.com systemd-sysctl[908]: Failed to write '1' to '/proc/sys/fs/protected_hardlinks': Read-only file sy
mars 29 10:56:27 domain.com systemd-sysctl[908]: Failed to write '1' to '/proc/sys/fs/protected_symlinks': Read-only file sys
mars 29 10:56:27 domain.com network[880]: Bringing up loopback interface: [ OK ]
mars 29 10:56:27 domain.com network[880]: Bringing up interface eth0: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: [ OK ]
mars 29 10:56:27 domain.com network[880]: Bringing up interface venet0: ERROR : [/etc/sysconfig/network-scripts/ifup-eth
mars 29 10:56:27 domain.com network[880]: [FAILED]
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com network[880]: RTNETLINK answers: File exists
mars 29 10:56:27 domain.com systemd-sysctl[1110]: Failed to write '0' to '/proc/sys/kernel/yama/ptrace_scope': Read-only file
mars 29 10:56:27 domain.com systemd-sysctl[1110]: Failed to write '16' to '/proc/sys/kernel/sysrq': Read-only file system
mars 29 10:56:27 domain.com systemd-sysctl[1110]: Failed to write '1' to '/proc/sys/kernel/core_uses_pid': Read-only file sys
mars 29 10:56:27 domain.com systemd-sysctl[1110]: Failed to write '1' to '/proc/sys/kernel/kptr_restrict': Read-only file sys
mars 29 10:56:27 domain.com systemd-sysctl[1110]: Failed to write '1' to '/proc/sys/fs/protected_hardlinks': Read-only file s
mars 29 10:56:27 domain.com systemd-sysctl[1110]: Failed to write '1' to '/proc/sys/fs/protected_symlinks': Read-only file sy
mars 29 10:56:27 domain.com systemd[1]: network.service: control process exited, code=exited status=1
mars 29 10:56:27 domain.com systemd[1]: Failed to start LSB: Bring up/down networking.
-- Subject: L'unité (unit) network.service a échoué
Last edited: