You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
before that, English is not my first language so please excuse any mistakes.
so today I try to change the path of swapfc into another directory that placed in a partition(ext4). and when I try to start the systemd service I got an error that mentioned PermissionError. I have no clue what to do next except using the default path for now. is it not posibble to do that?
OS: Manjaro 22.0.0 Kernel 5.15.41-1
Systemd status
× systemd-swap.service - Manage swap spaces on zram, files and partitions.
Loaded: loaded (/usr/lib/systemd/system/systemd-swap.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Mon 2022-10-17 08:57:56 WIB; 2s ago
Duration: 4min 36.809s
Process: 5694 ExecStart=/usr/bin/systemd-swap start (code=exited, status=1/FAILURE)
Main PID: 5694 (code=exited, status=1/FAILURE)
Status: "Allocating swap file..."
CPU: 197ms
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: File "/usr/bin/systemd-swap", line 203, in init
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: self.create_swapfile("swapFC: allocate chunk: ")
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: File "/usr/bin/systemd-swap", line 311, in create_swapfile
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: swapfile = self.prepare_swapfile(
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: File "/usr/bin/systemd-swap", line 359, in prepare_swapfile
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: os.mknod(path)
Okt 17 08:57:56 xndrive-linux systemd-swap[5694]: PermissionError: [Errno 13] Permission denied
Okt 17 08:57:56 xndrive-linux systemd[1]: systemd-swap.service: Main process exited, code=exited, status=1/FAILURE
Okt 17 08:57:56 xndrive-linux systemd[1]: systemd-swap.service: Failed with result 'exit-code'.
Okt 17 08:57:56 xndrive-linux systemd[1]: Failed to start Manage swap spaces on zram, files and partitions..
before that, English is not my first language so please excuse any mistakes.
so today I try to change the path of swapfc into another directory that placed in a partition(ext4). and when I try to start the systemd service I got an error that mentioned PermissionError. I have no clue what to do next except using the default path for now. is it not posibble to do that?
OS: Manjaro 22.0.0 Kernel 5.15.41-1
Systemd status
This is my configuration
The text was updated successfully, but these errors were encountered: