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

silviop far5893 at iperbole.bologna.it
Thu May 25 07:21:58 UTC 2017


Public bug reported:

/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.

** Affects: zram-config (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: swap zram

-- 
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:
  New

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