Package: uswsusp
Version: 0.3~cvs20060928-1
Severity: wishlist

when i tried to use s2disk, it wouldn't work, because the swap partition
is encrypted.

so then i configured it to use an un-used swap partition, but i get the
following:

s2disk
suspend: libgcrypt version: 1.2.3
suspend: Could not use the resume device (try swapon -a)

is there any way to configure uswsusp to use an un-mounted swap
partition?

i don't want to mount the swap partition just to use uswsusp, as
something might swap data out to it.

and it seems impractical to be able to support encrypted swap partitions
(especially with a dynamically generated encryption key).

the ugly workaround i've done is:

swapon /dev/hda1 ; s2disk ; swapoff /dev/hda1

but that doesn't seem real great.

live well,
  vagrant

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages uswsusp depends on:
ii  debconf [debconf-2.0]        1.5.6       Debian configuration management sy
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries
ii  libgcrypt11                  1.2.3-2     LGPL Crypto library - runtime libr
ii  libgpg-error0                1.4-1       library for common error values an

Versions of packages uswsusp recommends:
ii  initramfs-tools               0.84       tools for generating an initramfs

-- debconf information:
* uswsusp/compute_checksum: true
* uswsusp/suspend_loglevel:
  uswsusp/no_swap:
* uswsusp/early_writeout: true
* uswsusp/image_size: 150MB
* uswsusp/compress: true
* uswsusp/create_RSA_key: false
* uswsusp/snapshot_device:
* uswsusp/RSA_key_file: /etc/uswsusp.key
* uswsusp/max_loglevel:
* uswsusp/resume_device: /dev/mapper/crypt1
* uswsusp/encrypt: true
  uswsusp/splash: false
* uswsusp/RSA_key_bits: 1024


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to