From: Tom Hughes Date: Tue, 12 Nov 2019 13:41:50 +0000 (+0000) Subject: Don't remount /dev/shm on change X-Git-Url: https://git.openstreetmap.org/chef.git/commitdiff_plain/7dfbb756921020fab762bc6331af5935c9bd5763 Don't remount /dev/shm on change The chef remount action actually does unmount+mount not remount and triggers unconditionally. --- diff --git a/cookbooks/hardware/recipes/default.rb b/cookbooks/hardware/recipes/default.rb index ff02962db..454386459 100644 --- a/cookbooks/hardware/recipes/default.rb +++ b/cookbooks/hardware/recipes/default.rb @@ -538,7 +538,7 @@ end if node[:hardware][:shm_size] mount "/dev/shm" do - action [:mount, :remount, :enable] + action [:mount, :enable] device "tmpfs" fstype "tmpfs" options "rw,nosuid,nodev,size=#{node[:hardware][:shm_size]}"