Package Details: swapspace 1.13-2

Git Clone URL: https://aur.archlinux.org/swapspace.git (read-only)
Package Base: swapspace
Description: A dynamic swap manager
Upstream URL: https://github.com/Tookmund/Swapspace
Licenses: GPL
Submitter: chungy
Maintainer: chungy
Last Packager: chungy
Votes: 13
Popularity: 0.017277
First Submitted: 2011-10-13 18:29
Last Updated: 2016-08-04 03:49

Latest Comments

chungy commented on 2016-12-28 11:07

The first warning is fine. swapspace uses the directory for the files it creates, there won't be any swap files pre-packaged however :)

The second warning should be fine too. Packages in base don't need to be explicitly defined as depends. I think namcap could be updated to be smarter about that.

apollo11w commented on 2016-12-27 00:07

Hmm, I hope I don't encounter any of the problems mentioned in the previous comments. That being said, this is what `namcap' outputs in yaourt:

`swapspace W: Directory (var/lib/swapspace) is empty
swapspace E: Dependency glibc detected and not included (libraries ['usr/lib/libc.so.6'] needed in files ['usr/bin/swapspace'])`

jprendes commented on 2016-02-05 15:18

The daemon fails to deallocate the swap files. This is due to it failing to correctly identify the files in /proc/swap.

By setting VARPREFIX to "/", swappath becomes "//var/lib/swapspace".
The length of the string is computed before it is canonized, so swappath_len is off by one, finally preventing to validate the path of the files in /proc/swap.

A workaround is to set VARPREFIX to ""

char101 commented on 2015-11-04 06:43

https://github.com/Tookmund/Swapspace/blob/5d53218727069f8a2a33bd89d8156e21640b1cdf/README#L10
If you install to somewhere other than /usr/local/ be sure to edit the
ETCPREFIX and VARPREFIX variables in src/env.h as well as the initscript

The default configuration path without modifying ETCPREFIX is /usr/local/etc/swapspace.conf not /etc/swapspace.conf

Blissfull commented on 2015-09-18 00:57

Error: Could not get filesystem information for swap directory '/usr/local/var/lib/swapspace': No such file or directory

chungy commented on 2015-03-24 22:48

Thanks. I've also taken the opportunity to redo the whole package for a proper systemd integration (no more shell script emulating the old initscripts). Please take note that instead of being wanted by multi-user.target anymore, it's now wanted by swap.target. You'll probably need to fix your systemd configuration if you have swapspace enabled.

Doing so should be simple, either run "systemctl disable swapspace.service" before upgrading, or run "rm /etc/systemd/system/multi-user.target/swapspace.service" afterwards, and then "systemctl enable swapspace.service".

chungy commented on 2015-03-24 22:46

Thanks. I've also taken the opportunity to redo the whole package for a proper systemd integration (no more shell script emulating the old initscripts). Please take note that instead of being wanted by multi-user.target anymore, it's now wanted by swap.target. You'll probably need to fix your systemd configuration if you have swapspace enabled.

InfernoZeus commented on 2015-03-21 20:12

This package wouldn't install for me as /usr/sbin is now just a symlink to /usr/bin, which is referenced in both Makefile.patch and systemd.scripts.swapspace. I've uploaded new copies of those two, plus the PKGBUILD with updated hashes to gist, here: https://gist.github.com/InfernoZeus/24e201605ffa67aafc5f

daroczig commented on 2013-12-24 23:30

Sry, I flagged the package "out-of-date" by coincidence, I wanted to download the tarball :(

zatricky commented on 2013-02-02 14:41

pqxx.org appears down :-/
Temporary alternative: http://swiftspirit.co.za/down/swapspace-1.10.tar.gz

All comments