INN under NetBSD

Matthias Scheler tron at NetBSD.org
Thu Jun 3 07:00:36 UTC 2004


On Wed, Jun 02, 2004 at 11:29:22PM -0700, Russ Allbery wrote:
> >     [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?

Of NetBSD? None, just list "NetBSD". My first INN installation was 1.5.2
on a NetBSD 1.1 system, my current news server runs 2.4.1 under NetBSD 1.6.2.
And I've tested the INN 2.4.1 package on a 2.0 system, too. It just works.

> >     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.

My opinion is that the code which #ifdef-ed out is bad code. Why isn't
it enough that the euid is the news user?

BTW: why has "rnews" to be setuid "news" at all? Shouldn't access to
     the Unix domain socket be enough do its job?

> Do you mean that it only allows setuid(geteuid()) for *root* users?



More information about the inn-bugs mailing list