INN under NetBSD
rra at stanford.edu
Thu Jun 3 06:29:22 UTC 2004
Matthias Scheler <tron at NetBSD.org> writes:
> 1.) NetBSD is not on the list of operating systems under which INN is
> known to work. I know many people (including me) which use various
> INN version under NetBSD. There is even a package available:
> [The package under this URL still shows version 2.3.5nb1 but will
> be updated to 2.4.1 in the next 24 hours.]
I'll add it. Do you know what versions should be listed?
> The "rnews" in 2.4.1 does however try setuid(geteuid()) under NetBSD
> which makes it fail:
> Jun 2 14:15:09 colwyn rnews: cannot setuid to 1003
> And it is supposed to fail because NetBSD only allows setuid(getuid())
> for non-root users. So would you pleaes put back the "#ifdef" at
> leat for NetBSD?
The #ifdef is bad code; there should be some other solution to this.
Do you mean that it only allows setuid(geteuid()) for *root* users? If it
only allows it for non-root users, that isn't going to work very well...
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the inn-bugs