Re: sudo dumping core on recent current
"Todd C. Miller" <[email protected]>
| Newsgroups | gmane.os.netbsd.current |
|---|---|
| Message-ID | <[email protected]> |
On Tue, 16 Dec 2025 10:29:38 +1300, Lloyd Parkes wrote: > In pkgsrc the config.status file ends up with S["vardir"]="no" in it > instead of S["vardir"]="/var/db/sudo". This is almost certainly because > sudo's configure isn't being passed enough --with-XXXdir options to > correctly configure all the right paths. > > I'm pretty sure I can convince pkgsrc to behave itself, but I have no > idea what sudo should do when given such a defective configuration. I added some sanity checking to sudo's configure script that should avoid this happening in the future. https://github.com/sudo-project/sudo/commit/85c7e2620ad9859b6eb285b45b6870e68eec7fed - todd