[Bug 1693432] Re: If zram is not module init-zram-swapping exit 1.

Mantas Kriaučiūnas mantas at akl.lt
Mon Aug 28 09:48:17 UTC 2017


I've found improved version of zram-config at lp:~eugenesan/+junk/zram-
config with following improvements:

 Utilize zram built-in multi-threading, config file and /tmp mounting
   * Rework scripts to Utilize built-in zram multi cpu support
   * Add support for /tmp mounting on zram device
   * Introduce defaults file for setting parameters
   * Rename scripts and install them to /sbin

See LP bug #1548424 for more info.

Maybe you can ask Eugenesan to improve checking for zram availability in
the system ?

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zram-config in Ubuntu.
https://bugs.launchpad.net/bugs/1693432

Title:
  If zram is not module init-zram-swapping exit 1.

Status in zram-config package in Ubuntu:
  Confirmed

Bug description:
  /usr/bin/init-zram-swapping check against existance of zram module,
   but on embedded system zram may be statically compiled in kernel  so it fails and exit 1.

  
  I suggest to add more robust check for zram availability in the system.

  Workaround :

  Remove all before modprobe and set ${NRDEVICES}  to number of existent
  /dev/zramX devices.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1693432/+subscriptions



More information about the foundations-bugs mailing list