On 2025 Sep 21 (Sun) at 17:47:31 +0000 (+0000), H. Hartzer wrote: :Hi, : :Thank you all for the replies! : :On Sun Sep 21, 2025 at 10:58 AM UTC, Crystal Kolipe wrote: :> Add: :> :> :coredumpsize=0:\ :> :> to the default class in /etc/login.conf :> :> (this has been documented previously on -misc, by the way.) : :I did not see it anywhere, my bad. I tried searching but had no luck. : :On Sun Sep 21, 2025 at 3:20 AM UTC, Jeremy Mates wrote: :> On 2025-09-21 01:38:43 +0000, H. Hartzer wrote: :>> How can one disable core dumps? :> :> #!/bin/sh :> ulimit -c 0 :> exec your_program_that_is_poorly_written_here : :These methods both sound good and either should work for me. : :In this case since I'm working on a port that has its own uid/gid, is :there a standard practice? : :I see different groups in /etc/login.conf for stuff that's part of base, :but nothing for ports. : :Seems like the best practice may be to add a pkg README recommending the :user editing /etc/login.conf themselves. Is that correct? : :-Henrich :
We 100% will not accept such a thing in the ports tree. Fix the broken software so it doesn't dump core on a regular basis, before sending it.

