On Fri, 16 Aug 2019 12:54:17 +0200 "Carlos E. R." <robin.listas@telefonica.net> wrote:
Hi,
for long, in the script that starts certain program, I used this (as plain user):
# Avoid huge dump core ops - doesn't work on Leap 42.2 ulimit -H -c 0 echo 0 > /proc/self/coredump_filter program
Suddenly, after an update applied yesterday, I get:
/home/cer/bin/fusion: line 81: ulimit: core file size: cannot modify limit: Invalid argument
You cannot modify the hard limit to be less than the soft limit. So either first set the soft (i.e. effective) limit to 0 and then set the hard limit (i.e. ceiling) to 0 or just do both at once: ulimit -c 0
Line 81 being:
ulimit -H -c 0
What has changed re ulimit?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org