How to enable Linux namespace in system based on kernel 2.6.38 and initd? -


i want run lxc 2.0 on linux kernel 2.6.38 , init.d, whether both kernel version , initd mandatory.

i have recompiled kernel namespace support follow.

# kernel parameters config_namespaces=y config_cgroup_ns=y config_uts_ns=y config_ipc_ns=y config_user_ns=y config_pid_ns=y config_net_ns=y   [root@ts ~]# config=$(pwd)/.config lxc-checkconfig --- namespaces --- namespaces: enabled utsname namespace: enabled ipc namespace: enabled pid namespace: enabled user namespace: enabled newuidmap not installed newgidmap not installed network namespace: enabled multiple /dev/pts instances: enabled --- control groups --- cgroup: enabled cgroup clone_children flag: enabled cgroup device: missing cgroup sched: enabled cgroup cpu account: enabled cgroup memory controller: enabled cgroup cpuset: enabled  

everything runs successful until hit following issue on lxc-start -n ts1 --logfile=ts1.log.

lxc_start - start.c:preserve_ns:138 - no such file or directory - kernel not support attaching namespaces. 

lxc/start.c:138 says parent process not have /proc/<pid>/ns folder , when check true processes in system including initd.

i assume initd not take namespaces account initial process.

what need in order initd attached namespace?


Comments

Popular posts from this blog

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -