[Bug 1448916] [NEW] zram-config fails to stop
Alexander Ponyatykh
1448916 at bugs.launchpad.net
Mon Apr 27 08:24:24 UTC 2015
Public bug reported:
zram-config fails to stop. The script executes "rmmod -w zram", but rmmod don't have -w option.
$ LANG=C journalctl -xe
-- Unit zram-config.service has begun shutting down.
Apr 27 11:16:43 gurren.lazyranma.ru end-zram-swapping[20419]: rmmod: ERROR: unexpected getopt_long() value 'w'.
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: zram-config.service: control process exited, code=exited status=1
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: Stopped Initializes zram swaping.
-- Subject: Unit zram-config.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit zram-config.service has finished shutting down.
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: Unit zram-config.service entered failed state.
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: zram-config.service failed.
$ sudo bash -x /usr/bin/end-zram-swapping
++ grep zram /proc/swaps
++ awk '{print $1}'
+ DEVICES='/dev/zram0
/dev/zram1
/dev/zram2
/dev/zram3'
+ for i in '$DEVICES'
+ swapoff /dev/zram0
+ for i in '$DEVICES'
+ swapoff /dev/zram1
+ for i in '$DEVICES'
+ swapoff /dev/zram2
+ for i in '$DEVICES'
+ swapoff /dev/zram3
+ rmmod -w zram
rmmod: ERROR: unexpected getopt_long() value 'w'.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: zram-config 0.3 [modified: usr/bin/init-zram-swapping]
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 27 11:17:12 2015
PackageArchitecture: all
SourcePackage: zram-config
UpgradeStatus: Upgraded to vivid on 2015-04-26 (1 days ago)
** Affects: zram-config (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug 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/1448916
Title:
zram-config fails to stop
Status in zram-config package in Ubuntu:
New
Bug description:
zram-config fails to stop. The script executes "rmmod -w zram", but rmmod don't have -w option.
$ LANG=C journalctl -xe
-- Unit zram-config.service has begun shutting down.
Apr 27 11:16:43 gurren.lazyranma.ru end-zram-swapping[20419]: rmmod: ERROR: unexpected getopt_long() value 'w'.
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: zram-config.service: control process exited, code=exited status=1
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: Stopped Initializes zram swaping.
-- Subject: Unit zram-config.service has finished shutting down
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit zram-config.service has finished shutting down.
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: Unit zram-config.service entered failed state.
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: zram-config.service failed.
$ sudo bash -x /usr/bin/end-zram-swapping
++ grep zram /proc/swaps
++ awk '{print $1}'
+ DEVICES='/dev/zram0
/dev/zram1
/dev/zram2
/dev/zram3'
+ for i in '$DEVICES'
+ swapoff /dev/zram0
+ for i in '$DEVICES'
+ swapoff /dev/zram1
+ for i in '$DEVICES'
+ swapoff /dev/zram2
+ for i in '$DEVICES'
+ swapoff /dev/zram3
+ rmmod -w zram
rmmod: ERROR: unexpected getopt_long() value 'w'.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: zram-config 0.3 [modified: usr/bin/init-zram-swapping]
ProcVersionSignature: Ubuntu 3.19.0-15.15-generic 3.19.3
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 27 11:17:12 2015
PackageArchitecture: all
SourcePackage: zram-config
UpgradeStatus: Upgraded to vivid on 2015-04-26 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1448916/+subscriptions
More information about the foundations-bugs
mailing list