Re: sudo dumping core on recent current

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.current
Message-ID <[email protected]>
On Mon, Dec 15, 2025 at 11:53:07AM +1300, Lloyd Parkes wrote:
> I have no idea how to debug this because sudo won't dump an actual core file
> if it's setuid root and won't run if it isn't.

You can set kern.coredump.setid.dump=1
and then will get the dump in /var/crash (but you can override the
location with kern.coredump.setid.path).

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.