On Tuesday 01 February 2011 02:24:20 Benny Amorsen wrote:
> Tilghman Lesher <tilgh...@meg.abyt.es> writes:
> > Correct; and Asterisk needs to be started as root, even if it will
> > drop privileges after startup.  Do this, and there should be no
> > problems.
> 
> Starting as root + dropping privileges is fine. Running configure as
> root is not so fine; that basically makes building RPMS impossible.

Alternatively, if you can set "ulimit -n 32768" in your RPM build
environment (this needs to be set as a login requirement), you can sidestep
the need for configure to run as root.  The only reason it needs root is to
expand the file descriptor limit so it can test using a file descriptor
beyond 1023 (the usual limit).

-- 
Tilghman

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to