Public bug reported:

Hello everybody,

this is my first bug report, so I apologize for any mistakes.

I'm trying to install docker with swap support, but cgroups swap support
is missing. It works on ubuntu 17.10, but it breaks on ubuntu 18.04

Was cgroup swap support removed from default kernel in ubuntu 18.04?
Should I recompile the kernel to enable it?


This is what check configs report:

root@proxima:~# wget
https://raw.githubusercontent.com/moby/moby/master/contrib/check-
config.sh && bash check-config.sh


- CONFIG_MEMCG_SWAP_ENABLED: missing
    (cgroup swap accounting is currently not enabled, you can enable it by 
setting boot option "swapaccount=1")


this is my /etc/default/grub

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 cgroup_enable=memory 
swapaccount=1"
GRUB_CMDLINE_LINUX=""

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-20-generic 4.15.0-20.21
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Thu May 17 16:12:17 2018
SourcePackage: linux-signed
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: linux-signed (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1771859

Title:
  Cgroup swap support not working

Status in linux-signed package in Ubuntu:
  New

Bug description:
  Hello everybody,

  this is my first bug report, so I apologize for any mistakes.

  I'm trying to install docker with swap support, but cgroups swap
  support is missing. It works on ubuntu 17.10, but it breaks on ubuntu
  18.04

  Was cgroup swap support removed from default kernel in ubuntu 18.04?
  Should I recompile the kernel to enable it?


  This is what check configs report:

  root@proxima:~# wget
  https://raw.githubusercontent.com/moby/moby/master/contrib/check-
  config.sh && bash check-config.sh

  
  - CONFIG_MEMCG_SWAP_ENABLED: missing
      (cgroup swap accounting is currently not enabled, you can enable it by 
setting boot option "swapaccount=1")

  
  this is my /etc/default/grub

  GRUB_DEFAULT=0
  GRUB_HIDDEN_TIMEOUT=0
  GRUB_HIDDEN_TIMEOUT_QUIET=true
  GRUB_TIMEOUT=10
  GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
  GRUB_CMDLINE_LINUX_DEFAULT="console=tty1 console=ttyS0 cgroup_enable=memory 
swapaccount=1"
  GRUB_CMDLINE_LINUX=""

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: linux-image-4.15.0-20-generic 4.15.0-20.21
  ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
  Uname: Linux 4.15.0-20-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7
  Architecture: amd64
  Date: Thu May 17 16:12:17 2018
  SourcePackage: linux-signed
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1771859/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to