Package Details: swapspace 1.17-1

Git Clone URL: https://aur.archlinux.org/swapspace.git (read-only, click to copy)
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.000000
First Submitted: 2011-10-13 18:29
Last Updated: 2020-05-22 02:42

Latest Comments

1 2 Next › Last »

gobonja commented on 2020-08-09 15:07

Since latest version swapspace.service is changed, so swap is not automatically removed on service restart. Should this be reported here or upstream? Old service had ExecStop=/usr/bin/swapspace -e

Yatta commented on 2019-07-01 16:17

armv7h compiles and installs just fine.

Dieter9 commented on 2017-10-16 09:26

The new version fix the problem. I can confirm, that the error message does not appear any more.
Thank you very much for your quick response.

chungy commented on 2017-10-16 04:22

I've been able to test this thoroughly, the target systemd decides to delete changes at random, swapspace might be included in that. I've changed it so it has WantedBy=multi-user.target instead, and this shouldn't fail.

You might need to delete your /etc/systemd/system/swap.target.wants/swapspace.service on upgrading. The best route is probably to do "systemctl disable swapspace.service" before upgrading, then do an enable again after upgrading.

Dieter9 commented on 2017-10-15 16:00

Since some weeks I get this error message during boot:
systemd[1]: sysinit.target: Job swap.target/start deleted to break ordering cycle starting with sysinit.target/start
This seems to be related to swapspace. But swapspace is still working fine.

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