zram-config fails to stop on unknown rmmod -w option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zram-config (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Vivid |
New
|
Undecided
|
Unassigned |
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-
Apr 27 11:16:43 gurren.lazyranma.ru systemd[1]: zram-config.
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://
--
-- 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/
++ 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/
ProcVersionSign
Uname: Linux 3.19.0-15-generic x86_64
NonfreeKernelMo
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 27 11:17:12 2015
PackageArchitec
SourcePackage: zram-config
UpgradeStatus: Upgraded to vivid on 2015-04-26 (1 days ago)
tags: | added: systemd-boot |
Changed in zram-config (Ubuntu): | |
importance: | Undecided → High |
tags: | removed: trusty |
Confirmed. Happens under upstart as well as it's the same script.