Re: make installworld failing?
On Fri, 18 Oct 2002, Fuzzy wrote: I've done cvsup to RELENG_4_7 make buildworld make buildkernel KERNCONF=POOHSN make installkernel KERNCONF=POOHSN reboot to singleuser while booted singleuser $fsck -p $mount -rw / $mount -a $cd /usr/src $make installworld mkdir -p /tmp/install.62 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.62; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.62 make -f Makefile.inc1 reinstall make: permission denied *** Error code 126 Stop in /usr/src. *** Error code 1 Stop in /usr/src. What am I doing wrong? Fuz To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message Is /tmp mounted as 'noexec' ? ;-) To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld failing?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (10.18.2002 @ 1044 PST): Fuzzy said, in 1.2K: I've done cvsup to RELENG_4_7 make buildworld make buildkernel KERNCONF=POOHSN make installkernel KERNCONF=POOHSN reboot to singleuser while booted singleuser $fsck -p $mount -rw / $mount -a $cd /usr/src $make installworld end of make installworld failing? from Fuzzy Fuzzy - / is already mounted when you boot into single-user mode. Instead of mount -rw /, do mount -u /. That will re-mount the fs with different (here, default) permissions. For more info on this, read /usr/src/UPDATING. - -Adam - -- Adam Weinberger [EMAIL PROTECTED] [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE9sE9no8KM2ULHQ/0RAo7mAJ43Gm3xJslSdO6EetADn8Xux5+GvgCbBWum 7G4mIzpVpTyj2lA8e9s4VmA= =A8Ea -END PGP SIGNATURE- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld failing?
in message [EMAIL PROTECTED], wrote Nick Jennings thusly... On Fri, Oct 18, 2002 at 01:44:47PM -0400, Fuzzy wrote: cvsup to RELENG_4_7 make buildworld make buildkernel KERNCONF=POOHSN make installkernel KERNCONF=POOHSN reboot to singleuser while booted singleuser $fsck -p $mount -rw / $mount -a $cd /usr/src $make installworld On a side note, is this all the standard way of updating your base system? yes; mount commands may or may not differ based on you fs layout. I've just done the following, and it seemed to work fine: cvsup to RELENG_4_7 # make buildkernel KERNCONF=GRENZIK # make installkernel KERNCONF=GRENZIK # make buildworld # make installworld reboot Am I being blissfully ignorant? Is the WrongWay to do it? seems like it; see /usr/src/UPDATING for the upgrade procedure. -- To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: make installworld failing with permission denied
On Tue, Oct 15, 2002 at 10:28:49PM -0600, Tillman wrote: Howdy, When I attempt to make install world from a read-only NFS mount I'm getting a permission error: [root@coyote src]# make installworld mkdir -p /tmp/install.66566 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.66566; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.66566 make -f Makefile.inc1 reinstall make: permission denied Replying to my own post for the archives: It turns out that mounting /tmp 'noexec', while possibly a good idea for security, is not good for the portion of 'make installworld' that copies some vital programs to /tmp/install.# and then tries to run the 'make' contained therein. Live and learn :-) - Tillman -- Enlightenment is: do what you want, eat what there is Jack Kerouac To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
make installworld failing with permission denied
Howdy, When I attempt to make install world from a read-only NFS mount I'm getting a permission error: [root@coyote src]# make installworld mkdir -p /tmp/install.66566 for prog in [ awk cat chflags chmod chown date echo egrep find grep ln make makewhatis mtree mv perl pwd_mkdb rm sed sh sysctl test true uname wc zic; do cp `which $prog` /tmp/install.66566; done cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 OBJFORMAT_PATH=/usr/obj/usr/src/i386/usr/libexec PERL5LIB=/usr/obj/usr/src/i386/usr/libdata/perl/5.00503 GROFF_BIN_PATH=/usr/obj/usr/src/i386/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/i386/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/i386/usr/share/tmac PATH=/usr/obj/usr/src/i386/usr/sbin:/usr/obj/usr/src/i386/usr/bin:/usr/obj/usr/src/i386/usr/games:/tmp/install.66566 make -f Makefile.inc1 reinstall make: permission denied *** Error code 126 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Oddly, this safe NFS mount has worked in the past on this box (57 days ago, 57 days ago according to uptime on it. And this particular build has installed fine on two other machines using the same NFS read-only mount of /usr/src and /usr/obj off the build machine. Is there anything in particular I should be looking for with this sort of permission problem? TIA, - Tillman -- If you can spend a perfectly useless afternoon in a perfectly useless manner, you have learned how to live. Lin Yu-T'ang To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message