** Description changed: - The zram-config package install works without errors, but at swapon -s, - no zram devices are listed. + [Impact] + * People using some non English locale, zram devices are not loaded + * The service fails to stop and unloading zram module as well + + [Test Case] + * Install the new zram-config package + * Reboot and check that the zram devices are created: + $ swapon -s + -> returns some zram devices + * $ sudo systemctl status -l zram-config.service + -> no error + * Stop the service: + $ sudo systemctl stop zram-config.service + * $ sudo systemctl status -l zram-config.service + -> no error + * swapon -s + -> no more zram device listed + + [Regression Potential] + * Services loading change may impact English-local user. However, the fix has already been confirmed to be working on wily. + * Stopping the service was already failing on unloading the module, so no additional regression is possible there. + + --------------------- + + + The zram-config package install works without errors, but at swapon -s, no zram devices are listed. $ dmesg | grep zram [ 26.933769] zram: Created 4 device(s) ... $ swapon -s Filename Type Size Used Priority /var/cache/swap/swap0 file 4194300 223296 -1 This problem exist on my notebook and I can recreate it on a fresh 15.04 vm install. - $ sudo systemctl status -l zram-config.service â— zram-config.service - Initializes zram swaping - Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled) - Active: failed (Result: exit-code) since Mi 2015-04-29 13:25:17 CEST; 4min 39s ago - Process: 538 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=255) - Main PID: 538 (code=exited, status=255) + Loaded: loaded (/lib/systemd/system/zram-config.service; enabled; vendor preset: enabled) + Active: failed (Result: exit-code) since Mi 2015-04-29 13:25:17 CEST; 4min 39s ago + Process: 538 ExecStart=/usr/bin/init-zram-swapping (code=exited, status=255) + Main PID: 538 (code=exited, status=255) Apr 29 13:25:16 test-VirtualBox systemd[1]: Starting Initializes zram swaping... Apr 29 13:25:16 test-VirtualBox init-zram-swapping[538]: sh: echo: I/O error Apr 29 13:25:16 test-VirtualBox init-zram-swapping[538]: mkswap: error: swap area needs to be at least 40 KiB Apr 29 13:25:17 test-VirtualBox init-zram-swapping[538]: swapon: /dev/zram0: Swap-Header konnte nicht gelesen werden Apr 29 13:25:17 test-VirtualBox systemd[1]: zram-config.service: main process exited, code=exited, status=255/n/a Apr 29 13:25:17 test-VirtualBox systemd[1]: Failed to start Initializes zram swaping. Apr 29 13:25:17 test-VirtualBox systemd[1]: Unit zram-config.service entered failed state. Apr 29 13:25:17 test-VirtualBox systemd[1]: zram-config.service failed. - --- ApportVersion: 2.17.2-0ubuntu1 Architecture: amd64 CurrentDesktop: XFCE DistroRelease: Ubuntu 15.04 InstallationDate: Installed on 2015-04-25 (0 days ago) InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422.1) Package: zram-config 0.3 PackageArchitecture: all ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3 Tags: vivid Uname: Linux 3.19.0-15-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1448530 Title: zram-config is not working on non-English locales in vivid To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1448530/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs