Bug #706

config kernel for Docker

Добавил(а) Victor Guardiola почти 10 года назад. Обновлено больше 9 лет назад.

Статус:New Начата:03.12.2014
Приоритет:High Дата выполнения:
Назначена:- Готовность в %:

0%

Категория:- Затраченное время: -
Версия:-
Голоса: 2

Описание

If I try to install docker (app-emulation/docker) I need the next kernel params

  • Checking for suitable kernel configuration options...
  • CONFIG_DEVPTS_MULTIPLE_INSTANCES: is not set when it should be.
  • CONFIG_CGROUP_DEVICE: is not set when it should be.
  • CONFIG_CGROUP_FREEZER: is not set when it should be.
  • CONFIG_MACVLAN: is not set when it should be.
  • CONFIG_VETH: is not set when it should be.
  • CONFIG_CGROUP_PERF: is optional for container statistics gathering
    Can you activate it in the next kernel version, pls?

История

Обновлено Сергей Федотов почти 10 года назад

Hi!
This system is about templates and automation. Just create needed templates like this and re-emerge calculate-sources:

/var/calculate/templates/6_ac_install_patch/sys-kernel/calculate-sources/3.14/libvirt:

# Calculate name=.config format=openrc
CONFIG_DM_MULTIPATH=m
CONFIG_MACVLAN=m
CONFIG_MACVTAP=m
CONFIG_BRIDGE_NF_EBTABLES=m
CONFIG_BRIDGE_EBT_MARK_T=m
CONFIG_BRIDGE_EBT_T_NAT=m
CONFIG_BLK_DEV_NBD=m

/var/calculate/templates/6_ac_install_patch/sys-kernel/calculate-sources/3.14/.calculate_directory:
# Calculate append=skip merge(sys-kernel/calculate-sources)>=3.14

/var/calculate/templates/6_ac_install_patch/sys-kernel/calculate-sources/.calculate_directory:
# Calculate append=skip merge()!=

/var/calculate/templates/6_ac_install_patch/sys-kernel/.calculate_directory:
# Calculate append=skip

/var/calculate/templates/6_ac_install_patch/.calculate_directory:
# Calculate append=skip env=install cl_ver>=3.1.4&&ac_install_patch==on

/var/calculate/templates/.calculate_directory:
# Calculate append=skip cl_name==calculate-core&&cl_ver>=3.1.1

Обновлено Victor Guardiola почти 10 года назад

thanks I try it

Обновлено Victor Guardiola почти 10 года назад

Sorry, I try It, but don't work
I put the files here /var/calculate/templates/6_ac_install_patch:

/var/calculate/templates/6_ac_install_patch
└── sys-kernel
└── calculate-sources
└── 3.18
└── libvirt

I modify the file /var/lib/layman/calculate/profiles/templates/3.3/6_ac_install_patch/sys-kernel/calculate-sources/3.18/0_config-x86_64

And I rebuild the kernel with or without the USE param build:
$ USE="build" emerge -vaq sys-kernel/calculate-sources
$ emerge -vaq sys-kernel/calculate-sources

Some idea or is possible to add this options to default calculate kernel, now Docker is a very important tool.

Thanks

Обновлено Александр Графов больше 9 лет назад

I also followed instructions above for kernel 3.18 but got same error with updated kernel. And I think options for virtualization used by docker will be useful in the default kernel config for calculate.

Обновлено Victor Guardiola больше 9 лет назад

Some news guys?

Экспортировать в Atom PDF

Спасибо!