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

Launchpad Bug Tracker 1443699 at bugs.launchpad.net
Sat Apr 25 19:26:34 UTC 2015


Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: zram-config (Ubuntu)
       Status: New => Confirmed

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