From: jingxu f. <io...@gm...> - 2008-04-14 14:32:05
|
things seem to be all ok except the user privileges.but still the same result. i will try from the start again. 2008/4/14 John Edwards <jo...@co...>: > On Mon, Apr 14, 2008 at 08:36:17PM +0800, jingxu feng wrote: > > 1)2008-04-08 1283 > > Good. I've built that revision on Centos 5 without any problems. > > > 2) > > 3)i have added a user named fjx,and edit the sudoer and granted it all > > No. Do not give the user "all" privileges. > Just those that the make.sh script tells you to give it. > > Here is an example: > ---------------------------------------------------------------------- > User_Alias IPCOP_BUILDER = ipcop > > Cmnd_Alias IPCOP_BIND = /bin/mount --bind /dev > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/dev, \ > /bin/mount --bind /proc > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/proc, \ > /bin/mount --bind /home/ipcop/build/ipcop-2.0-svn/trunk/* > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/* > Cmnd_Alias IPCOP_CHMOD = /bin/chmod [0-9]* > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/* > Cmnd_Alias IPCOP_CHROOT = /usr/sbin/chroot > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop * > Cmnd_Alias IPCOP_DU = /usr/bin/du -skx > /home/ipcop/build/ipcop-2.0-svn/trunk > Cmnd_Alias IPCOP_LN = /bin/ln -sf * > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/*, \ > /bin/ln -sf > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/tools_i486 / > Cmnd_Alias IPCOP_LOSETUP = /sbin/losetup -d /dev/loop* > Cmnd_Alias IPCOP_MKDIR = /bin/mkdir -p > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/*, \ > /bin/mkdir -p > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/installer > Cmnd_Alias IPCOP_MV = /bin/mv > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/tmp/* \ > > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/tmp/*, \ > /bin/mv > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/installer/images/ipcop-* \ > /home/ipcop/build/ipcop-2.0-svn/trunk/ > Cmnd_Alias IPCOP_RM = /bin/rm -fr /home/ipcop/build/ipcop-2.0-svn/trunk/*, > \ > /bin/rm -fr /tools_i486 > Cmnd_Alias IPCOP_UMOUNT = /bin/umount > /home/ipcop/build/ipcop-2.0-svn/trunk/build_i486/ipcop/*, \ > /bin/umount /dev/loop* > > IPCOP_BUILDER ALL = NOPASSWD: > IPCOP_BIND,IPCOP_CHMOD,IPCOP_CHROOT,IPCOP_DU,IPCOP_LN,IPCOP_LOSETUP,IPCOP_MKDIR,IPCOP_MV,IPCOP_RM,IPCOP_UMOUNT > ---------------------------------------------------------------------- > > Make sure that those long lines are not wrapped and that the > backslash character \ is at the end of the continued lines. > > > > 4)this is the make error > > ERROR: Building openssl[ FAIL ] > > Check /home/lfs/trunk/log_i486/_build_03_ipcop.log for errors if > applicable > > > > this is the log error > > make[2]: Entering directory `/usr/src/openssl-0.9.8g/tools' > > make[2]: Nothing to be done for `all'. > > make[2]: Leaving directory `/usr/src/openssl-0.9.8g/tools' > > /bin/sh: line 8: doc/apps/*.pod: No such file or directory > > make[1]: *** [install_docs] Error 1 > > make[1]: Leaving directory `/usr/src/openssl-0.9.8g' > > make: *** [/usr/src/log_i486/03_ipcop/openssl-0.9.8g] Error 2 > > None of that was in the log file when I built revision 1283. > > Things to check: > 1) Is there enough disk space for this user? > Run: > df -h > quota > > 2) There is a manpages patch for openssl that changes the pod files. > Run: > md5sum src/patches/openssl-0.9.8c-fix_manpages-1.patch > And you should see: > a869c136c48def79f296e0bff859a278 > src/patches/openssl-0.9.8c-fix_manpages-1.patch > > > -- > #---------------------------------------------------------# > | John Edwards Email: jo...@co... | > | | > | A. Because it breaks the logical sequence of discussion | > | Q. Why is top posting bad ? | > #---------------------------------------------------------# > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.0 (GNU/Linux) > > iD8DBQFIA2Vhx2vje4FiJvQRAkTeAJ43ewXtTsbAZJsfG1+Y4UZ0jz5AHACgkuNR > iQN9hoMNhmOcObl47ufPf6I= > =kBMD > -----END PGP SIGNATURE----- > > |