Merge branch 'vendor/GCC50'
[dragonfly.git] / UPDATING
1 # Updating Information for DragonFly users.
2 #
3 #
4 # This file should warn you of any pitfalls which you might need to work around
5 # when trying to update your DragonFly system.  The information below is
6 # in reverse-time order, with the latest information at the top.
7 #
8 # If you discover any problem, please contact the bugs@lists.dragonflybsd.org
9 # mailing list with the details.
10
11 +-----------------------------------------------------------------------+
12 +         UPGRADING DRAGONFLY FROM 4.0 TO LATER VERSIONS                +
13 +-----------------------------------------------------------------------+
14
15 SENDMAIL REMOVED FROM BASE
16 --------------------------
17
18 The only Mail Transfer Agent provided now is DragonFly Mail Agent (dma).
19 If the system being upgraded is still configured to use the sendmail
20 binaries from base, the "make upgrade" command will fail.
21
22 The administrator must change /etc/mail/mailer.conf to switch the
23 mailwrapper to dma or a DPorts-based MTA prior to running the upgrade
24 command that permanently removes sendmail executables and could
25 potentially break a running mail server.
26
27 Refer: http://www.dragonflybsd.com/docs/docs/newhandbook/mta/ for
28 detailed instructions on how to configure the MTA selection.
29
30 _KPOSIX_VERSION and P1003_1B OPTIONS REMOVED
31 --------------------------------------------
32
33 The _KPOSIX_VERSION and P1003_1B kernel options have been changed to
34 no-ops. They can be removed from custom kernel configurations.
35
36 SOUND SYSTEM UPDATED FROM FreeBSD 11-CURRENT
37 --------------------------------------------
38
39 Many more sound devices may be detected.
40
41 If the default device choosen isn't to your liking, setting the sysctl
42 hw.snd.default_unit to a different number will change it.
43
44 SCTP SUPPORT DROPPED
45 --------------------
46
47 Support for the SCTP protocol has been removed.
48
49 OLD USB DRIVERS REMOVED
50 -----------------------
51
52 The old USB stack, along with the kernel config option "device oldusb"
53 and the make.conf variable "WANT_OLDUSB" have been removed. This means
54 that for custom kernel configuration files which were derived from a
55 GENERIC or X86_64_GENERIC file prior to making the usb4bsd stack default,
56 various (old USB stack specific) devices will now complain about being
57 unknown:
58
59   * oldusb      (obviously)
60   * natausb     (not yet ported to usb4bsd)
61   * rue         (not yet ported to usb4bsd)
62   * ugen        (no longer needed in usb4bsd)
63   * urio        (not yet ported to usb4bsd)
64   * uscanner    (no longer needed in usb4bsd)
65
66 They should be removed or commented out in such custom kernel configs.
67
68 GCC 5.0
69 -------
70
71 The GCC 4.4 compiler has been retired.  It has been replaced by a
72 [prerelease] version of GCC 5.0.  The following make.conf variables no
73 longer work: NO_GCC44, NO_OBJC, and NO_CXX.  The latter was never
74 documented and the latest versions of GCC are partially written in C++
75 so a C++ compiler is no longer optional.  In practical terms it has not
76 been optional for many years as other base components are also written in
77 C++.  The resource savings by avoiding building Objective-C compiler is
78 so small, the complexity added by NO_OBJC internally was deemed a bad
79 tradeoff so that is the reason for its removal.  Also note that no "info"
80 pages are installed with GCC 5.0.  This is intentional; they are available
81 via the internet if desired over the installed man pages.
82
83 Currently, GCC 4.7 is still designated as the primary compiler.  After
84 GCC 5.0 is released, this may change and these update notes will be
85 revised accordingly.  DPorts will use GCC 5.0 on this release regardless.
86 If GCC 5.0 is unwanted, the make.conf variable NO_GCC50 will block its
87 building and installation.
88
89 To use GCC 5.0 to build world and kernel, set WORLD_CCVER=gcc50 in
90 make.conf before building those targets.
91
92 +-----------------------------------------------------------------------+
93 +         UPGRADING DRAGONFLY FROM 3.8 TO LATER VERSIONS                +
94 +-----------------------------------------------------------------------+
95
96 SMP AND DEVICE_POLLING OPTIONS MADE UNKNOWN
97 -------------------------------------------
98
99 DEVICE_POLLING was replaced by IFPOLL_ENABLE and the former SMP code is
100 the default now (even on single-core systems), both for, like, 21 months.
101 We kept the options around as no-ops as a convenience, to allow people
102 using the same config for the then current release and the then current
103 master. That period is now over, so any configs still having those
104 options have to be adjusted.
105
106 SYSVIPC SYSCALLS MADE NON-OPTIONAL
107 ----------------------------------
108
109 The code related to the SYSVMSG, SYSVSEM and SYSVSHM kernel options is
110 now compiled in by default. The options are no-ops for now.
111
112 DEFAULT DRIVER CHANGED FOR LSI "THUNDERBOLT" SERIES RAID CONTROLLERS
113 --------------------------------------------------------------------
114
115 The default driver for those controllers is now mrsas(4) due to reports
116 of file system corruption using the mfi(4) driver. The whole issue (and
117 how to deal with potential problems when switching) was explained here:
118
119 http://lists.dragonflybsd.org/pipermail/users/2014-July/128703.html
120
121 A tunable is provided for letting those controllers still attach via
122 the mfi(4) driver, hw.mrsas.mfi_enable (see mrsas(4) manual page).
123
124 OLDER NETWORK DRIVERS MOVED TO I386 ONLY
125 ----------------------------------------
126
127 The following drivers have been made i386 only: ed(4), sr(4), ng_sync_ar
128 and ng_sync_sr. ed(4) used to be in X86_64_GENERIC, so it has to be
129 removed in kernel configs derived from X86_64_GENERIC.
130
131 +-----------------------------------------------------------------------+
132 +         UPGRADING DRAGONFLY FROM 3.6 TO LATER VERSIONS                +
133 +-----------------------------------------------------------------------+
134
135 UPDATE FROM MOST RECENT 3.6
136 ---------------------------
137
138 Versions of 3.6 built before June 25th have a bug where installworld might 
139 crash during installation of the new initrd.  Upgrade to the latest version
140 of 3.6 before updating to 3.8 or later.
141
142 ATM, IPX, NCP AND NWFS SUPPORT DROPPED
143 --------------------------------------
144
145 Support for the IPX and NCP network protocols and for mouting NetWare
146 file systems has been dropped. Dito for ATM protocol support.
147
148 INITRD IMAGES NOW INSTALLED BY DEFAULT
149 --------------------------------------
150
151 An initial ramdisk image is now installed in /boot/kernel/initrd.img.gz
152
153 Older images installed under the file name of initrd.img will be removed
154 automatically by the make upgrade process.
155
156 USB4BSD IS NOW THE DEFAULT USB STACK
157 ------------------------------------
158
159 To get back to the old stack, put "WANT_OLDUSB=yes" in /etc/make.conf and
160 replace "device usb" with "device oldusb" in the kernel configuration.
161
162 MORE ISA SUPPORT DROPPED
163 ------------------------
164
165 ISA support has been dropped from the following drivers: adv(4), an(4),
166 ar(4), cs(4), digi(4), ed(4), ep(4), ex(4), fe(4), lnc(4), sbni(4),
167 si(4), sn(4), and stg(4).
168
169 +-----------------------------------------------------------------------+
170 +         UPGRADING DRAGONFLY FROM 3.4 TO LATER VERSIONS                +
171 +-----------------------------------------------------------------------+
172
173 ABI CHANGE
174 ----------
175
176 Installed third-party software (dports) will have to be rebuilt after upgrade,
177 or reinstalled from binary packages.
178
179 UPDATING FROM 3.4 TO 3.6
180 ------------------------
181
182 This only applies for this specific upgrade due to locale changes; it is 
183 not needed for upgrades after 3.6.  Please update in this order:
184
185 make buildworld
186 make buildkernel
187 make installworld
188 make installkernel
189 *reboot*
190 make upgrade
191
192 See this mailing list post for details:
193 http://lists.dragonflybsd.org/pipermail/users/2013-September/090163.html
194
195 CYRIX OPTIONS REMOVED
196 ---------------------
197
198 The following Cyrix related options have been removed: CPU_BTB_EN,
199 CPU_CYRIX_NO_LOCK, CPU_DIRECT_MAPPED_CACHE, CPU_DISABLE_5X86_LSSER,
200 CPU_FASTER_5X86_FPU, CPU_IORT, CPU_LOOP_EN, CPU_RSTK_EN, CPU_SUSP_HLT,
201 CYRIX_CACHE_WORKS, and CYRIX_CACHE_REALLY_WORKS
202
203 ISA SUPPORT REMOVED FROM RP(4)
204 ------------------------------
205
206 ISA support has been removed from the rp(4) driver. It is now PCI only.
207
208 +-----------------------------------------------------------------------+
209 +         UPGRADING DRAGONFLY FROM 3.2 TO LATER VERSIONS                +
210 +-----------------------------------------------------------------------+
211
212 COMPAT_SUNOS OPTION REMOVED
213 ---------------------------
214
215 The COMPAT_SUNOS option has been removed. It was meant to provide binary
216 compatibility with SunOS 4.x for the sparc32 port of 4.4BSD.
217
218 ISA SOUND CARD SUPPORT REMOVED
219 ------------------------------
220
221 The following modules have been removed (all for ISA sound cards):
222 snd_ad1816.ko, snd_ess.ko, snd_mss.ko, snd_sb8.ko, snd_sb16.ko, snd_sbc.ko
223
224 GCC 4.7
225 -------
226
227 DragonFly has switched base compilers.  GCC 4.7 is now the default
228 compiler and GCC 4.4 is the alternative compiler.  The "NO_GCC47" make
229 variable ceases to work now.
230
231 Users who wish to build only GCC 4.7 have to use NO_GCC44 in the
232 /etc/make.conf to prohibit GCC 4.4 from building.  However, using it is
233 highly discouraged.  There are a few packages in pkgsrc that do not build
234 with GCC 4.7 and the new "DPorts" system uses GCC 4.4 by default.  At
235 this time, it is recommended to keep both compilers on the base system.
236
237 SMP OPTION REMOVED
238 ------------------
239
240 The SMP kernel option has been made a no-op. All kernels now feature SMP
241 support. If you have 'options SMP' in your kernel config, you can as well
242 remove it.
243
244 DEVICE_POLLING OPTION REPLACED BY IFPOLL_ENABLE OPTION, KTR_POLLING REMOVED
245 ---------------------------------------------------------------------------
246
247 The DEVICE_POLLING kernel option has been made a no-op and it has been
248 replaced by IFPOLL_ENABLE.  If you have 'options DEVICE_POLLING' in your
249 kernel config, you need to change it to IFPOLL_ENABLE.
250
251 Also, the KTR_POLLING kernel option has been removed, so it must be
252 removed from kernel configs that have it.
253
254 BUSLOGIC, CYCLADES AND STALLION ISA SUPPORT REMOVED
255 ---------------------------------------------------
256
257 The bt(4) driver for Buslogic SCSI adapters has been made PCI only. ISA
258 cards will no longer be detected.
259
260 The same has been done for Stallion multiport serial controllers. stli(4)
261 has been completely removed (along with the stlload(8) and stlstty(8)
262 utilities) and stl(4) was changed to support only PCI cards. Similarly,
263 ISA support was removed from cy(4) too. All these drivers are i386 only.
264
265 COMPAT_OLDISA OPTION GONE
266 -------------------------
267
268 The i386 specific COMPAT_OLDISA kernel option has been removed, since
269 nothing needs it anymore.
270
271 +-----------------------------------------------------------------------+
272 +         UPGRADING DRAGONFLY FROM 3.0 TO LATER VERSIONS                +
273 +-----------------------------------------------------------------------+
274
275 APIC_IO OPTION REMOVED
276 ----------------------
277
278 The APIC_IO kernel option is no longer accepted after having been without
279 effect for a while. The hw.ioapic_enable tunable now serves its purpose.
280 If you have 'options APIC_IO' in your kernel config, you'll have to
281 remove it.
282
283 WATCHDOG_ENABLE & HW_WDOG OPTIONS REMOVED
284 -----------------------------------------
285
286 The wdog framework is now compiled into our kernels by default, so the
287 options are no longer needed.
288
289 DOSCMD(1) REMOVED
290 -----------------
291
292 doscmd(1) has been removed. It was i386 only. The doscmd(1) specific
293 NO_X make.conf option was removed too.
294
295 GCC 4.7
296 -------
297
298 GCC 4.7 has been brought in and replaces GCC 4.1 as DragonFly's non-
299 default compiler in base (default is still GCC 4.4).
300
301 Users who wish to build only GCC 4.4 have to replace NO_GCC41 with
302 NO_GCC47 in /etc/make.conf.
303
304 USB4BSD
305 -------
306
307 A new USB stack (from FreeBSD) has been brought in. The following
308 modules have been ported so far: usb, uhci, ohci, ehci, xhci, umass,
309 usfs, uether, if_axe, if_udav, ukbd, ums, uep, uhid, usb_quirk,
310 and uaudio.
311
312 It is not yet the default. To activate it, WANT_USB4BSD=yes has to
313 be put in make.conf and device "usb4bsd" (quotes needed) has to
314 replace device usb in the kernel config. After that, a full
315 build/install/upgrade cycle is needed.
316
317 Note that this is experimental and incomplete, but we are interested
318 in hearing about issues with it, of course.
319
320 ISA SUPPORT REMOVED FROM AIC-6260/6360 DRIVER
321 ---------------------------------------------
322
323 ISA adapter support was dropped from the aic(4) driver.
324
325 +-----------------------------------------------------------------------+
326 +         UPGRADING DRAGONFLY FROM 2.10 TO LATER VERSIONS               +
327 +-----------------------------------------------------------------------+
328
329 SEVERAL ISA DRIVERS REMOVED
330 ---------------------------
331
332 The following ISA only drivers have been removed along with a couple of
333 associated userland tools:
334
335 aha(4)
336 asc(4) & sasc(1)
337 ctx
338 dgb(4)
339 el(4)
340 gpib
341 gsc(4) & sgsc(1)
342 ie(4)
343 labpc(4)
344 le(4)
345 mse(4)
346 rc(4)
347 rdp(4)
348 spigot
349 tw(4) & xten(1) & xtend(8)
350 wl(4) & wlconfig(8)
351 wt(4)
352
353 Note that two of these drivers (aha(4) and ie(4)) are in our GENERIC
354 config and one (aha(4)) is in our X86_64_GENERIC kernel configuration
355 file.
356
357 If buildkernel complains about any of these drivers, just remove them
358 from your kernel configuration.
359
360 BINUTILS 2.20
361 -------------
362 Binutils 2.20 has been removed in favor of Binutils 2.22.  The accepted
363 values of BINUTILSVERS are now binutils221 and binutils222 (default).
364
365 BUILDWORLD/-KERNEL PARALLELIZATION WORK
366 ---------------------------------------
367 Due to changes in the way we build with more than one make job, you
368 will have to update install(1) and mkdir(1) prior to buildworld if you
369 want to build with 'make -j':
370
371 cd /usr/src/usr.bin/xinstall; make; make install; make clean
372 cd /usr/src/bin/mkdir; make; make install; make clean
373
374 DMA(8) UPGRADE
375 --------------
376 dma(8) has been upgraded to v0.7 which no longer supports the
377 /etc/dma/virtusertable. Some of its functionality has been replaced
378 with the MASQUERADE keyword and the EMAIL environment variable (see
379 the dma(8) manual page).
380
381 +-----------------------------------------------------------------------+
382 +         UPGRADING DRAGONFLY FROM 2.8 TO LATER VERSIONS                +
383 +-----------------------------------------------------------------------+
384
385 GCC 4.4 & BINUTILS 2.21
386 -----------------------
387
388 GCC 4.4 has been made DragonFly's default compiler and Binutils 2.21 has
389 been made DragonFly's default Binutils.
390
391 That means that any settings that set CCVER to 'gcc44' are not needed
392 anymore. Instead, CCVER can be set to 'gcc41' to go back to using
393 GCC 4.1.
394
395 It also means that 'binutils221' as a value for BINUTILSVER has no
396 effect anymore. 2.17 has been removed and 'binutils220' is available
397 as an option.
398
399 The NO_GCC44 option has been removed and will not affect the build
400 anymore. There is now a NO_GCC41 option that will prevent GCC 4.1 from
401 building in a similar fashion.
402
403 Note that you must do a full buildworld/buildkernel for upgrading.
404
405 pkg_radd settings
406 -----------------
407
408 The config file for pkg_radd has moved from /etc/settings.conf to 
409 /etc/pkg_radd.conf.  Save the contents of settings.conf before upgrading
410 if this is needed.  This warning only applies if /etc/settings.conf 
411 exists.  pkg_radd will continue to work with defaults.
412
413 +-----------------------------------------------------------------------+
414 +         20100927                                                      +
415 +         UPGRADING DRAGONFLY FROM 2.6 to 2.8 or HEAD                   +
416 +-----------------------------------------------------------------------+
417
418 OpenSSL
419 --------
420
421 OpenSSL has been upgraded, and SHLIB_MAJOR was bumped for libssh and libcrypto.
422 This shouldn't break any 3rd-party software, but you'll need to recompile your
423 3rd-party software if you want it to link against the new version of OpenSSL.
424
425 Loader
426 -------
427
428 A new loader (dloader) has been added which better handles booting from
429 multiple kernel/module versions.
430
431 To upgrade (Only for this upgrade, for post 2.8 upgrades see GENERAL below)
432
433         cd /usr/src
434         make buildworld
435         make installworld
436         make upgrade
437         make buildkernel KERNCONF=<KERNELNAME>
438         make installkernel KERNCONF=<KERNELNAME>
439
440 Note that you must installworld and run the 'upgrade' target before
441 installing the new kernel.
442
443 BIND
444 -----
445
446 BIND has been removed from the base system.  The ldns and drill tools have 
447 been added for basic functionality.  Use 'drill' where you would normally 
448 use nslookup or dig, or install BIND from pkgsrc.  It's available as 
449 net/bind95, net/bind96, or net/bind97 as of this writing.
450
451 This only affects older systems upgrading to 2.8.  New 2.8+ installs 
452 include BIND as a pkgsrc package.
453
454 +-----------------------------------------------------------------------+
455 +         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM           +
456 +                               GENERAL                                 +
457 +-----------------------------------------------------------------------+
458
459 Instructions on how to obtain and maintain DragonFly source code using git
460 are in the development(7) manual page.
461
462 To upgrade a DragonFly system from sources you run the following sequence:
463
464         cd /usr/src
465         make buildworld
466         make buildkernel KERNCONF=<KERNELNAME>
467         make installkernel KERNCONF=<KERNELNAME>
468         make installworld
469
470 You will also want to run the 'upgrade' target to upgrade your /etc and the
471 rest of your system.  The upgrade target is aware of stale files created by
472 older DragonFly installations and should delete them automatically.
473
474         make upgrade
475
476 See the build(7) manual page for further information.
477
478 Once you've done a full build of the world and kernel you can do incremental
479 upgrades of either by using the 'quickworld' and 'quickkernel' targets
480 instead of 'buildworld' and 'buildkernel'.  If you have any problems with
481 the quick targets, try updating your repo first, and then a full buildworld
482 and buildkernel as shown above, before asking for help.
483
484 +-----------------------------------------------------------------------+
485 +         UPGRADING FROM DRAGONFLY <= 2.0 TO DRAGONFLY >= 2.1           +
486 +-----------------------------------------------------------------------+
487
488 In 2.1 kernel and modules has moved to boot directory.  For most cases
489 this is handled automatically by 'make upgrade'.  A few cases needs manual
490 intervention:
491
492  * When installing a kernel without first doing a make buildworld,
493    installworld and upgrade to the same DESTDIR as kernel:
494    make DESTDIR/boot directory and move kernel and modules into this boot
495    directory; also move kernel.old and modules.old.
496    Typical example is vkernel(7), use (no modules used):
497
498         cd /var/vkernel
499         mkdir boot
500         chflags noschg kernel
501         mv kernel kernel.old boot
502         chflags schg boot/kernel
503         
504  * When using a boot-only partition, /boot/loader.rc needs to be edited:
505    delete occurrences of '/boot/'.
506    These occurences can normally be deleted in any case, see loader(8).
507
508 +-----------------------------------------------------------------------+
509 +         UPGRADING FROM DRAGONFLY <= 1.8 TO DRAGONFLY >= 1.9           +
510 +-----------------------------------------------------------------------+
511
512 In 1.9 major changes to the disk management infrastructure have taken
513 place.  make upgrade may not catch all of your disk devices in /dev,
514 so after upgrading be sure to cd /dev; ./MAKEDEV <blah> where <blah>
515 are all of your disk devices.  HOWEVER, from late 2.3 on we run devfs
516 and MAKEDEV no longer exists.
517
518 The biggest changes in 1.9 are:
519
520 (1) That whole-slice devices such as da0s1 no longer share the same device
521     id as partition c devices such as da0s1c.
522
523 (2) The whole-disk device (e.g. da0) is full raw access to the disk,
524     with no snooping or reserved sectors.  Consequently you cannot run
525     disklabel on this device.  Instead you must run disklabel on a
526     whole-slice device.
527
528 (3) The 'compatibility' partitions now use slice 0 in the device name,
529     so instead of da0a you must specify da0s0a.  Also, as per (1) above,
530     accessing the disklabel for the compatibility partitions must be
531     done via slice 0 (da0s0).
532
533 (4) Many device drivers that used to fake up labels, such as CD, ACD, VN,
534     and CCD now run through the disk management layer and are assigned
535     real disk management devices.   VN and CCD in particular do not usually
536     use a MBR and disklabels must be accessed through the compatibility
537     slice 0.  Your /etc/ccd.conf file still specifies 'ccd0', though, you
538     don't name it 'ccd0s0' in the config file.
539
540 Generally speaking, you have to get used to running fdisk and disklabel on
541 the correctly specified device names.  A lot of the wiggle, such as running
542 disklabel on a partition, has been removed.
543
544 +-----------------------------------------------------------------------+
545 +         UPGRADING FROM OLDER VERSIONS OF DRAGONFLY OR FREEBSD         +
546 +-----------------------------------------------------------------------+
547
548 > Kerberos IV
549 -------------
550
551 Kerberos IV (eBones) was removed from the tree, please consider moving to
552 Kerberos 5 (Heimdal).
553
554 > Package Management System
555 ---------------------------
556
557 Starting with the 1.4 release, DragonFly uses NetBSD's pkgsrc package
558 management system.  The necessary tools to build and maintain packages
559 are provided in /usr/pkg/bin and /usr/pkg/sbin.  Make sure that these
560 directories are in your PATH variable.
561
562 In order to obtain a reasonably current snapshot of the pkgsrc tree, use
563 the tarball from NetBSD:
564
565         fetch -o /tmp/pkgsrc.tar.gz ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc.tar.gz
566         cd /usr; tar -xzf /tmp/pkgsrc.tar.gz; chown -R root:wheel pkgsrc
567
568 This tree can then be kept up to date with cvs update:
569
570         cd /usr/pkgsrc; cvs up
571
572 NOTE! If you upgraded from a pre-1.4 system to 1.4 or later, you need to
573 build and install the pkgsrc bootstrap manually:
574
575         cd /usr/pkgsrc/bootstrap
576         ./bootstrap --pkgdbdir /var/db/pkg --prefix /usr/pkg
577
578 +-----------------------------------------------------------------------+
579 +         UPGRADING DRAGONFLY ON AN EXISTING DRAGONFLY SYSTEM           +
580 +         UPDATING FROM PRE-1.2 SYSTEMS OR FreeBSD 4.x TO               +
581 +         DRAGONFLY 1.3+ (EITHER PREVIEW or HEAD)                       +
582 +-----------------------------------------------------------------------+
583
584 The compatibility shims for the build environment have been removed, you
585 have to update to DragonFly 1.2 release branch first.
586
587 The default PAM configuration has moved from /etc/pam.conf to /etc/pam.d/.
588 The existing configuration can be converted using /etc/pam.d/convert.sh.
589 Entries in /etc/pam.d/ override entries in /etc/pam.conf. In addition
590 the pam_skey.so module was retired, you have to remove it manually from
591 your configuration, when you convert it.
592
593 > Required user and group IDs when upgrading from either FreeBSD or DragonFly
594 ---------------------
595
596 The following users may be missing from your password file.  Use vipw and
597 add any that are missing:
598
599 smmsp:*:25:25::0:0:Sendmail Submission User:/var/spool/clientmqueue:/sbin/nologin
600 _pflogd:*:64:64::0:0:pflogd privsep user:/var/empty:/sbin/nologin
601
602 The following groups may be missing from your group file.  Use vi /etc/group
603 and add any that are missing:
604
605 smmsp:*:25:
606 authpf:*:63:
607 _pflogd:*:64:
608
609
610 > Upgrading to DragonFly from FreeBSD
611 ---------------------
612
613 You can build the DragonFly world and DragonFly kernels on a FreeBSD-4.x or
614 FreeBSD-5.x machine and then install DragonFly over FreeBSD, replacing
615 FreeBSD.  Note that the DragonFly buildworld target does not try to reuse
616 make depend information, it starts from scratch, so no pre-cleaning of the
617 object hierarchy is necessary.
618
619         # get the CVS repository (it is placed in /home/dcvs, 500MB).
620         # Please use the -h option and a mirror site to pull the 
621         # initial repository, but feel free to use the main repository
622         # machine to pull updates.
623         cvsup /usr/share/examples/cvsup/DragonFly-cvs-supfile
624         # install the source from the CVS hierarchy (remove preexisting
625         # FreeBSD src first) (500MB)
626         cd /usr
627         rm -rf src
628         cvs -R -d /home/dcvs checkout -P src
629
630         # build it (500MB used in /usr/obj)
631         #
632         cd /usr/src
633         make buildworld
634         make buildkernel KERNCONF=<KERNELNAME>
635
636 Once you have built DragonFly you have to install it over FreeBSD.  Since
637 DragonFly does not track changes made by FreeBSD to its include file 
638 hierarchy and include file pollution can cause all sorts of unexpected
639 compilation issues to come up, it is best to wipe your include hierarchy
640 prior to installing DragonFly.  Note that you should not wipe any installed
641 FreeBSD header files or binaries until after you have successfully completed
642 the build steps above.
643
644         rm -rf /usr/include
645         mkdir /usr/include
646         make installkernel KERNCONF=<KERNELNAME>
647         make installworld
648
649 Then you need to upgrade your system.  DragonFly's 'make upgrade' target 
650 will unconditionally upgrade the /etc files that sysops do not usually
651 mess around with, such as the files in /etc/rc.d.  It will also remove any
652 obsolete files such as utilities and manpages that have been removed from
653 the system since the version you're coming from.  If you are unsure we 
654 recommend that you make a backup of at least your /etc before applying
655 this step.  Note that DragonFly's RC system is basically RCNG from
656 FreeBSD-5, but there are some differences in the contents of the RC files.
657
658         make upgrade
659
660 NOTE! Never do a 'make upgrade' before 'make installworld' has been run.
661 Doing so might leave your system in an unusable state.
662
663 Finally we recommend that you do an 'ls -lta BLAH' for /bin, /sbin, /usr/bin,
664 /usr/bin, and /usr/lib, and remove any stale files that you find.  Please
665 report these files to the DragonFly developers so that they can be added to
666 the 'upgrade' target.
667