-
Notifications
You must be signed in to change notification settings - Fork 77
Description
I'm on Arch, running the latest version of systemd-swap in community.
When I try to start the systemd-swap service, it fails.
- systemd-swap.service - Manage swap spaces on zram, files and partitions.
Loaded: loaded (/usr/lib/systemd/system/systemd-swap.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Sun 2021-01-03 13:16:29 EST; 43s ago
Process: 1236 ExecStart=/usr/bin/systemd-swap start (code=exited, status=203/EXEC)
Main PID: 1236 (code=exited, status=203/EXEC)Jan 03 13:16:29 valine systemd[1]: Starting Manage swap spaces on zram, files and partitions....
Jan 03 13:16:29 valine systemd[1236]: systemd-swap.service: Failed to execute /usr/bin/systemd-swap: Operation not permitted
Jan 03 13:16:29 valine systemd[1236]: systemd-swap.service: Failed at step EXEC spawning /usr/bin/systemd-swap: Operation not permitted
Jan 03 13:16:29 valine systemd[1]: systemd-swap.service: Main process exited, code=exited, status=203/EXEC
Jan 03 13:16:29 valine systemd[1]: systemd-swap.service: Failed with result 'exit-code'.
Jan 03 13:16:29 valine systemd[1]: Failed to start Manage swap spaces on zram, files and partitions..
However, running systemd-swap manually works perfectly.
# systemd-swap start
INFO: Removing working directory...
INFO: Removing files in /mnt/Media/swapfc/...
INFO: Zswap: backup current configuration: start
INFO: Zswap: backup current configuration: complete
INFO: Zswap: set new parameters: start
INFO: Zswap: Enable: 1, Comp: zstd, Max pool %: 25, Zpool: z3fold
INFO: Zswap: set new parameters: complete
INFO: Writing destroy info...
INFO: swapD: pick up devices from systemd-gpt-auto-generator
INFO: swapD: searching swap devices
INFO: swapFC: on-demand swap activation at >5055 MiB memory usage