Date: Thu, 15 Feb 2001 19:06:45 +0200 (EET) From: Pekka Savola <pekkas@netcore.fi> To: Warner Losh <imp@harmony.village.org> Cc: <Andrew.Hodgkins@hurlburt.af.mil>, <freebsd-stable@FreeBSD.ORG> Subject: Re: 3.5-S->4.2-S: still fail w/ setresuid on miniperl Message-ID: <Pine.LNX.4.31.0102151854450.27684-100000@netcore.fi> In-Reply-To: <200102142137.f1ELbbW91712@harmony.village.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Feb 2001, Warner Losh wrote: > In message <B5055445D778D31189CA0020484037D001B68510@vexwrst02.hurlburt.af.mil> Andrew.Hodgkins@hurlburt.af.mil writes: > : http://docs.freebsd.org/cgi/getmsg.cgi?fetch=699499+0+/usr/local/www/db/text > : /2000/freebsd-stable/20000806.freebsd-stable > : > : I've also used it to go to 4.2-S and it works equally well...it might help > : with your buildworld snags, Pekka. Worth a look at least. ;) > : > : It could also be useful to incorporate some or all of Ralf's procedure into > : UPDATING. There have been a few minor changes since it was written ('make > : kernel' target, KERNCONF variable instead of KERNEL, etc.) but nothing that > : breaks it AFAIK. > > But much of Ralf's proceedure is unnecessary. :-(. So true. When I have gone from one release to another, I have never used single user mode, for instance. This is how I updated from 3.4-STABLE to 4.2-STABLE. I took notes so that this might be of some use to someone. --- 8< --- Background: http://www.freebsd.org/cgi/getmsg.cgi?fetch=51796+57580+/usr/local/www/db/text/2000/freebsd-stable/20001015.freebsd-stable 1. install some tools that are required to build & install RELENG_4 with old tools: cd /usr/src/gnu/usr.bin/texinfo/makeinfo && make all install cd /usr/src/gnu/usr.bin/texinfo/install-info && make all install cd /usr/src/gnu/usr.bin/texinfo && make all install clean mkdir /usr/share/groff_font/devcp1047 mkdir /usr/share/groff_font/devlbp mkdir /usr/share/groff_font/devutf8 [note! make install of groff seems broken, so mkdir is needed] cd /usr/src/gnu/usr.bin/groff && make all install clean [note! 'man' displaying breaks for a while, but no matter] 2. build world without perl. miniperl requires setresuid which isn't there yet. Perl will be built and installed later. make buildworld -DNOPERL 3. build the kernel and install it. make buildkernel KERNCONF=xxx make installkernel KERNCONF=xxx 4. reboot (multiuser is fine, I use it all the time) reboot 5. install the tools, except perl which was not built ldconfig -R /usr/obj/usr/src/lib/libc cd /usr/src && make installworld -DNOPERL 6. build and install perl (and optionally sysinstall) cd /usr/src/gnu/usr.bin/perl && make all install cd /usr/src/release/sysinstall && make all install 7. prepare for mergemaster cp -pr /etc /etc.backup mv /etc/sendmail.cf /etc/mail/ mv /etc/aliases* /etc/mail/ mv /etc/mail/sendmail.cw /etc/mail/local-host-names 8. mergemaster the way you like it, change over to OpenSSH, etc. 9. change wd* -> ad* in /etc/fstab, create these devices in /dev. 10. clean out lastlog etc., the format changed rm /var/run/utmp /var/log/wtmp /var/log/lastlog touch /var/run/utmp /var/log/wtmp /var/log/lastlog 11. reboot and be done ;-) --- HTH, -- Pekka Savola "Tell me of difficulties surmounted, Netcore Oy not those you stumble over and fall" Systems. Networks. Security. -- Robert Jordan: A Crown of Swords To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.31.0102151854450.27684-100000>