[lxc-users] LXC on ia64 processor

Serge Hallyn serge.hallyn at ubuntu.com
Thu Mar 5 20:34:17 UTC 2015


Quoting Ariel Santana Alba (asantana at citi.cu):
> 
> Hello, again to the topic of LXC on processors ia64, after compiling lxc-1.1 on a kernel 3.13.6, on debian Wheezy, I commented some of the problematic that I are presenting.

This is always touchy - how exactly did you compile and install lxc, and do
you have older versions of pieces sitting around?  I.e. what does
find / -name lxc-debian
find / -name liblxc*
find / -name lxc-create

return?

I see that you are in part installed in /usr/local/bin.  It would be better to
do configure --prefix=/usr and build/install with that.  That's only after
making sure to fully remove any ol dinstalls from /usr and /usr/loca.

> As an adjunct to this email is the output of ./configure action after having installed some basic dependencies and before making the compilation. and afterwards I run make and make install
> 
> Once done this, run the command lxc-checkconfig, obtaining
> 
> Kernel configuration not found at /proc/config.gz; searching...
> Kernel configuration found at /boot/config-3.13.6
> --- Namespaces ---
> Namespaces: enabled
> Utsname namespace: enabled
> Ipc namespace: enabled
> Pid namespace: enabled
> User namespace: enabled
> Network namespace: enabled
> Multiple /dev/pts instances: enabled
> 
> --- Control groups ---
> Cgroup: enabled
> Cgroup clone_children flag: enabled
> Cgroup device: enabled
> Cgroup sched: enabled
> Cgroup cpu account: enabled
> Cgroup memory controller: enabled
> Cgroup cpuset: enabled
> 
> --- Misc ---
> Veth pair device: enabled
> Macvlan: enabled
> Vlan: enabled
> File capabilities: enabled
> 
> Note : Before booting a new kernel, you can check its configuration
> usage : CONFIG=/path/to/config /usr/local/bin/lxc-checkconfig
> 
> 
> Below run
> 
> lxc-create -n vm1 -t debian
> 
> and obtaining
> 
> debootstrap is /usr/sbin/debootstrap
> Invalid release , valid ones are: squeeze wheezy jessie sid

By chance do you have $MIRROR set in your environment?  For some reason
your $release is "".  To debug, play around somehwere around line 550
of /usr/share/lxc/templates/lxc-debian.

> lxc_container: lxccontainer.c: create_run_template: 1093 container creation template for vm1 failed
> lxc_container: lxc_create.c: main: 274 Error creating container vm1
> 
> I get an error related to the release of debian, you specify the option -r with value wheezy and gave me the same error.
> 
> Then I run to prevent the error templates
> 
> lxc-create -n vm1 -t none
> 
> and obtaining
> 
> lxc_container: lxc_create.c: main: 274 Error creating container vm1
> 
> 
> ..................
> 
> We'll be very grateful if you could help me solve this.
> 
> 
> 
> Ariel Santana Alba.
> 
> 
> "Lo mas importante no es hacer cosas extraordinarias, sino hacer las cosas ordinarias extraordinariamente bien"
> 

> checking for pkg-config... no
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking whether make supports nested variables... yes
> checking build system type... ia64-unknown-linux-gnu
> checking host system type... ia64-unknown-linux-gnu
> checking for style of include used by make... GNU
> checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables... 
> checking whether we are cross compiling... no
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking whether gcc understands -c and -o together... yes
> checking dependency style of gcc... gcc3
> checking how to run the C preprocessor... gcc -E
> checking for grep that handles long lines and -e... /bin/grep
> checking for egrep... /bin/grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking host distribution... debian
> checking for init system type... upstart,systemd
> checking for docbook2x-man... no
> checking for doxygen... no
> checking for aa_change_profile in -lapparmor... no
> checking for gnutls_hash_fast in -lgnutls... no
> checking for setexeccon_raw in -lselinux... no
> checking for seccomp_init in -lseccomp... no
> checking for cgmanager_create in -lcgmanager... no
> checking for get_pid_cgroup_abs_sync... checking for library containing cgmanager_get_pid_cgroup_abs_sync... no
> no
> checking for cap_init in -lcap... yes
> checking for cap_set_proc in -lcap... yes
> checking for cap_set_proc in -lcap... (cached) yes
> checking for scmp_filter_ctx... no
> checking whether seccomp_syscall_resolve_name_arch is declared... no
> checking for PYTHONDEV... no
> checking for LUA... no
> checking for LUA... no
> checking for LUA... no
> checking Whether to place logfiles in container config path... no
> checking for linux/unistd.h... yes
> checking for linux/netlink.h... yes
> checking for linux/genetlink.h... yes
> checking for bionic libc... no
> checking whether PR_CAPBSET_DROP is declared... yes
> checking sys/signalfd.h usability... yes
> checking sys/signalfd.h presence... yes
> checking for sys/signalfd.h... yes
> checking pty.h usability... yes
> checking pty.h presence... yes
> checking for pty.h... yes
> checking ifaddrs.h usability... yes
> checking ifaddrs.h presence... yes
> checking for ifaddrs.h... yes
> checking sys/capability.h usability... yes
> checking sys/capability.h presence... yes
> checking for sys/capability.h... yes
> checking sys/personality.h usability... yes
> checking sys/personality.h presence... yes
> checking for sys/personality.h... yes
> checking utmpx.h usability... yes
> checking utmpx.h presence... yes
> checking for utmpx.h... yes
> checking sys/timerfd.h usability... yes
> checking sys/timerfd.h presence... yes
> checking for sys/timerfd.h... yes
> checking for setns... no
> checking for pivot_root... yes
> checking for sethostname... yes
> checking for unshare... yes
> checking for rand_r... yes
> checking for confstr... yes
> checking for faccessat... yes
> checking for main in -lpthread... yes
> checking for pthread_atfork... yes
> checking for statvfs... yes
> checking for openpty in -lutil... yes
> checking for openpty... yes
> checking for hasmntopt... yes
> checking for setmntent... yes
> checking for endmntent... yes
> checking for utmpxname... yes
> checking for getline... yes
> checking for fgetln... no
> checking for library containing sem_open... none required
> checking for library containing clock_gettime... -lrt
> checking whether gcc needs -traditional... no
> checking for a sed that does not truncate output... /bin/sed
> checking for TLS... yes
> checking that generated files are newer than configure... done
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating lxc.pc
> config.status: creating lxc.spec
> config.status: creating config/Makefile
> config.status: creating config/apparmor/Makefile
> config.status: creating config/selinux/Makefile
> config.status: creating config/bash/Makefile
> config.status: creating config/bash/lxc
> config.status: creating config/init/Makefile
> config.status: creating config/init/common/Makefile
> config.status: creating config/init/common/lxc-containers
> config.status: creating config/init/common/lxc-net
> config.status: creating config/init/systemd/Makefile
> config.status: creating config/init/systemd/lxc.service
> config.status: creating config/init/systemd/lxc-net.service
> config.status: creating config/init/sysvinit/Makefile
> config.status: creating config/init/sysvinit/lxc-containers
> config.status: creating config/init/sysvinit/lxc-net
> config.status: creating config/init/upstart/lxc-net.conf
> config.status: creating config/init/upstart/Makefile
> config.status: creating config/etc/Makefile
> config.status: creating config/templates/Makefile
> config.status: creating config/templates/archlinux.common.conf
> config.status: creating config/templates/archlinux.userns.conf
> config.status: creating config/templates/centos.common.conf
> config.status: creating config/templates/centos.userns.conf
> config.status: creating config/templates/common.conf
> config.status: creating config/templates/common.conf.d/Makefile
> config.status: creating config/templates/debian.common.conf
> config.status: creating config/templates/debian.userns.conf
> config.status: creating config/templates/fedora.common.conf
> config.status: creating config/templates/fedora.userns.conf
> config.status: creating config/templates/gentoo.common.conf
> config.status: creating config/templates/gentoo.moresecure.conf
> config.status: creating config/templates/gentoo.userns.conf
> config.status: creating config/templates/opensuse.common.conf
> config.status: creating config/templates/opensuse.userns.conf
> config.status: creating config/templates/oracle.common.conf
> config.status: creating config/templates/oracle.userns.conf
> config.status: creating config/templates/plamo.common.conf
> config.status: creating config/templates/plamo.userns.conf
> config.status: creating config/templates/ubuntu-cloud.common.conf
> config.status: creating config/templates/ubuntu-cloud.lucid.conf
> config.status: creating config/templates/ubuntu-cloud.userns.conf
> config.status: creating config/templates/ubuntu.common.conf
> config.status: creating config/templates/ubuntu.lucid.conf
> config.status: creating config/templates/ubuntu.userns.conf
> config.status: creating config/templates/openwrt.common.conf
> config.status: creating config/templates/userns.conf
> config.status: creating config/yum/Makefile
> config.status: creating config/sysconfig/Makefile
> config.status: creating config/sysconfig/lxc
> config.status: creating doc/Makefile
> config.status: creating doc/api/Makefile
> config.status: creating doc/legacy/lxc-ls.sgml
> config.status: creating doc/lxc-attach.sgml
> config.status: creating doc/lxc-autostart.sgml
> config.status: creating doc/lxc-cgroup.sgml
> config.status: creating doc/lxc-checkconfig.sgml
> config.status: creating doc/lxc-checkpoint.sgml
> config.status: creating doc/lxc-clone.sgml
> config.status: creating doc/lxc-config.sgml
> config.status: creating doc/lxc-console.sgml
> config.status: creating doc/lxc-create.sgml
> config.status: creating doc/lxc-destroy.sgml
> config.status: creating doc/lxc-device.sgml
> config.status: creating doc/lxc-execute.sgml
> config.status: creating doc/lxc-freeze.sgml
> config.status: creating doc/lxc-info.sgml
> config.status: creating doc/lxc-ls.sgml
> config.status: creating doc/lxc-monitor.sgml
> config.status: creating doc/lxc-snapshot.sgml
> config.status: creating doc/lxc-start-ephemeral.sgml
> config.status: creating doc/lxc-start.sgml
> config.status: creating doc/lxc-stop.sgml
> config.status: creating doc/lxc-top.sgml
> config.status: creating doc/lxc-unfreeze.sgml
> config.status: creating doc/lxc-unshare.sgml
> config.status: creating doc/lxc-user-nic.sgml
> config.status: creating doc/lxc-usernsexec.sgml
> config.status: creating doc/lxc-wait.sgml
> config.status: creating doc/lxc.conf.sgml
> config.status: creating doc/lxc.container.conf.sgml
> config.status: creating doc/lxc.system.conf.sgml
> config.status: creating doc/lxc-usernet.sgml
> config.status: creating doc/lxc.sgml
> config.status: creating doc/common_options.sgml
> config.status: creating doc/see_also.sgml
> config.status: creating doc/rootfs/Makefile
> config.status: creating doc/examples/Makefile
> config.status: creating doc/examples/lxc-macvlan.conf
> config.status: creating doc/examples/lxc-vlan.conf
> config.status: creating doc/examples/lxc-no-netns.conf
> config.status: creating doc/examples/lxc-empty-netns.conf
> config.status: creating doc/examples/lxc-phys.conf
> config.status: creating doc/examples/lxc-veth.conf
> config.status: creating doc/examples/lxc-complex.conf
> config.status: creating doc/ja/Makefile
> config.status: creating doc/ja/legacy/lxc-ls.sgml
> config.status: creating doc/ja/lxc-attach.sgml
> config.status: creating doc/ja/lxc-autostart.sgml
> config.status: creating doc/ja/lxc-cgroup.sgml
> config.status: creating doc/ja/lxc-checkconfig.sgml
> config.status: creating doc/ja/lxc-checkpoint.sgml
> config.status: creating doc/ja/lxc-clone.sgml
> config.status: creating doc/ja/lxc-config.sgml
> config.status: creating doc/ja/lxc-console.sgml
> config.status: creating doc/ja/lxc-create.sgml
> config.status: creating doc/ja/lxc-destroy.sgml
> config.status: creating doc/ja/lxc-device.sgml
> config.status: creating doc/ja/lxc-execute.sgml
> config.status: creating doc/ja/lxc-freeze.sgml
> config.status: creating doc/ja/lxc-info.sgml
> config.status: creating doc/ja/lxc-ls.sgml
> config.status: creating doc/ja/lxc-monitor.sgml
> config.status: creating doc/ja/lxc-snapshot.sgml
> config.status: creating doc/ja/lxc-start-ephemeral.sgml
> config.status: creating doc/ja/lxc-start.sgml
> config.status: creating doc/ja/lxc-stop.sgml
> config.status: creating doc/ja/lxc-top.sgml
> config.status: creating doc/ja/lxc-unfreeze.sgml
> config.status: creating doc/ja/lxc-unshare.sgml
> config.status: creating doc/ja/lxc-user-nic.sgml
> config.status: creating doc/ja/lxc-usernsexec.sgml
> config.status: creating doc/ja/lxc-wait.sgml
> config.status: creating doc/ja/lxc.conf.sgml
> config.status: creating doc/ja/lxc.container.conf.sgml
> config.status: creating doc/ja/lxc.system.conf.sgml
> config.status: creating doc/ja/lxc-usernet.sgml
> config.status: creating doc/ja/lxc.sgml
> config.status: creating doc/ja/common_options.sgml
> config.status: creating doc/ja/see_also.sgml
> config.status: creating hooks/Makefile
> config.status: creating templates/Makefile
> config.status: creating templates/lxc-alpine
> config.status: creating templates/lxc-altlinux
> config.status: creating templates/lxc-archlinux
> config.status: creating templates/lxc-busybox
> config.status: creating templates/lxc-centos
> config.status: creating templates/lxc-cirros
> config.status: creating templates/lxc-debian
> config.status: creating templates/lxc-download
> config.status: creating templates/lxc-fedora
> config.status: creating templates/lxc-gentoo
> config.status: creating templates/lxc-openmandriva
> config.status: creating templates/lxc-opensuse
> config.status: creating templates/lxc-oracle
> config.status: creating templates/lxc-plamo
> config.status: creating templates/lxc-sshd
> config.status: creating templates/lxc-ubuntu
> config.status: creating templates/lxc-ubuntu-cloud
> config.status: creating src/Makefile
> config.status: creating src/lxc/Makefile
> config.status: creating src/lxc/lxc-checkconfig
> config.status: creating src/lxc/lxc-ls
> config.status: creating src/lxc/lxc-start-ephemeral
> config.status: creating src/lxc/legacy/lxc-ls
> config.status: creating src/lxc/lxc.functions
> config.status: creating src/lxc/version.h
> config.status: creating src/python-lxc/Makefile
> config.status: creating src/python-lxc/setup.py
> config.status: creating src/lua-lxc/Makefile
> config.status: creating src/tests/Makefile
> config.status: creating src/tests/lxc-test-usernic
> config.status: creating src/config.h
> config.status: src/config.h is unchanged
> config.status: linking config/etc/default.conf.unknown to config/etc/default.conf
> config.status: executing depfiles commands
> config.status: executing default commands
> 
> ----------------------------
> Environment:
>  - compiler: gcc
>  - distribution: debian
>  - init script type(s): upstart,systemd
>  - rpath: no
>  - GnuTLS: no
>  - Bash integration: yes
> 
> Security features:
>  - Apparmor: no
>  - Linux capabilities: yes
>  - seccomp: no
>  - SELinux: no
>  - cgmanager: no
> 
> Bindings:
>  - lua: no
>  - python3: no
> 
> Documentation:
>  - examples: yes
>  - API documentation: no
>  - user documentation: no
> 
> Debugging:
>  - tests: no
>  - mutex debugging: no
> 
> Paths:
>  - Logs in configpath: no

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list