Public bug reported:

Console output:
>>
debug: disabling swap
debug: running cmd  ['swapoff', '-a', '-v']
Traceback (most recent call last):
  File "/usr/share/bleachbit/bleachbit/Worker.py", line 88, in execute
    for ret in cmd.execute(self.really_delete):
  File "/usr/share/bleachbit/bleachbit/Command.py", line 131, in execute
    for func_ret in self.func():
  File "/usr/share/bleachbit/bleachbit/Memory.py", line 246, in wipe_memory
    devices = disable_swap_linux()
  File "/usr/share/bleachbit/bleachbit/Memory.py", line 70, in 
disable_swap_linux
    % { 'args' : str(args), 'stdout' : stdout, 'stderr' : stderr } )
RuntimeError: Unexpected output:
args='['swapoff', '-a', '-v']'
stdout='swapoff on /dev/mapper/lubuntu-swap_1
'
stderr=''
Unexpected output:
args='['swapoff', '-a', '-v']'
stdout='swapoff on /dev/mapper/lubuntu-swap_1
'
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
ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
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
PackageArchitecture: all
SourcePackage: bleachbit
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: bleachbit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 raring

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1092792

Title:
  "Unexpected output" when cleaning LVM swap partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bleachbit/+bug/1092792/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to