> + echo '*** Finished regression tests on RA_SVN (SVN method) layer ***'
> + echo '*** Running regression tests on RA_DAV (HTTP method) layer ***'
> + make davautocheck CLEANUP=true FS_TYPE=bdb
> Adding password for user jrandom
> Adding password for user jconstant
> Syntax error on line 14 of /root/rpms/build/subversion-1.
> 6.5/subversion/tests/cmdline/httpd-20100122-123335/cfg:
> Error:\tApache has not been designed to serve pages while\n\trunning as
> root. There are known race conditions that\n\twill allow any local user to
> read any file on the system.\n\tIf you still desire to serve pages as root
> then\n\tadd -DBIG_SECURITY_HOLE to the CFLAGS env variable\n\tand then
> rebuild the server.\n\tIt is strongly suggested that you instead modify the
> User\n\tdirective in your httpd.conf file to list a non-root\n\tuser.\n
> make[1]: *** [davautocheck] Error 1
> error: Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
> Bad exit status from /root/rpms/tmp/rpm-tmp.55381 (%build)
> make: *** [build_rpm_files] Error 1
The error pretty much tells you the problem. You're running this as root and Apache won't run as root.
Jeremy Whitlock <jcscoobyrs_at_gmail.com>
http://www.thoughtspark.org
Received on 2010-01-22 08:32:27 CET