[Pkg-ltsp-devel] Bug#690267: ltsp-client: nbd swap files are not removed from the server if swap encryption is enabled
George Kiagiadakis
kiagiadakis.george at gmail.com
Thu Oct 11 19:41:16 UTC 2012
Package: ltsp-client
Version: 5.4.2-2
Severity: normal
Dear Maintainer,
NBD swap files seem to be encrypted by default (if no encryption
option is specified).
However, the nbd-disconnect script does not handle encrypted swap files.
Specifically, it tries to do "swapoff /dev/nbd1" where it should actually
be doing swapoff on /dev/mapper/swap0 and removing the dm-crypt mapping with
cryptsetup.
The problem is that since nbd-disconnect fails, the swap file is not
properly removed from the server.
As a workaround, setting ENCRYPT_SWAP=False in lts.conf solves the issue.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (100, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ltsp-client depends on:
ii alsa-utils 1.0.25-3
ii cron 3.0pl1-124
ii cryptsetup 2:1.4.3-2
ii cups-bsd 1.5.3-1
ii freerdp-x11 1.0.1-1.1
ii inputattach 1:1.4.3-1
ii ldm 2:2.2.11-2
ii libasound2-plugins 1.0.25-2
ii ltsp-client-core 5.4.2-2
ii ltspfsd 1.1-2
ii mdetect 0.5.2.3
ii netcat-traditional [netcat] 1.10-40
ii ntpdate 1:4.2.6.p5+dfsg-2
ii numlockx 1.2-4
ii pulseaudio 2.0-6
ii python-daemon 1.5.5-1
ii python-serial 2.5-2.1
ii rdesktop 1.7.1-1
ii rsyslog [system-log-daemon] 5.8.11-2
ii sane-utils 1.0.22-7.4
ii sshfs 2.4-1
ii x11-xserver-utils 7.7~3
ii xorg 1:7.7+1
ltsp-client recommends no packages.
ltsp-client suggests no packages.
-- no debconf information
More information about the Pkg-ltsp-devel
mailing list