Bug#387991: [Pkg-ltsp-devel] Bug#387991: nbdswapd: Should accept swap directory configuration

Petter Reinholdtsen pere at hungry.com
Mon Sep 18 06:23:34 UTC 2006

[Vagrant Cascadian]
> in /etc/ltsp/nbdswapd.conf:
> SWAP="$(mktemp -p /var/opt/ltsp/swapfiles/)"
> :P


> if i add thse instructions to the swap documentation, would this be
> enough?

It would help, at least.  But isn't the choice of configuration
variable making it too easy to mess up the system?  If one do
SWAP=/tmp/swap, it will break completely, right?  Why do you want to
be able to specify a single PATH, instead of specifying where the swap
files will be stored, and leave it to the script to come up with an
unique name?

I suspect the interface design for the configuration options should be
reconsidered because of tihs.  To me, the SWAP option do not make

Petter Reinholdtsen

More information about the Pkg-ltsp-devel mailing list