Jump to content
funtoo forums

[Solved] Missing kernel config options required by app-emulation/docker

Recommended Posts


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


ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-mtune=generic -O2 -pipe"
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"
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"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
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"

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:                                                                                                                                                                                                                                                                                                 
Found sources for kernel version:                                                                                                                                                                                                                                                                                              
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,




Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...