Re: Masking swap.target to disable swaps (on old systemd versions)

2024-01-04 Thread Max Gautier
On Tue, Jan 02, 2024 at 09:56:44PM +0300, Andrei Borzenkov wrote: > On 02.01.2024 18:47, Max Gautier wrote: > > Hi, > > > > Is masking `swap.target` a reliable/supported way to disable all swaps > > (partition, file, whatever) ? > > > > I used that approach in Kubespray[1] (a k8s installer)

Re: Masking swap.target to disable swaps (on old systemd versions)

2024-01-02 Thread Andrei Borzenkov
On 02.01.2024 18:47, Max Gautier wrote: Hi, Is masking `swap.target` a reliable/supported way to disable all swaps (partition, file, whatever) ? I used that approach in Kubespray[1] (a k8s installer) while refactoring our "disable swap" steps, but it looks likes it does not work on Centos 7

Masking swap.target to disable swaps (on old systemd versions)

2024-01-02 Thread Max Gautier
Hi, Is masking `swap.target` a reliable/supported way to disable all swaps (partition, file, whatever) ? I used that approach in Kubespray[1] (a k8s installer) while refactoring our "disable swap" steps, but it looks likes it does not work on Centos 7 [2] (more specifically, systemd 219) ; and