-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swapfile not really disabled #1620
Comments
This may effectively undermine the efforts of 1dbab3c to minimize the duration of plaintext in memory, and should be resolved in the 0.4 release. Last time I checked it is the default to include a swapfile in |
Next steps
Goals
|
Have a working implementation for detecting active swap, disabling it, shredding it, and removing the fstab entry. The changes are idempotent. Will place them in the |
Checks for active swap on system, and if found: * disables it so the system won't write to it * shreds the contents so any sensitive data is destroyed Regardless of whether an active swap config was disabled, any fstab entry of type "swap" will be commented out, effectively disabling it permanently by ensuring it won't be reenabled on subsequent reboots. Closes #1620.
Checks for active swap on system, and if found: * disables it so the system won't write to it * shreds the contents so any sensitive data is destroyed Regardless of whether an active swap config was disabled, any fstab entry of type "swap" will be commented out, effectively disabling it permanently by ensuring it won't be reenabled on subsequent reboots. Closes #1620.
Still permitting swap presence on Monitor hosts, since the first-run Ansible config hasn't been updated to remove it there. Changes to the Ansible config are tracked in #1620.
The Ansible config tries to disable swapfile on the Application and Monitor Servers, via
swapoff -a
. This works, but only for the current boot cycle. If a machine is configured with a swapfile in/etc/fstab
, that swapfile will be restored on a subsequent reboot. Since the machines reboot nightly, theswapoff -a
approach is close to useless.In order to disable swap effectively, the first-run Ansible config should ensure that no swap entries exist in fstab, removing them if found.
The text was updated successfully, but these errors were encountered: