ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/src/trunk/UPDATING
Revision: 3394
Committed: Sat May 1 00:14:17 2010 UTC (14 years, 1 month ago) by laffer1
File size: 25845 byte(s)
Log Message:
Sudo was updated

File Contents

# Content
1 Updating Information for MidnightBSD users
2
3 20100430:
4 Sudo 1.7.2p6 imported
5
6 20100321:
7 Update zlib to 1.2.4
8
9 20100319:
10 Removed i586 from default i386 generic kernel.
11
12 20100317:
13 Update to tzdata2010e (time zones). This includes changes in
14 Mexico.
15
16 Add support for several newer sound cards via hda including
17 ATI and Realtek chipsets.
18
19 20100313:
20 CPU detection has been changed. VIA Padlock detection added.
21
22 20100312:
23 Fix a number of bugs and compiler warnings in libmport. Handle
24 plus signs in paths for mport.check-fake
25
26 20100311:
27 mksh R39c
28
29 20100309:
30 Sudo 1.7.2p5
31
32 sqlite3 3.6.23
33
34 mksh R39b
35
36 libffi (ffi) 3.0.9
37
38 20100206:
39 WITHOUT_LIB32 is no longer needed on AMD64. GCC was fixed to
40 properly pass arguments to ld.
41
42 re(4) and rl(4) have been updated to support several new
43 realtek chipsets. Performance has been improved on re(4).
44
45 20100204:
46 Fix a bug cropping up on AMD64 MidnightBSD with sftp
47 segfaulting.
48
49 20100116:
50 Import ash changes from FreeBSD (bin/sh) 8-Stable.
51
52 BIND 9.6.1-P2
53
54 20100110:
55 Import Sendmail 8.14.4. Fix for SSL vulnerability.
56
57 posix_spawn(3) added to MidnightBSD libc. Users may need to build and
58 install libc before doing a full buildworld when upating from 0.2 or
59 older current systems.
60
61 kqueue(2) was modified to support portions of libdispatch functionality.
62
63 20100106:
64 Bind security update. Fix a bug with DNSSEC that causes negative
65 cache entries and thus a possible DNS cache poisoning attack.
66
67 Fix a bug in ZFS that can reset permissions on system crashes.
68
69 20091228:
70 amdtemp(4) was added. It allows one to monitor to the temperature
71 of an AMD CPU such as a Phenom.
72
73 20091205:
74 OpenSSL security fix
75
76 The SSL version 3 and TLS protocols support session renegotiation without
77 cryptographically tying the new session parameters to the old parameters.
78
79 20091128:
80 OpenBSD sensors framework imported including sensorsd(8)
81
82 20091126:
83 OpenNTPD 4.4 import
84
85 Update OpenSSH to 5.3p1
86
87 mksh R39
88
89 20091124:
90 cpdup updated from DragonFly to 1.15
91
92 tzdata2009s updated with latest timezone data for November 2009.
93
94 20091010:
95 amd64 users should use WITHOUT_LIB32=yes in /etc/make.conf for now
96 to test current.
97
98 Revert unicode filename fixes from ntfs code. This was causing chaos
99 on amd64 systems.
100
101 20091006:
102 Update timezone data with tzdata2009n with the Pakistan and
103 Argentina changes.
104
105 Sync several userland utilities with versions from FreeBSD 7.0 in
106 sbin and usr.sbin.
107
108 20090919:
109 Update timezone data with tzdate2009m from September 2009.
110
111 20090729:
112 Patch for Bind 9 security vulnerability. a dynmaic update packet
113 can trigger an assertion and cause named to exit
114
115 20090606:
116 Remove PCC from the base system. This compiler will not work
117 as a system compiler for us as we've got some userland investment
118 in C++ code and may have Objective-C in the future. We're stuck
119 with a solution that supports these three languages at a minimum.
120
121 I had wanted to keep it as an optional compiler because it is
122 fast, however too many users want to try to use it for the base
123 system which makes no sense.
124
125 A hack was added for Cypress based usb hard drive enclosures to
126 the kernel. This should cut down on commands it claims to support
127 but does not (at the cam layer). Found while testing ZFS on
128 an external device.
129
130 20090520:
131 The powerd daemon no longer starts automatically to improve
132 compatibility with many systems. However, there is a new
133 installer option in the startup section to enable it. This
134 makes it easier to enable for users that have working systems. I thought it was only a problem on older hardware, but it freaks
135 out my new Phenom too.
136
137 20090502:
138 OpenSSH 5.2p1 import
139
140 ale(4) connected to the build. (kernel module only)
141
142 20090501:
143 Imported makefs utility from NetBSD/FreeBSD
144
145 20090422:
146 OpenSSL security update
147
148 The function ASN1_STRING_print_ex does not properly validate the lengths
149 of BMPString or UniversalString objects before attempting to print them.
150
151 20090415:
152 Created a Symbol.map for libc/ohash symbols
153
154 Updated several usr/bin usr/sbin utilities.
155
156 Corrected a bug with Makefile.inc1 causing the bootstrap
157 tools to fail.
158
159 20090405:
160 xorg 7.4 wants to configure its input devices via hald which does not
161 yet work with USB. If the keyboard/mouse does not work in xorg then
162 add
163 Option "AllowEmptyInput" "off"
164 to your ServerLayout section. This will cause X to use the configured
165 kbd and mouse sections from your xorg.conf
166
167 20090403:
168 mksh was disconnected a few day ago do to bugs with
169 buildworld and mports. Now, connect it back
170 for use as /bin/sh with a conditional called
171 MK_ASH. By default, ash is the standard /bin/sh
172 but we may change this later. This will allow further
173 testing by users and developers of mksh without
174 causing an unpleasant default experience. In the
175 long run, we need to fix mksh compatibility.
176
177 20090328:
178 Bring in mksh R37 from CVS. The dot.mkshrc files for root
179 and skel were changed. mksh(1) now replaces ash aka sh(1)
180 as the default /bin/sh. Please report bugs with
181 ports, etc. The ash code will remain in the repo for awhile
182 as I decide if we'll add something like MK_SHELL_ASH as
183 an optional build parameter.
184
185 ahd was disconnected from the lint environment until
186 the compiler bug is sorted (by updating gcc?)
187
188 Remove freebsd-tips from fortune files and change the
189 default for login and profile.
190
191 20090327:
192 Update libarchive to 2.5.5, tar, and add bsdcpio.
193
194 Also previously, ctriv has been connecting Perl 5.10
195 to the build (part of os). This will have an impact
196 on mports.
197
198 20090325:
199 Update Bind to 9.4.3-P1
200
201 Update mksh to R36b
202
203 Update tcpdump to 3.9.8, fix libpcap to work with current.
204
205 Update pnpinfo, sync with FreeBSD.
206
207 20090115:
208 Fix a problem with DNSSEC and BIND.
209
210 20090110:
211 For applications using OpenSSL for SSL connections, an invalid SSL
212 certificate may be interpreted as valid. This could for example be
213 used by an attacker to perform a man-in-the-middle attack.
214
215 Other applications which use the OpenSSL EVP API may similarly be
216 affected.
217
218 Stop cross site request forgery attacks in lukemftpd
219
220 20090104:
221 Import GNU libreadline 5.2
222
223 20090101:
224 Update time zone data to 2008i.
225
226 20081231:
227 Correct a problem where bluetooth and netgraph sockets are not
228 properly initialized.
229
230 Happy 2009.
231
232 20081206:
233 Due to the massive change in the underlying system under way,
234 we're naming the next release 1.0. The sys/sys/param.h was
235 changed accordingly. ipfilter and ncurses were corrected
236 using __MidnightBSD__ tests in the code.
237
238 The GENERIC kernel config was caught up on i386 today. Consider
239 i386 still broken, but amd64 is running again.
240
241 mdoc.local was updated with the new MidnightBSD version info.
242
243 batt(1) was rewritten in C. It now supports several flags and
244 runs about 8 times faster on my laptop. The default output
245 shows the number of minutes of battery life remaining and the
246 percentage. You can use -u to display the number of batteries or
247 -c to get script friendly output. Consult the man page for more.
248
249 20081204:
250 Work has completed on importing ZFS, jemalloc, several
251 new devices, SCTP, updated pf, a new tempfs, linuxolator 2.6 kernel
252 support, improved locking for file desc., audit (openbsm),
253 openssl .98e, nfe, imporved intel high def audio, midi, updated
254 intel gigabit (em), support for several wifi cards (intel), ...
255
256 Renamed 0.3-CURRENT officially. Switched to using MidnightBSD version
257 data from param.h instead of the FreeBSD version. This means
258 testing is now possible in the ports tree for the version
259 and that any ports or code relying on the FreeBSD version from
260 sys/sys/param.h will need to be fixed.
261
262 20080905:
263 update nve(4) to support new hardware.
264
265 20080801:
266 Import OpenBSM 1.0
267
268 Modify src/release to create 3 isos instead of 2 for packages.
269
270 etc/rc.d/firstboot now enables kdm, gnustep + slim and bsdstats.
271
272 Many ia64, alpha, powerpc items were removed.
273
274 The recent diffutils 2.8.7 import was fixed.
275
276 20080703:
277 pcc was not installed properly when setting DESTDIR for live cds,
278 or posibly jails.
279
280 20080627:
281 Add firmware(9), WEP, CCMP, TKIP to GENERIC.
282
283 Add glabel to GENERIC.
284
285 Intel ICH8 mobile chipset used on some iMacs included with ata.
286
287 pcc connected to the build on i386. (alternative compiler)
288
289 ath added to GENERIC. (Atheros wireless NICs) on amd64/i386
290
291 20080528:
292 Sendmail 8.14.3
293
294 20080516:
295 ssh-vulnkey allows you to look for vulnerable ssh keys that
296 were generated on Debian and Ubuntu hosts over the last
297 few years. sshd can block offending keys with a configuration
298 option.
299
300 The elf note on binaries is now set to MidnightBSD.
301
302 20080514:
303 Fixed a number of problems with pcc. It is not yet connected
304 to the build, but usable on i386 hosts. You may use it
305 by make; make install in /usr/src/usr.bin/pcc. It will
306 install in /usr/local as some of the files conflict with
307 GCC versions. __MidnightBSD__ is defined in PCC as well.
308
309 System headers were fixed to allow pcc to compile many binaries
310 on MidnightBSD. bin/cp will work now for instance.
311
312 20080430:
313 __MidnightBSD__ is now defined via gcc. This can be tested
314 to determine we're running on MidnightBSD in the preprocessor.
315
316 20080429:
317 Import bind 9.4.2 with threading
318
319 libpthread (KSE) and libthr are built earlier
320
321 pcvt(4) removed!
322
323 Alias added for core2 cpus.
324
325 Alpha and PC98 only utilities removed from usr/sbin
326
327 syslogd, adduser, rmuser, mergemaster and mailwrapper have been
328 improved. See the man pages for info.
329
330 periodic scripts will not send emails with empty message bodies.
331 See mailwrapper fix.
332
333 20080410:
334 Sync cpdup with DragonFly. Add parallel transaction support and
335 -l flag to line-buffer stdout and stderr.
336
337 20080406:
338 Import bzip2 1.05
339 Import OpenSSH 4.9p1
340
341 20080322:
342 The default umask was changed to 022.
343
344 /usr/X11R6 paths were removed from several config files.
345
346 .mkshrc files are now installed for root.
347
348 20080316:
349 FIx a problem with gif0 tunnels and neighbors with IPV6.
350
351 20080312:
352 Add lndir from X.org. This aides in the porting of MirPorts.
353
354 New OS versions were added to the mapage code (groff)
355
356 20080310:
357 Correct a buffer overflow in ppp.
358
359 20080308:
360 Remove /usr/X11R6 from manpath config.
361
362 20080307:
363 Atheros driver no longer has several options set
364 which corrects building in tinderbox on all three platforms.
365
366 Added a new macro to sx.h which returns true if the current
367 thread holds an exclusive lock on a specifix sx.
368
369 Removed OS/2's HPFS file system. It's not maintained and
370 I don't know anyone using OS/2 or ecomstation these days.
371 My copy is in the closet collecting dust.
372
373 20080306:
374 Synced tinderbox with FreeBSD. Modified it for MidnightBSD.
375 Developers can now use it to check src builds.
376
377 20080303:
378 Add mksh to /etc/shells, made some adjustments to options
379 for mksh builds per suggestion upstream.
380
381 USB HID table updated with modern hardware list.
382
383 Updated BSD family true (we're not in there yet)
384
385 iso3166 file updated and import of tzdata2007k for
386 new time zones.
387
388 Updated mksh to latest version R33.
389
390 20080228:
391 Remplaced the random IP id generation code with a new
392 version by Amit Klein.
393
394 20080221:
395 Sendfile write only permissions fix.
396
397 Removed some HPFS and PC98 code.
398
399 iso639 file sycned with DragonFly.
400
401 20080128:
402 Changed NTP configuration so that ips aren't cached
403 so multiple servers are used.
404
405 Fix an issue with fork() in libpthread.
406
407 20080121:
408 Add virtualization detection to set the HZ rate
409 according to a VM present. VMWare and Parallels
410 should work better like this.
411
412 Change to full x11 install in sysinstall. Add
413 xorg 7 support.
414
415 20080115:
416 Fix the handling of PTY's. CVE-2008-0216
417
418 20080105:
419 mport delete code added, USE_MPORT_TOOLS knob aded.
420
421 20080101:
422 Happy New Year
423
424 20071123:
425 Update sendmail to 8.14.2
426
427 20071120:
428 Update system compiler to gcc 3.4.6.
429
430 20071023:
431 Updated mksh to R31d.
432
433 20070911:
434 Updated mksh to version R31b.
435
436 Fixed stderr output in libpthread. Previously it was
437 written to stdout.
438
439 20070831:
440 Added dot.mkshrc file to support the recent change to
441 mksh from OpenBSD's ksh derived from pdksh.
442
443 Added new firewall configuration. ipfw is enabled by default
444 with a "desktop" configuration. Consult /etc/rc.firewall
445 or ipfw show to see the ruleset used. You can disable
446 ipfw by setting firewall_enable="NO" in /etc/rc.conf This
447 change only effects IPv4. IPv6 does not have a firewall
448 enabled by default.
449
450 20070814:
451 Removed GNU tar source. We've been using BSD tar
452 for awhile.
453
454 20070806:
455 Finished removing umapfs and autofs from the tree.
456
457 20070804:
458 BIND and Tcpdump have been patched for recent vulnerabilities.
459
460 We switched to BSD cpio (pax).
461
462 20070719:
463 Imported cpdup from DragonFly as /bin/cpdup
464
465 20070716:
466 Update GNU cpio to 2.8.
467
468 20070410:
469 cvs was updated to 1.12.13. cvsbug was removed.
470 cvs now behaves similarly to DragonFly's cvs with
471 most of their local changes.
472
473 20070409:
474 RELENG_0_1 was created. More aggresive changes will
475 continue here.
476
477 20070406:
478 Back out propolice. propolice caused several problems
479 with our threading libraries libthr and libpthread.
480 curthread was often NULL after the patch and many
481 multithreaded applications would crash. We plan to
482 work on either bringing in gcc 4.1 or developing a new
483 patch which also corrects our threading issues later.
484
485 It is more important to have a stable system for our
486 mport work and other projects at this time.
487
488 This is not a clean removal. It is recommended that you
489 have a recently SNAP CD handy. You can either reinstall
490 or perform a make buildworld and make buildkernel and
491 make installkernel. Reboot on the cd and copy the contents
492 of /bin, /sbin, /lib, /libexec, and /usr/bin, /usr/sbin,
493 /usr/lib, and /usr/libexec to the respective directories on
494 your disk. Then you should be able to boot into single user
495 mode and run make installworld. You will need to run
496 chflags noschg on some of the files if you can't overwrite
497 them.
498
499 You will get __guard missing errors since we had to remove
500 this from libc.
501
502 You will need to rebuild any ports built while propolice was
503 installed.
504
505 20070401:
506 Importing propolice into MidnightBSD. Propolice is going to
507 provide us with much greater security and stability in the
508 long run. If upgrading from a pre-propolice system, please
509 follow the these instructions:
510
511 cd /usr/src/lib/libc && make obj && make && make install
512 cd /usr/src/gnu/usr.bin/cc && make obj && make && make install
513 cd /usr/src/lib/libpthread && make obj && make && make install
514 cd /usr/src/lib/libthr && make obj && make && make install
515 buildworld and kernel
516
517 It is adviced that any mports which were installed and/or built
518 prior to the propolice update also be updated. If any errors
519 or issue are encounted, please contact security@midnightbsd.org
520 and we will be sure to investigate and come up with an expeditious
521 fix.
522
523 20070314:
524 Remove send-pr from src.
525
526 Switch to NetBSD's gzip.
527
528 Bump MBSD minor revision.
529
530 20070313:
531 Imported OpenSSH 4.6p1.
532
533 Imported FreeBSD's libarchive and updated tar to work with it.
534
535 Disabled debug statements cluttering up /var/log/messages for
536 the tcp autobuf patch applied previously.
537
538 20070312:
539 Synced several audio changes from FreeBSD 6.1. Removed the
540 BSD Daemon files from src/share.
541
542 20070308:
543 Added mfi which supports LSI Logic MegaRAID SAS devices including
544 the Dell perc5i.
545
546 20070206:
547 Imported OpenBSD's sudo into source. Please install
548 /usr/src/usr.bin/sudo/lib first before building.
549
550 Those who install from a snapshot after this date
551 will not be effected.
552
553 20070119:
554 Added audit group. Be sure to add audit to your /etc/group file
555 before installing world.
556
557 hostapd was updated to 0.4.8.
558
559 An accidental commit in usr.sbin/bluetooth/hccontrol was fixed to
560 unbreak world.
561
562 wpa_supplicant was updated.
563
564 For stability and compatibility reasons, it was decided that MidnightBSD
565 sync with FreeBSD 6.1 Release. Nearly every change between the original
566 fork date of February 24, 2006 and the release of FreeBSD 6.1 in May
567 2006 will be merged. Beyond this, MidnightBSD will be a "real" fork and
568 will not sync every little change with FreeBSD.
569
570 20061231:
571 Updated COPYRIGHT for 2007.
572
573 Updated and bumped libutil after importing NetBSD efun(3) functions.
574
575 Added MidnightBSD_version and bumped the FreeBSD version as we've
576 synced all commits between the fork and that version. It is now safe
577 to assume MidnightBSD is compatible with FreeBSD RELENG_6 from
578 Feb 26, 2006.
579
580 Added spell(1) and deroff(1) from NetBSD. Also added additional
581 dict files to work with it. /usr/share/dict/american,
582 /usr/share/dict/british and /usr/share/dict/special/math
583
584 Numerous man page and bug fixes.
585
586 20061226:
587 Setup /usr/share/examples/cvsup SUPfiles for the new
588 MidnightBSD CVSup server.
589
590 Fix a bug in burncd where it would continue forever while
591 erasing CDRW media.
592
593 Add csup to /usr/bin. csup is a CVSup replacement written
594 in C.
595
596 Fixed a bug with bsnmpd build from Oct 30.
597
598 Corrected some race conditions and fixed a few bugs in
599 geom. Imported changes from FreeBSD RELENG_6.
600
601 20061225:
602 Fixed a typo in src/lib/libc/sparc64/fpu/fpu_implode.c
603 that caused long double to long and long long
604 conversion of negative numbers to always result in -1.
605
606 20061221:
607 Fixed acpi_battery.c to not report an ERROR if no
608 batteries are present.
609
610 Performed some minor updates on the RL and RE NIC drivers.
611 RL should no longer panic when trying to print errors.
612
613 Corrected a bug with TTY.
614
615 20061218:
616 Corrected a bug with libpthread where newly created suspended
617 threads don't get scheduled.
618
619 20061206:
620 Fixed a typo with the firewire security patch.
621
622 20061129:
623 Minor cleanups to utilities in bin.
624
625 Fixed msdos file system short file name behavior to match
626 FreeBSD.
627
628 20061031:
629 Updated man pages in section 7.
630
631 20061030:
632 Updated sys/dev/drm to support intel 915 and radeon
633 r300 cards properly.
634
635 Synced snmpd with FreeBSD-stable.
636
637 Fixed a bug in rm which could cause data loss.
638
639 20061027:
640 Added Intel ICH8 and nForce 5 support to ATA. cam, mpt,
641 random, kbdmux, atkbd, and usb were updated. Changes
642 to clearing registers on SSE enabled processors (i386)
643 commited.
644
645 lukemftpd updated.
646
647 openssh rc script was altered which effects initial
648 seeding.
649
650 20061014:
651 Workaround for em driver problem on shared IRQ.
652
653 Started removal of alpha support.
654
655 20061013:
656 ATA driver was updated. USB/USB1/USB2 types added.
657
658 20061010:
659 OpenSSH was updated to 4.4p1.
660
661 20060909:
662 OpenNTPD was added to MidnightBSD. Run make delete-old to remove
663 the old ntpd daemon.
664
665 cat has a new option -D which allows you to timestamp output
666 on a per line basis.
667
668 The kernel has a keyboard mux which allows you to have multiple
669 keyboard connected simultaneously. USB keyboard support was also
670 improved with this patch.
671
672 The Intel em driver was updated. Network performance was greatly
673 increased on many systems. Additional models are supported.
674
675 The ATA driver was patched to fix a potential deadlock.
676
677 Bind was patched to fix a potential denial of service condition.
678
679 20060817:
680 ksh has been added to the base system. If you previously had
681 the port installed, it will be overwritten on the next buildworld.
682
683
684
685 To build a kernel
686 -----------------
687 If you are updating from a prior version of MidnightBSD (even one just
688 a few days old), you should follow this procedure. With a
689 /usr/obj tree with a fresh buildworld,
690 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE
691 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE
692
693 To test a kernel once
694 ---------------------
695 If you just want to boot a kernel once (because you are not sure
696 if it works, or if you want to boot a known bad kernel to provide
697 debugging information) run
698 make installkernel KERNCONF=YOUR_KERNEL_HERE KODIR=/boot/testkernel
699 nextboot -k testkernel
700
701 To just build a kernel when you know that it won't mess you up
702 --------------------------------------------------------------
703 This assumes you are already running a 6.X system. Replace
704 ${arch} with the architecture of your machine (e.g. "i386",
705 "amd64", "ia64", "pc98", "sparc64", etc).
706
707 cd src/sys/${arch}/conf
708 config KERNEL_NAME_HERE
709 cd ../compile/KERNEL_NAME_HERE
710 make depend
711 make
712 make install
713
714 If this fails, go to the "To build a kernel" section.
715
716 To rebuild everything and install it on the current system.
717 -----------------------------------------------------------
718 # Note: sometimes if you are running current you gotta do more than
719 # is listed here if you are upgrading from a really old current.
720
721 <make sure you have good level 0 dumps>
722 make buildworld
723 make kernel KERNCONF=YOUR_KERNEL_HERE
724 [1]
725 <reboot in single user> [3]
726 mergemaster -p [5]
727 make installworld
728 make delete-old
729 mergemaster [4]
730 <reboot>
731
732
733 To cross-install current onto a separate partition
734 --------------------------------------------------
735 # In this approach we use a separate partition to hold
736 # current's root, 'usr', and 'var' directories. A partition
737 # holding "/", "/usr" and "/var" should be about 2GB in
738 # size.
739
740 <make sure you have good level 0 dumps>
741 <boot into -stable>
742 make buildworld
743 make buildkernel KERNCONF=YOUR_KERNEL_HERE
744 <maybe newfs current's root partition>
745 <mount current's root partition on directory ${CURRENT_ROOT}>
746 make installworld DESTDIR=${CURRENT_ROOT}
747 cd src/etc; make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd
748 make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT}
749 cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd
750 <edit ${CURRENT_ROOT}/etc/fstab to mount "/" from the correct partition>
751 <reboot into current>
752 <do a "native" rebuild/install as described in the previous section>
753 <maybe install compatibility libraries from src/lib/compat>
754 <reboot>
755
756
757 To upgrade in-place from 5.x-stable or higher to 6.x-stable
758 -----------------------------------------------------------
759 <make sure you have good level 0 dumps>
760 make buildworld [9]
761 make kernel KERNCONF=YOUR_KERNEL_HERE [8]
762 [1]
763 <reboot in single user> [3]
764 mergemaster -p [5]
765 make installworld
766 make delete-old
767 mergemaster -i [4]
768 <reboot>
769
770 Make sure that you've read the UPDATING file to understand the
771 tweaks to various things you need. At this point in the life
772 cycle of current, things change often and you are on your own
773 to cope. The defaults can also change, so please read ALL of
774 the UPDATING entries.
775
776 Also, if you are tracking -current, you must be subscribed to
777 freebsd-current@freebsd.org. Make sure that before you update
778 your sources that you have read and understood all the recent
779 messages there. If in doubt, please track -stable which has
780 much fewer pitfalls.
781
782 [1] If you have third party modules, such as vmware, you
783 should disable them at this point so they don't crash your
784 system on reboot.
785
786 [3] From the bootblocks, boot -s, and then do
787 fsck -p
788 mount -u /
789 mount -a
790 cd src
791 adjkerntz -i # if CMOS is wall time
792 Also, when doing a major release upgrade, it is required that
793 you boot into single user mode to do the installworld.
794
795 [4] Note: This step is non-optional. Failure to do this step
796 can result in a significant reduction in the functionality of the
797 system. Attempting to do it by hand is not recommended and those
798 that pursue this avenue should read this file carefully, as well
799 as the archives of freebsd-current and freebsd-hackers mailing lists
800 for potential gotchas.
801
802 [5] Usually this step is a noop. However, from time to time
803 you may need to do this if you get unknown user in the following
804 step. It never hurts to do it all the time.
805
806 [8] In order to have a kernel that can run the 5.x binaries
807 needed to do an installworld, you must include the COMPAT_FREEBSD5
808 option in your kernel. Failure to do so may leave you with a system
809 that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5
810 is required to run the 5.x binaries on more recent kernels.
811
812 Make sure that you merge any new devices from GENERIC since the
813 last time you updated your kernel config file.
814
815 [9] When checking out sources, you must include the -P flag to have
816 cvs prune empty directories.
817
818 If CPUTYPE is defined in your /etc/make.conf, make sure to use the
819 "?=" instead of the "=" assignment operator, so that buildworld can
820 override the CPUTYPE if it needs to.
821
822 MAKEOBJDIRPREFIX must be defined in an environment variable, and
823 not on the command line, or in /etc/make.conf. buildworld will
824 warn if it is improperly defined.
825
826 Copyright information:
827
828 Copyright 1998-2005 M. Warner Losh. All Rights Reserved.
829
830 Redistribution, publication, translation and use, with or without
831 modification, in full or in part, in any form or format of this
832 document are permitted without further permission from the author.
833
834 THIS DOCUMENT IS PROVIDED BY WARNER LOSH ``AS IS'' AND ANY EXPRESS OR
835 IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
836 WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
837 DISCLAIMED. IN NO EVENT SHALL WARNER LOSH BE LIABLE FOR ANY DIRECT,
838 INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
839 (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
840 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
841 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
842 STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
843 IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
844 POSSIBILITY OF SUCH DAMAGE.
845
846 If you find this document useful, and you want to, you may buy the
847 author a beer.
848
849 Contact Warner Losh if you have any questions about your use of
850 this document.
851
852 $FreeBSD: src/UPDATING,v 1.416.2.18 2006/02/22 11:51:57 yar Exp $
853 $MidnightBSD: src/UPDATING,v 1.87 2010/03/21 20:05:10 laffer1 Exp $

Properties

Name Value
cvs2svn:cvs-rev 1.88