[Bug 1443699] Re: zram doesn't start on non-english locale

GamePad64 1443699 at bugs.launchpad.net
Wed Apr 29 23:27:49 UTC 2015


*** This bug is a duplicate of bug 1448530 ***
    https://bugs.launchpad.net/bugs/1448530

** This bug has been marked a duplicate of bug 1448530
   zram not working on vivid

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

Title:
  zram doesn't start on non-english locale

Status in zram-config package in Ubuntu:
  Confirmed

Bug description:
  Line:
  > totalmem=`free | grep -e "^Mem:" | sed -e 's/^Mem: *//' -e 's/  *.*//'`

  of /usr/bin/init-zram-swapping is wrong, because it doesn't account
  system locale, in my case Ukrainian, free gives such output:

  > nazar-pc at nazar-pc ~> free
  >              загалом     використ.  вільна   спільна   буфери      кешовано
  > Пам.:    8093264    7917060     176204    1934296         76    3536344
  > -/+ буфери/кеш:    4380640    3712624
  > Своп.:    6937056          0    6937056

  As you can see, instead of "Mem" I have "Пам." here, and correcting
  script to that makes zram working, so there is need for better regexp

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



More information about the foundations-bugs mailing list