Skip to content
  1. Jan 15, 2024
  2. Jan 12, 2024
  3. Jan 11, 2024
  4. Jan 09, 2024
  5. Jan 08, 2024
  6. Jan 05, 2024
  7. Jan 04, 2024
  8. Dec 21, 2023
  9. Dec 20, 2023
  10. Dec 19, 2023
  11. Dec 18, 2023
  12. Dec 15, 2023
  13. Dec 14, 2023
  14. Dec 13, 2023
  15. Dec 12, 2023
  16. Dec 11, 2023
  17. Dec 07, 2023
    • Max Gautier's avatar
      Use systemd for disabling swap when it's used (#10587) · 2c3ea84e
      Max Gautier authored
      * Mask systemd swap.target do disable swap
      
      This is a more generic way to disable swap, since it pulls .swap units
      in systemd distributions; fstab is only one way to generate .swap units.
      
      * Unconditionally disable swap
      
      We only care to disable it (the "swapon" registered variable is not used
      anywhere else.
      This allows to get rid of the ignore_errors, since this was added
      because swapon.stdout does not exist in check_mode (see issue #6642).
      
      * Don't explicitly disable swapOnZram
      
      We're already masking the swap.target, which would pull the zram unit,
      hence no need to handle zram-generator specifically.
      2c3ea84e
Loading