Subject: Re: setrlimit seems to have changed: breaks pkgsrc/net/tor
To: NetBSD-current Users's Discussion List <current-users@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 01/04/2007 01:59:10
On Thursday 04 January 2007 01:52, Paulo Alexandre Pinto Pires wrote:
> Em Quarta 03 Janeiro 2007 00:16, Marko Sch=FCtz escreveu:
> > Dear All,
> >
> > just updated the kernel to -current as of 2-3 days ago.
> >
> > This breaks tor:
> >
> > Jan 03 14:09:55.221 [warn] There are known bugs in using kqueue with
> > libevent 1.1a. Please use the latest version of libevent. Jan 03
> > 14:09:55.222 [warn] set_max_file_descriptors(): Could not set maximum
> > number of file descriptors: Operation not permitted Jan 03 14:09:55.222
> > [warn] Failed to parse/validate config: Problem with ConnLimit value. S=
ee
> > logs for details. Jan 03 14:09:55.222 [err] tor_init(): Reading config
> > failed--see warnings above. For usage, try -h.
> >
> > which previously ran just fine.
>
> Not only pkgsrc.  Two weeks ago, I complained about the same setrlimit()
> problem in postfix as in the main tree (especially when run with UUCP and
> rmail).  I asked in this list about it but got no answer on why should
> setrlimit() fail for setuid-binaries, before submitting a PR.

CC'ing Elad (maybe he knows something).

Is it related to any change in kauth (or the bsd44 secmodel)?

=2D-=20

http://plog.xtrarom.org/
Juan RP's blog - NetBSD/pkgsrc news in Spanish