Jump to content
funtoo forums

s4uliu5

Members
  • Content Count

    8
  • Joined

  • Last visited

Posts posted by s4uliu5


  1. Hi,

    my funtoo

    # emerge --info
    
    Portage 2.3.47 (python 2.7.14-final-0, funtoo/1.0/linux-gnu/arch/pure64, gcc-7.3.1, glibc-2.26-r7, 4.14.12-2 x86_64)
    =================================================================
    System uname: Linux-4.14.12-2-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_v3_@_3.20GHz-with-gentoo-2.2.2
    KiB Mem:    32885304 total,  26828660 free
    KiB Swap:    8388604 total,   8388604 free
    sh bash 4.4_p18
    ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
    app-shells/bash:          4.4_p18::core-kit
    dev-lang/perl:            5.24.0-r4::perl-kit
    dev-lang/python:          2.7.14-r2::python-kit, 3.6.5-r1::python-kit
    dev-util/cmake:           3.10.1::core-kit
    sys-apps/baselayout:      2.2.2::core-kit
    sys-apps/openrc:          0.35.5-r1::core-kit
    sys-apps/sandbox:         2.12::core-kit
    sys-devel/autoconf:       2.69-r4::core-kit
    sys-devel/automake:       1.15.1-r1::core-kit
    sys-devel/binutils:       2.29.1-r1::core-kit
    sys-devel/gcc:            7.3.1-r3::core-kit
    sys-devel/gcc-config:     1.9.1::core-kit
    sys-devel/libtool:        2.4.6-r4::core-kit
    sys-devel/make:           4.2.1-r1::core-kit
    sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers)
    sys-libs/glibc:           2.26-r7::core-kit
    Repositories:
    
    ...
    
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="*"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-mtune=generic -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-mtune=generic -O2 -pipe"
    DISTDIR="/var/cache/portage/distfiles"
    FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-mtune=generic -O2 -pipe"
    GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
    LANG="en_US.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    MAKEOPTS="-j5"
    PKGDIR="/var/cache/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="acl amd64 bash-completion berkdb bzip2 cracklib crypt curl cxx gdbm iconv icu ipv6 mmx modules mudflap ncurses nls nptl openmp pam pcre perl png python readline resolvconf sse sse2 ssl tcpd unicode vim-syntax xattr xml zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access addition auth_basic auth_request autoindex browser cache_purge charset concat dav dav_ext degradation echo empty_gif ey_balancer fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req limit_zone lua map memcached metrics perl proxy push push_stream random_index realip referer rewrite scgi secure_link security slowfs_cache split_clients spdy ssi sticky stub_status sub upstream_check upstream_ip_hash upload_progress userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
    
    

    And sys-kernel/debian-sources kernel 4.14.12.

    While building  app-emulation/docker-18.06.1-r1 I noticed some errors in setup

    ...
    INFO: setup                                                                                                                                                                                                                                                                                                                    
    Package:    app-emulation/docker-18.06.1-r1                                                                                                                                                                                                                                                                                    
    Repository: nokit                                                                                                                                                                                                                                                                                                              
    Maintainer: admwiggin@gmail.com williamh@gentoo.org,mrueg@gentoo.org                                                                                                                                                                                                                                                           
    USE:        amd64 container-init device-mapper elibc_glibc kernel_linux overlay userland_GNU                                                                                                                                                                                                                                   
    FEATURES:   preserve-libs sandbox userpriv usersandbox                                                                                                                                                                                                                                                                         
    Determining the location of the kernel source code                                                                                                                                                                                                                                                                             
    Found kernel source directory:                                                                                                                                                                                                                                                                                                 
        /usr/src/linux                                                                                                                                                                                                                                                                                                             
    Found sources for kernel version:                                                                                                                                                                                                                                                                                              
        4.14.12-2                                                                                                                                                                                                                                                                                                                  
    Checking for suitable kernel configuration options...                                                                                                                                                                                                                                                                          
    ERROR: setup                                                                                                                                                                                                                                                                                                                   
      CONFIG_MEMCG_SWAP_ENABLED:     is not set when it should be.                                                                                                                                                                                                                                                                 
      CONFIG_CGROUP_HUGETLB:         is not set when it should be.                                                                                                                                                                                                                                                                 
      CONFIG_RT_GROUP_SCHED:         is not set when it should be.                                                                                                                                                                                                                                                                 
    WARN: setup                                                                                                                                                                                                                                                                                                                    
    Please check to make sure these options are set correctly.                                                                                                                                                                                                                                                                     
    Failure to do so may cause unexpected problems.                                                                                                                                                                                                                                                                                
    INFO: prepare                                                                                                                                                                                                                                                                                                                  
    Applying bsc1073877-docker-apparmor-add-signal-r2.patch ...                                                                                                                                                                                                                                                                    
    INFO: install
    ...

     

    It seems that these options aren't critical as docker is running without any problems so far.

    So the question is - are these options really necessary?

    And if they are necessary then how to enable them during kernel build?

    Thank you,

    --

    Saulius

     


  2. Hi,

    please check if directory `/var/cache/eix/` exists and it has there right permissions.

    At my Funtoo box I have

    box-fenix ~ # stat /var/cache/eix/
    
      File: /var/cache/eix/
      Size: 4096            Blocks: 8          IO Block: 4096   directory
    Device: fe01h/65025d    Inode: 562362      Links: 2
    Access: (0755/drwxr-xr-x)  Uid: (  250/ portage)   Gid: (  250/ portage)
    Access: 2018-08-03 23:46:48.804008384 +0300
    Modify: 2018-09-07 17:40:44.768927828 +0300
    Change: 2018-09-07 17:40:45.736941231 +0300
     Birth: -

    and

    box-fenix ~ # stat /var/cache/eix/portage.eix 
    
      File: /var/cache/eix/portage.eix
      Size: 8152103         Blocks: 15928      IO Block: 4096   regular file
    Device: fe01h/65025d    Inode: 562982      Links: 1
    Access: (0664/-rw-rw-r--)  Uid: (  250/ portage)   Gid: (  250/ portage)
    Access: 2018-08-04 00:13:01.220015984 +0300
    Modify: 2018-10-05 08:06:43.164145881 +0300
    Change: 2018-10-05 08:06:43.164145881 +0300
     Birth: -
    

    Also I'm running `eix-update` as "root".

    --

    Saulius


  3. Hi,

    following the upgrade instructions executing

     

    # emerge -auv1 gcc

    got an error

    These are the packages that would be merged, in order:
    
    Calculating dependencies... done!
    [ebuild   R    ] sys-libs/zlib-1.2.11-r2::core-kit  USE="minizip static-libs*" ABI_X86="32 (64) (-x32)" 0 KiB
    [ebuild   R    ] sys-devel/gettext-0.19.8.1::core-kit [0.19.8.1::gentoo] USE="acl cxx ncurses nls openmp static-libs* -cvs -doc -emacs -git -java" ABI_X86="32* (64) (-x32)" 0 KiB
    [ebuild  NS    ] sys-devel/gcc-7.3.1-r3:7.3.1::core-kit [5.4.0-r1:5.4.0::core-kit] USE="checking_release cxx fortran (multilib) nls openmp pch ssp stage1_checking_yes -ada (-altivec) -checking_all -checking_assert -checking_df -checking_extra -checking_fold -checking_gc -checking_gcac -checking_misc -checking_no -checking_rtl -checking_rtlflag -checking_runtime -checking_tree -checking_valgrind -checking_yes -dev_extra_warnings -doc -generic_host (-go) -graphite (-hardened) (-libssp) -link_now -lto-bootstrap -objc -objc++ -objc-gc (-pie) (-sanitize) -ssp_all -stack_check -stage1_checking_all -stage1_checking_assert -stage1_checking_df -stage1_checking_extra -stage1_checking_fold -stage1_checking_gc -stage1_checking_gcac -stage1_checking_misc -stage1_checking_no -stage1_checking_release -stage1_checking_rtl -stage1_checking_rtlflag -stage1_checking_runtime -stage1_checking_tree -stage1_checking_valgrind {-test} -vanilla (-vtv)" ABI_X86="(32) (64) (-x32)" 0 KiB
    
    Total: 3 packages (1 in new slot, 2 reinstalls), Size of downloads: 0 KiB
    
    Would you like to merge these packages? [Yes/No] yes
    
    >>> Verifying ebuild manifests
    
    >>> Emerging (1 of 3) sys-libs/zlib-1.2.11-r2::core-kit
     * Fetching files in the background.
     * To view fetch progress, run in another terminal:
     * tail -f /var/log/emerge-fetch.log
     * zlib-1.2.11.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                                                       [ ok ]
    >>> Unpacking source...
    >>> Unpacking zlib-1.2.11.tar.gz to /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work
    >>> Source unpacked in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work
    >>> Preparing source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ...
     * Applying zlib-1.2.11-fix-deflateParams-usage.patch ...                                                                                                                                                                                                                                                               [ ok ]
     * Running eautoreconf in '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/contrib/minizip' ...
     * Running libtoolize --install --copy --force --automake ...                                                                                                                                                                                                                                                           [ ok ]
     * Running aclocal ...                                                                                                                                                                                                                                                                                                  [ ok ]
     * Running autoconf --force ...                                                                                                                                                                                                                                                                                         [ ok ]
     * Running automake --add-missing --copy --foreign --force-missing ...                                                                                                                                                                                                                                                  [ ok ]
     * Running elibtoolize in: zlib-1.2.11/contrib/minizip/
     *   Applying portage/1.2.0 patch ...
     *   Applying sed/1.5.6 patch ...
     *   Applying as-needed/2.4.3 patch ...
    >>> Source prepared.
    >>> Configuring source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ...
     * abi_x86_32.x86: running multilib-minimal_abi_src_configure
    /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure --shared --prefix=/usr --libdir=/usr/lib32 --uname=linux
    Using ar
    Compiler error reporting is too harsh for /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure (perhaps remove -Werror).
    ** /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure aborting.
     * ERROR: sys-libs/zlib-1.2.11-r2::core-kit failed (configure phase):
     *   (no error message)
     * 
     * Call stack:
     *     ebuild.sh, line   92:  Called src_configure
     *   environment, line 3241:  Called multilib-minimal_src_configure
     *   environment, line 2496:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
     *   environment, line 2710:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
     *   environment, line 2426:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
     *   environment, line 2424:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
     *   environment, line  529:  Called multilib-minimal_abi_src_configure
     *   environment, line 2490:  Called multilib_src_configure
     *   environment, line 2941:  Called die
     * The specific snippet of code:
     *               echoit "${S}"/configure --shared --prefix="${EPREFIX}/usr" --libdir="${EPREFIX}/usr/$(get_libdir)" ${uname:+--uname=${uname}} || die
     * 
     * If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.11-r2::core-kit'`,
     * the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.11-r2::core-kit'`.
     * The complete build log is located at '/var/log/portage/sys-libs:zlib-1.2.11-r2:20180919-175648.log'.
     * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/temp/build.log'.
     * The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/temp/environment'.
     * Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11-abi_x86_32.x86'
     * S: '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11'
    
    >>> Failed to emerge sys-libs/zlib-1.2.11-r2, Log file:
    >>>  '/var/log/portage/sys-libs:zlib-1.2.11-r2:20180919-175648.log'
    

    my container's

    # emerge --info

     

    Portage 2.3.41 (python 3.4.6-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.4.0, glibc-2.23-r8, 4.9.110-1 x86_64)
    =================================================================
    System uname: Linux-4.9.110-1-x86_64-Intel-R-_Xeon-R-_CPU_E7-_4870_@_2.40GHz-with-gentoo-2.2.2
    KiB Mem:     4194304 total,   4121356 free
    KiB Swap:  134217724 total, 133312416 free
    sh bash 4.4_p18
    app-shells/bash:          4.4_p18::core-kit
    dev-lang/perl:            5.24.0-r3::perl-kit
    dev-lang/python:          2.7.14-r2::python-kit, 3.4.6-r1::python-kit
    dev-util/cmake:           3.8.0::core-kit
    sys-apps/baselayout:      2.2.2::core-kit
    sys-apps/openrc:          0.35.5::core-kit
    sys-apps/sandbox:         2.10-r4::core-kit
    sys-devel/autoconf:       2.69-r2::gentoo
    sys-devel/automake:       1.13.4-r2::core-kit, 1.14.1-r1::gentoo, 1.15.1-r2::core-kit
    sys-devel/binutils:       2.29.1-r1::core-kit
    sys-devel/gcc:            5.4.0-r1::core-kit
    sys-devel/gcc-config:     1.8-r1::gentoo
    sys-devel/libtool:        2.4.6-r4::core-kit
    sys-devel/make:           4.1-r1::gentoo
    sys-kernel/linux-headers: 4.9::core-kit (virtual/os-headers)
    sys-libs/glibc:           2.23-r8::core-kit
    Repositories:
    
    nokit
        location: /var/git/meta-repo/kits/nokit
        masters: core-kit
        priority: -500
    
    x-portage
        location: /usr/local/portage
        masters: core-kit
        priority: 0
    
    core-hw-kit
        location: /var/git/meta-repo/kits/core-hw-kit
        masters: core-kit
        priority: 1
    
    core-kit
        location: /var/git/meta-repo/kits/core-kit
        priority: 1
        aliases: gentoo
    
    desktop-kit
        location: /var/git/meta-repo/kits/desktop-kit
        masters: core-kit
        priority: 1
    
    dev-kit
        location: /var/git/meta-repo/kits/dev-kit
        masters: core-kit
        priority: 1
    
    editors-kit
        location: /var/git/meta-repo/kits/editors-kit
        masters: core-kit
        priority: 1
    
    games-kit
        location: /var/git/meta-repo/kits/games-kit
        masters: core-kit
        priority: 1
    
    gnome-kit
        location: /var/git/meta-repo/kits/gnome-kit
        masters: core-kit
        priority: 1
    
    haskell-kit
        location: /var/git/meta-repo/kits/haskell-kit
        masters: core-kit
        priority: 1
    
    java-kit
        location: /var/git/meta-repo/kits/java-kit
        masters: core-kit
        priority: 1
    
    kde-kit
        location: /var/git/meta-repo/kits/kde-kit
        masters: core-kit
        priority: 1
    
    lang-kit
        location: /var/git/meta-repo/kits/lang-kit
        masters: core-kit
        priority: 1
    
    lisp-scheme-kit
        location: /var/git/meta-repo/kits/lisp-scheme-kit
        masters: core-kit
        priority: 1
    
    llvm-kit
        location: /var/git/meta-repo/kits/llvm-kit
        masters: core-kit
        priority: 1
    
    media-kit
        location: /var/git/meta-repo/kits/media-kit
        masters: core-kit
        priority: 1
    
    ml-lang-kit
        location: /var/git/meta-repo/kits/ml-lang-kit
        masters: core-kit
        priority: 1
    
    net-kit
        location: /var/git/meta-repo/kits/net-kit
        masters: core-kit
        priority: 1
    
    perl-kit
        location: /var/git/meta-repo/kits/perl-kit
        masters: core-kit
        priority: 1
    
    php-kit
        location: /var/git/meta-repo/kits/php-kit
        masters: core-kit
        priority: 1
    
    python-kit
        location: /var/git/meta-repo/kits/python-kit
        masters: core-kit
        priority: 1
    
    python-modules-kit
        location: /var/git/meta-repo/kits/python-modules-kit
        masters: core-kit
        priority: 1
    
    ruby-kit
        location: /var/git/meta-repo/kits/ruby-kit
        masters: core-kit
        priority: 1
    
    science-kit
        location: /var/git/meta-repo/kits/science-kit
        masters: core-kit
        priority: 1
    
    security-kit
        location: /var/git/meta-repo/kits/security-kit
        masters: core-kit
        priority: 1
    
    text-kit
        location: /var/git/meta-repo/kits/text-kit
        masters: core-kit
        priority: 1
    
    xfce-kit
        location: /var/git/meta-repo/kits/xfce-kit
        masters: core-kit
        priority: 1
    
    xorg-kit
        location: /var/git/meta-repo/kits/xorg-kit
        masters: core-kit
        priority: 1
    
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="*"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-mtune=generic -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-mtune=generic -O2 -pipe"
    DISTDIR="/var/cache/portage/distfiles"
    FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS="-march=westmere -O2 -pipe"
    GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
    LANG="en_US.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    MAKEOPTS="-j5"
    PKGDIR="/var/packages"
    PORTAGE_BINHOST="https://bin.host.funtoo.org/intel64-westmere"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="acl amd64 bash-completion berkdb bzip2 cracklib crypt curl cxx gdbm gpm iconv icu ipv6 jpeg mmx modules mudflap multilib ncurses nls nptl openmp pam pcre perl png python readline resolvconf sqlite sse sse2 ssl tcpd unicode vim-syntax xattr xml zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_EXTERNAL="accept_language ajp cache_purge concat dav_ext echo encrypted_session fancyindex headers_more lua metrics modsecurity naxsi ndk push_stream rtmp slowfs_cache sticky upload_progress upstream_check" NGINX_MODULES_HTTP="access addition auth_basic auth_request autoindex browser charset dav degradation empty_gif fastcgi flv geo geoip gunzip gzip gzip_static image_filter limit_conn limit_req map memcached mp4 perl proxy random_index realip referer rewrite scgi secure_link split_clients ssi ssl stub_status sub upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip limit_conn map realip return split_clients ssl_preread upstream_hash upstream_least_conn upstream_zone" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

     

    Any idea how to fix the problem?


  4. Hello,

    where configuration file of LXD/LXC containers is store  in Funtoo?

    According to google that such files, in some other LINUX distributions, are stored in /var/lib/lxc/container/<container>/config or /container/<container>/config,

    but no such file exists in Funtoo.

    I'm asking this so I would be able, for example, to change from

    lxc.network.type = veth
    lxc.network.flags = up
    lxc.network.link = br0

    to

    lxc.network.type = macvlan
    lxc.network.macvlan.mode = bridge
    lxc.network.flags = up
    lxc.network.link = eth0

    Thank you,

    --

    Saulius


  5. Hello,

    If I''m not mistaked,  funtoo hosting is using ZFS.

    I use LVM all the time, but it seems that users  of LXC/LXD more favores ZFS.

    How stable ZFS in production?

    Has anybody, from funtoo community, experienced any problems, or data loss with ZFS?

    Does LVM has some  real dowsides comparing to ZFS, in real usage? Has anybody experienced any?

    It would be interesting to know what storage driver people choose for their LXC/LXD servers?


    Thank you,

    --

    Saulius

    p.s. I know there is documentation https://lxd.readthedocs.io/en/latest/storage/

    but documentation is one thing, and user's experience another... :)


  6. Thank you.

    I successfully copied the files and be able to start the container.

    Now I'm trying to setup networking for migrated container so that its could accessed from the network directly ( no NAT).

    According LXC documentation config file should be located in container's directory, but I see no such file.

    Where can I find the config file for container?

    Thank you,

    --

    Saulius


  7. Sorry, have more questions.

    In the https://www.funtoo.org/LXD/OpenVZ_migration there is a paragraph

    Quote

    Now let's switch the rootfs. Go to your storage pool for LXD (default location: /var/lib/lxd/storage-pools/default/containers/) and locate our openvz-migrant directory. Delete the rootfs and replace it with openvz conatiner's rootfs.

    When container is running /var/lib/lxd/storage-pools/default/containers/<container> contains files "backup.yaml"  and "metadata.yaml"; and directories  "rootfs"  "templates".

    But if container is stopped the  directory is empty.

    So I'm wandering - how to "replace" the rootfs?

    And does "replace"  means just copy files from /vz/private/<ctid> ?

    My system's

    # lxc info

    returns

    config: {}
    api_extensions:
    - storage_zfs_remove_snapshots
    - container_host_shutdown_timeout
    - container_stop_priority
    - container_syscall_filtering
    - auth_pki
    - container_last_used_at
    - etag
    - patch
    - usb_devices
    - https_allowed_credentials
    - image_compression_algorithm
    - directory_manipulation
    - container_cpu_time
    - storage_zfs_use_refquota
    - storage_lvm_mount_options
    - network
    - profile_usedby
    - container_push
    - container_exec_recording
    - certificate_update
    - container_exec_signal_handling
    - gpu_devices
    - container_image_properties
    - migration_progress
    - id_map
    - network_firewall_filtering
    - network_routes
    - storage
    - file_delete
    - file_append
    - network_dhcp_expiry
    - storage_lvm_vg_rename
    - storage_lvm_thinpool_rename
    - network_vlan
    - image_create_aliases
    - container_stateless_copy
    - container_only_migration
    - storage_zfs_clone_copy
    - unix_device_rename
    - storage_lvm_use_thinpool
    - storage_rsync_bwlimit
    - network_vxlan_interface
    - storage_btrfs_mount_options
    - entity_description
    - image_force_refresh
    - storage_lvm_lv_resizing
    - id_map_base
    - file_symlinks
    - container_push_target
    - network_vlan_physical
    - storage_images_delete
    - container_edit_metadata
    - container_snapshot_stateful_migration
    - storage_driver_ceph
    - storage_ceph_user_name
    - resource_limits
    - storage_volatile_initial_source
    - storage_ceph_force_osd_reuse
    - storage_block_filesystem_btrfs
    - resources
    - kernel_limits
    - storage_api_volume_rename
    - macaroon_authentication
    - network_sriov
    - console
    - restrict_devlxd
    - migration_pre_copy
    - infiniband
    - maas_network
    api_status: stable
    api_version: "1.0"
    auth: trusted
    public: false
    auth_methods:
    - tls
    environment:
      addresses: []
      architectures:
      - x86_64
      - i686
      certificate: |
        -----BEGIN CERTIFICATE-----
        MIIFPTCCAyWgAwIBAgIQTiCRM+vTvY28b70rgjuSlTANBgkqhkiG9w0BAQsFADAx
        ...
        vg==
        -----END CERTIFICATE-----
      certificate_fingerprint: a1d240ce836f964a92433d9df8441bdcd9584b61d6c0f928be71d0931d4ddb8f
      driver: lxc
      driver_version: 2.1.1
      kernel: Linux
      kernel_architecture: x86_64
      kernel_version: 4.15.17-1
      server: lxd
      server_pid: 32662
      server_version: "2.21"
      storage: zfs
      storage_version: 0.7.6-r0-gentoo

     

    Thank you,

    --

    Saulius

     


  8. Hello,

    while following Daniel's post how to upgrade to 1.2 Funtoo

    running

    fun ~ # emerge -uDNv @world

    got

    
    These are the packages that would be merged, in order:
    
    Calculating dependencies -
    
    !!! Problem resolving dependencies for dev-ruby/did_you_mean from @selected                                                                                                                                        ... done!
    
    !!! The ebuild selected to satisfy "dev-ruby/did_you_mean" has unmet requirements.
    - dev-ruby/did_you_mean-1.2.0::ruby-kit USE="-test" RUBY_TARGETS="-ruby25"
    
      The following REQUIRED_USE flag constraints are unsatisfied:
        ruby_targets_ruby25
    
      The above constraints are a subset of the following complete expression:
        any-of ( ruby_targets_ruby25 )
    
    (dependency required by "@selected" [set])
    (dependency required by "@world" [argument])

    How to resolve this?

    Thank you,

    --

    Saulius


  9. Hi,

    currently I'm running Funtoo server with several OpenVZ containers.

    Funtoo moving to LXC/LXD, so I think it's time for me too.

    The upgrade of the host system to new kernel and LXC/LXD is very straightforward, no questions there.

    But what is the best way to migrate OpenVZ  containers to LXC/LXD?

    Thank you,

    --

    Saulius


  10. Hello,

    just tried to upgrade my system to 1.2 Funtoo, but

    # emerge -u1 glibc libnsl libtirpc rpcsvc-proto

    failed with

    >>> Verifying ebuild manifests                                                                                                                               
    >>> Running pre-merge checks for sys-libs/glibc-2.26-r6                                                                                                      
    make -j5 -s glibc-test                                                                                                                                       
    make -j5 -s glibc-test                                                                                                                                       
                                                                                                                                                                 
    >>> Emerging (1 of 4) sys-libs/glibc-2.26-r6::core-kit                                                                                                       
     * Fetching files in the background.                                                                                                                         
     * To view fetch progress, run in another terminal:                                                                                                          
     * tail -f /var/log/emerge-fetch.log                                                                                                                         
     * glibc-2.26.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                              [ ok ]
     * glibc-2.26-patches-7.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                   [ ok ]
     * gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                        [ ok ]
    >>> Unpacking source...                                                                                                                                      
    >>> Unpacking gcc-4.7.3-r1-multilib-bootstrap.tar.bz2 to /var/tmp/portage/sys-libs/glibc-2.26-r6/work                                                        
     * Checking gcc for __thread support ...                                                                                                               [ ok ]
     * Checking kernel version (2.6.32 >= 3.2.0) ...                                                                                                       [ !! ]
                                                                                                                                                                 
     * You need a kernel of at least 3.2.0 for NPTL support!                                                                                                     
     * ERROR: sys-libs/glibc-2.26-r6::core-kit failed (unpack phase):                                                                                            
     *   Kernel version too low!                                                                                                                                 
     *                                                                                                                                                           
     * Call stack:                                                                                                                                               
     *     ebuild.sh, line   92:  Called src_unpack                                                                                                              
     *   environment, line 3586:  Called check_nptl_support                                                                                                      
     *   environment, line  771:  Called die                                                                                                                     
     * The specific snippet of code:                                                                                                                             
     *               die "Kernel version too low!";                                                                                                              
     *                                                                                                                                                           
     * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.26-r6::core-kit'`,                                                              
     * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.26-r6::core-kit'`.                                                               
     * The complete build log is located at '/var/log/portage/sys-libs:glibc-2.26-r6:20180506-183800.log'.                                                       
     * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/glibc-2.26-r6/temp/build.log'.                                       
     * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.26-r6/temp/environment'.                                                     
     * Working directory: '/var/tmp/portage/sys-libs/glibc-2.26-r6/work'                                                                                         
     * S: '/var/tmp/portage/sys-libs/glibc-2.26-r6/work/glibc-2.26'                                                                                              
    

    My system's info

    # uname -a
    Linux box 2.6.32-042stab123.9 #1 SMP Sat Aug 19 19:04:29 EEST 2017 x86_64 Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz GenuineIntel GNU/Linux
    # emerge --info
    
    Portage 2.3.24 (python 3.4.6-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.4.0, glibc-2.23-r8, 2.6.32-042stab123.9 x86_64)
    =================================================================
    System uname: Linux-2.6.32-042stab123.9-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_v3_@_3.20GHz-with-gentoo-2.2.2
    KiB Mem:    16336436 total,   3426588 free
    KiB Swap:    8380412 total,   6221460 free
    sh bash 4.4_p18
    ld GNU ld (Gentoo 2.28 p1.2) 2.28
    app-shells/bash:          4.4_p18::core-kit
    dev-lang/perl:            5.24.0-r3::perl-kit
    dev-lang/python:          2.7.13-r1::python-kit, 3.4.6-r1::python-kit
    dev-util/cmake:           3.8.0::core-kit
    sys-apps/baselayout:      2.2.2::core-kit
    sys-apps/openrc:          0.35.0_beta1-r1::core-kit
    sys-apps/sandbox:         2.10-r4::core-kit
    sys-devel/autoconf:       2.69-r2::gentoo
    sys-devel/automake:       1.13.4-r2::core-kit, 1.14.1-r2::core-kit, 1.15.1-r2::core-kit
    sys-devel/binutils:       2.24-r3::gentoo, 2.25-r2::gentoo, 2.28-r4::core-kit, 2.29.1-r1::core-kit
    sys-devel/gcc:            4.8.5-r1::gentoo, 4.9.3-r3::gentoo, 5.3.0-r2::core-kit, 5.4.0-r1::core-kit
    sys-devel/gcc-config:     1.8-r1::gentoo
    sys-devel/libtool:        2.4.6-r4::core-kit
    sys-devel/make:           4.1-r1::gentoo
    sys-kernel/linux-headers: 4.9::core-kit (virtual/os-headers)
    sys-libs/glibc:           2.23-r8::core-kit
    Repositories:
    
    nokit
        location: /var/git/meta-repo/kits/nokit
        masters: core-kit
        priority: -500
    
    SG-funtoo-overlay
        location: /vz/shared/funtoo/portage-local
        masters: core-kit
        priority: 0
    
    core-hw-kit
        location: /var/git/meta-repo/kits/core-hw-kit
        masters: core-kit
        priority: 1
    
    core-kit
        location: /var/git/meta-repo/kits/core-kit
        masters: core-kit
        priority: 1
        aliases: gentoo
    
    desktop-kit
        location: /var/git/meta-repo/kits/desktop-kit
        masters: core-kit
        priority: 1
    
    dev-kit
        location: /var/git/meta-repo/kits/dev-kit
        masters: core-kit
        priority: 1
    
    editors-kit
        location: /var/git/meta-repo/kits/editors-kit
        masters: core-kit
        priority: 1
    
    games-kit
        location: /var/git/meta-repo/kits/games-kit
        masters: core-kit
        priority: 1
    
    gnome-kit
        location: /var/git/meta-repo/kits/gnome-kit
        masters: core-kit
        priority: 1
    
    haskell-kit
        location: /var/git/meta-repo/kits/haskell-kit
        masters: core-kit
        priority: 1
    
    java-kit
        location: /var/git/meta-repo/kits/java-kit
        masters: core-kit
        priority: 1
    
    kde-kit
        location: /var/git/meta-repo/kits/kde-kit
        masters: core-kit
        priority: 1
    
    lang-kit
        location: /var/git/meta-repo/kits/lang-kit
        masters: core-kit
        priority: 1
    
    lisp-scheme-kit
        location: /var/git/meta-repo/kits/lisp-scheme-kit
        masters: core-kit
        priority: 1
    
    llvm-kit
        location: /var/git/meta-repo/kits/llvm-kit
        masters: core-kit
        priority: 1
    
    media-kit
        location: /var/git/meta-repo/kits/media-kit
        masters: core-kit
        priority: 1
    
    ml-lang-kit
        location: /var/git/meta-repo/kits/ml-lang-kit
        masters: core-kit
        priority: 1
    
    net-kit
        location: /var/git/meta-repo/kits/net-kit
        masters: core-kit
        priority: 1
    
    perl-kit
        location: /var/git/meta-repo/kits/perl-kit
        masters: core-kit
        priority: 1
    
    php-kit
        location: /var/git/meta-repo/kits/php-kit
        masters: core-kit
        priority: 1
    
    python-kit
        location: /var/git/meta-repo/kits/python-kit
        masters: core-kit
        priority: 1
    
    ruby-kit
        location: /var/git/meta-repo/kits/ruby-kit
        masters: core-kit
        priority: 1
    
    science-kit
        location: /var/git/meta-repo/kits/science-kit
        masters: core-kit
        priority: 1
    
    security-kit
        location: /var/git/meta-repo/kits/security-kit
        masters: core-kit
        priority: 1
    
    text-kit
        location: /var/git/meta-repo/kits/text-kit
        masters: core-kit
        priority: 1
    
    xfce-kit
        location: /var/git/meta-repo/kits/xfce-kit
        masters: core-kit
        priority: 1
    
    xorg-kit
        location: /var/git/meta-repo/kits/xorg-kit
        masters: core-kit
        priority: 1
    
    Installed sets: @kernel
    ACCEPT_KEYWORDS="amd64 ~amd64"
    ACCEPT_LICENSE="*"
    CBUILD="x86_64-pc-linux-gnu"
    CFLAGS="-mtune=generic -O2 -pipe"
    CHOST="x86_64-pc-linux-gnu"
    CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
    CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
    CXXFLAGS="-mtune=generic -O2 -pipe"
    DISTDIR="/var/cache/portage/distfiles"
    FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
    FFLAGS=""
    GENTOO_MIRRORS="https://fastpull-us.funtoo.org"
    LANG="en_US.UTF-8"
    LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
    MAKEOPTS="-j5"
    PKGDIR="/var/cache/portage/packages"
    PORTAGE_CONFIGROOT="/"
    PORTAGE_TMPDIR="/var/tmp"
    USE="acl amd64 bash-completion berkdb bzip2 cracklib crypt cxx gdbm iconv icu ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre perl png python readline resolvconf sse sse2 ssl tcpd unicode vim-syntax xattr xml zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access addition auth_basic auth_request autoindex browser cache_purge charset concat dav dav_ext degradation echo empty_gif ey_balancer fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req limit_zone lua map memcached metrics perl proxy push push_stream random_index realip referer rewrite scgi secure_link security slowfs_cache split_clients spdy ssi sticky stub_status sub upstream_check upstream_ip_hash upload_progress userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
    Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

    Any comments?

     


  11. I checked the lxd logs and found

    Mar  6 11:25:03 joke lxd[17164]: action=r err="Failed to run: apparmor_parser -rWL /var/lib/lxd/security/apparmor/cache /var/lib/lxd/security/apparmor/profiles/lxd-fun-2: AppArmor parser error for /var/lib/lxd/security/apparmor/profiles/lxd-fun-2 in /var/lib/lxd/security/app
    armor/profiles/lxd-fun-2 at line 1: Could not open 'tunables/global'" lvl=eror msg="Running apparmor" output="AppArmor parser error for /var/lib/lxd/security/apparmor/profiles/lxd-fun-2 in /var/lib/lxd/security/apparmor/profiles/lxd-fun-2 at line 1: Could not open 'tunables
    /global'\n" t=2018-03-06T11:25:03+0200                                                                                                                                                                                                                                            
    Mar  6 11:25:03 joke lxd[17164]: container=fun-2 err="Failed to run: apparmor_parser -rWL /var/lib/lxd/security/apparmor/cache /var/lib/lxd/security/apparmor/profiles/lxd-fun-2: AppArmor parser error for /var/lib/lxd/security/apparmor/profiles/lxd-fun-2 in /var/lib/lxd/secur
    ity/apparmor/profiles/lxd-fun-2 at line 1: Could not open 'tunables/global'" lvl=eror msg="start hook failed" t=2018-03-06T11:25:03+0200

    While installing LXD/LXC I also installed "sys-apps/apparmor", without "sec-policy/apparmor-profiles". Installing "sec-policy/apparmor-profiles" solved the problem.

     

     


  12. Hi,

    I've got an errors

    # lxc launch funtoo fun-2
    Creating fun-2
    Starting fun-2
    error: Failed to run: /usr/sbin/lxd forkstart fun-2 /var/lib/lxd/containers /var/log/lxd/fun-2/lxc.conf: 
    Try `lxc info --show-log local:fun-2` for more info
    
    # lxc info --show-log local:fun-2
    Name: fun-2
    Remote: unix://
    Architecture: x86_64
    Created: 2018/03/06 09:42 UTC
    Status: Stopped
    Type: persistent
    Profiles: default
    
    Log:
    
                lxc 20180306094259.401 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306094259.401 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306094259.442 ERROR    lxc_conf - conf.c:run_buffer:438 - Script exited with status 1.
                lxc 20180306094259.442 ERROR    lxc_start - start.c:lxc_init:651 - Failed to run lxc.hook.pre-start for container "fun-2".
                lxc 20180306094259.442 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306094259.442 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306094259.442 ERROR    lxc_start - start.c:__lxc_start:1426 - Failed to initialize container "fun-2".
                lxc 20180306094259.443 ERROR    lxc_container - lxccontainer.c:wait_on_daemonized_start:751 - No such file or directory - Failed to receive the container state
    
    fun ~ # 

    or

    # lxc launch ubuntu:14.04 c1
    Creating c1
    Starting c1
    error: Failed to run: /usr/sbin/lxd forkstart c1 /var/lib/lxd/containers /var/log/lxd/c1/lxc.conf:
    Try `lxc info --show-log local:c1` for more info
    fun ~ # lxc info --show-log local:c1
    Name: c1
    Remote: unix://
    Architecture: x86_64
    Created: 2018/03/06 09:31 UTC
    Status: Stopped
    Type: persistent
    Profiles: default
    
    Log:
    
                lxc 20180306093152.830 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306093152.830 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306093152.859 ERROR    lxc_conf - conf.c:run_buffer:438 - Script exited with status 1.
                lxc 20180306093152.859 ERROR    lxc_start - start.c:lxc_init:651 - Failed to run lxc.hook.pre-start for container "c1".
                lxc 20180306093152.860 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306093152.860 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
                lxc 20180306093152.860 ERROR    lxc_start - start.c:__lxc_start:1426 - Failed to initialize container "c1".
                lxc 20180306093152.860 ERROR    lxc_container - lxccontainer.c:wait_on_daemonized_start:751 - No such file or directory - Failed to receive the container state
    
    fun ~ # 
    

     

    My system is

    # uname -a
    Linux fun 4.14.12-2 #1 SMP Mon Mar 5 10:48:09 EET 2018 x86_64 Intel(R) Xeon(R) CPU E31235 @ 3.20GHz GenuineIntel GNU/Linux
    # lxd --version
    2.21
    # lxc --version
    2.21
    # lxc info
    config: {}
    api_extensions:
    - storage_zfs_remove_snapshots
    - container_host_shutdown_timeout
    - container_stop_priority
    - container_syscall_filtering
    - auth_pki
    - container_last_used_at
    - etag
    - patch
    - usb_devices
    - https_allowed_credentials
    - image_compression_algorithm
    - directory_manipulation
    - container_cpu_time
    - storage_zfs_use_refquota
    - storage_lvm_mount_options
    - network
    - profile_usedby
    - container_push
    - container_exec_recording
    - certificate_update
    - container_exec_signal_handling
    - gpu_devices
    - container_image_properties
    - migration_progress
    - id_map
    - network_firewall_filtering
    - network_routes
    - storage
    - file_delete
    - file_append
    - network_dhcp_expiry
    - storage_lvm_vg_rename
    - storage_lvm_thinpool_rename
    - network_vlan
    - image_create_aliases
    - container_stateless_copy
    - container_only_migration
    - storage_zfs_clone_copy
    - unix_device_rename
    - storage_lvm_use_thinpool
    - storage_rsync_bwlimit
    - network_vxlan_interface
    - storage_btrfs_mount_options
    - entity_description
    - image_force_refresh
    - storage_lvm_lv_resizing
    - id_map_base
    - file_symlinks
    - container_push_target
    - network_vlan_physical
    - storage_images_delete
    - container_edit_metadata
    - container_snapshot_stateful_migration
    - storage_driver_ceph
    - storage_ceph_user_name
    - resource_limits
    - storage_volatile_initial_source
    - storage_ceph_force_osd_reuse
    - storage_block_filesystem_btrfs
    - resources
    - kernel_limits
    - storage_api_volume_rename
    - macaroon_authentication
    - network_sriov
    - console
    - restrict_devlxd
    - migration_pre_copy
    - infiniband
    - maas_network
    api_status: stable
    api_version: "1.0"
    auth: trusted
    public: false
    auth_methods:
    - tls
    environment:
      addresses: []
      architectures:
      - x86_64
      - i686
      certificate: |
        -----BEGIN CERTIFICATE-----
    ...
        vg==
        -----END CERTIFICATE-----
      certificate_fingerprint: a1d240ce836f964a92433d9df8441bdcd9584b61d6c0f928be71d0931d4ddb8f
      driver: lxc
      driver_version: 2.1.1
      kernel: Linux
      kernel_architecture: x86_64
      kernel_version: 4.14.12-2
      server: lxd
      server_pid: 17164
      server_version: "2.21"
      storage: zfs
      storage_version: 0.7.5-r0-gentoo

    Any ideas?

    What should I check?

    Thank you.

×
×
  • Create New...