## Troubleshooting

> [ERROR] client.alloc_runner.task_runner: running driver failed:
> alloc_id={UUID} task=nomad-ui error="rpc error: code = Unknown desc =
> failed to start task, could not start container:
> io.podman.ErrorOccurred(Reason: writing file 'memory.memsw.limit_in_bytes':
> Permission denied: OCI runtime permission denied error)"

Apparently Nomad requires Linux kernel booted with "swapaccount=1" option.
(e.g. "/etc/default/grub" :: "GRUB_CMDLINE_LINUX_DEFAULT").

    sudo dpkg-reconfigure grub-pc

Then add "swapaccount=1" to "Linux default command line".

---

After updating configuration in `/etc/containers/libpod.conf` remember to

    sudo systemctl restart io.podman

to pick up changes.
