On 16/12/2025 04:14, Todd C. Miller wrote:
Sudo will not dump core by default, you will need to add a line like the following to /usr/local/etc/sudo.conf (or wherever PKG_SYSCONFDIR is set to): Set disable_coredump false However, you may just want to enable sudo debug logs like so: Debug sudo /var/log/sudo_debug all@debug Debug sudoers.so /var/log/sudoers_debug all@debug The resulting log files should show where in sudo (or sudoers) the crash occurs.
Thank you. I was wondering if core dumps had been disabled because it's something I would do. The other suggestions were important to check, but this is the one that gets me under way.
It seems that my sudo is passing a null path to ts_secure_opendir() which ends up getting passed to strrchr() causing the core dump. I'll pull the thread on this and see where it leads (I'm sure that's a mixed metaphor).
Ngā mihi, Lloyd