"Unexpected output" when cleaning LVM swap partition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BleachBit |
Fix Released
|
Undecided
|
Andrew Ziem | ||
bleachbit (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Console output:
>>
debug: disabling swap
debug: running cmd ['swapoff', '-a', '-v']
Traceback (most recent call last):
File "/usr/share/
for ret in cmd.execute(
File "/usr/share/
for func_ret in self.func():
File "/usr/share/
devices = disable_
File "/usr/share/
% { 'args' : str(args), 'stdout' : stdout, 'stderr' : stderr } )
RuntimeError: Unexpected output:
args='['swapoff', '-a', '-v']'
stdout='swapoff on /dev/mapper/
'
stderr=''
Unexpected output:
args='['swapoff', '-a', '-v']'
stdout='swapoff on /dev/mapper/
'
stderr=''
<<
This only occurs when attempting to clean the swap on a system where LVM is used. A consequence of this problem is that the swap area is left off, and must be enabled again, manually.
This problem does not occur when running the same operation under a system where LVM is not used.
Checked on various systems running Natty, Oneiric, Precise, Quantal and Ringtail
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: bleachbit 0.9.3-1
ProcVersionSign
Uname: Linux 3.7.0-7-generic i686
ApportVersion: 2.7-0ubuntu2
Architecture: i386
Date: Fri Dec 21 05:18:05 2012
InstallationDate: Installed on 2012-12-14 (6 days ago)
InstallationMedia: Lubuntu 13.04 "Raring Ringtail" - Alpha i386 (20121214)
MarkForUpload: True
PackageArchitec
SourcePackage: bleachbit
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in bleachbit (Ubuntu): | |
status: | Fix Committed → In Progress |
Changed in bleachbit (Ubuntu): | |
status: | In Progress → New |
Changed in bleachbit: | |
status: | New → In Progress |
Changed in bleachbit (Ubuntu): | |
assignee: | Andrew Ziem (ahziem1) → nobody |
Changed in bleachbit: | |
assignee: | nobody → Andrew Ziem (ahziem1) |
milestone: | none → 0.9.5 |
Changed in bleachbit: | |
status: | In Progress → Fix Committed |
Changed in bleachbit (Ubuntu): | |
status: | New → Fix Committed |
Thank you for the detailed bug report. Potential fix commited in SVN revision 2743. Could you verify this patch?
http:// bleachbit. svn.sourceforge .net/viewvc/ bleachbit/ trunk/bleachbit /Memory. py?r1=2624& r2=2743