UPDATING revision 64569
1Updating Information for FreeBSD current users
2
3This file is maintained by imp@village.org.  Please send new entries
4directly to him.  See end of file for further details.  For commonly
5done items, please see the end of the file.  Search for 'COMMON
6ITEMS:'
7
820000812:
9	sendmail has been updated from 8.9.3 to 8.11.0.  Some of the more
10	visible changes that may immediately affect your configuration
11	include:
12	- New default file locations from src/contrib/sendmail/cf/README
13	- newaliases limited to root and trusted users
14	- MSA port (587) turned on by default
15	- New queue file naming system so can't go from 8.11 -> 8.9
16	- FEATURE(`rbl') renamed to FEATURE(`dnsbl')
17	- FEATURE(`nullclient') is more full featured
18	- FEATURE(`nouucp') requires an argument: `reject' or `nospecial'
19	- mail.local FreeBSD-only -b option changed to -B
20	- See src/contrib/sendmail/RELEASE_NOTES for more info
21
2220000810:
23	suidperl (aka sperl) is no longer build by default.  You must
24	specifically define BUILD_SUIDPERL to "true" for it to be build.
25	Furthermore, we recommend that you remove /usr/bin/sperl* and
26	/usr/bin/suidperl files from your system unless you have a
27	specific use for it.
28
2920000729:
30	Networking defaults have been tightened.  Anybody upgrading
31	/etc/defaults/rc.conf needs to add the following lines to
32	/etc/rc.conf if they want to have the same setup
33	afterwards (unless the variables already are set, of course):
34		# Enable network daemons for user convenience.
35		inetd_enable="YES"
36		portmap_enable="YES"
37		sendmail_enable="YES"
38
3920000728:
40	If you have null_load="YES" in your /boot/loader.conf, you
41	will need to change that to nullfs_load="YES".
42
4320000728:
44	The "installkernel" target has changed slightly. Now even if
45	you override KERNEL e.g. 'make installkernel KERNEL=MYKERNEL'
46	it will install the MYKERNEL file (built with the buildkernel
47	target) as /kernel rather than /MYKERNEL. Those who have
48	updated their /boot/loader.conf files to point to /MYKERNEL
49	should remove that entry or perform manual rename of /kernel
50	to /MYKERNEL.
51
5220000711:
53	If you use CVSUP or CTM to get CVS trees, AND you used to get 
54	the old crypto files from internat.freebsd.org AND you check
55	out files from the CVS tree with the cvs command, please read
56		http://people.freebsd.org/~imp/internat.txt
57	for details on potential problems that you might have and how
58	to get around them.
59
60	If you are merely a mirror, or don't answer yes to each of the
61	clauses above, you needn't worry.
62
6320000711:
64	/etc/security has been updated to print the inode number of
65	setuid programs that have changed.  You will see a large spike
66	in the number of changed programs the first time when you run
67	mergemaster to get a new /etc/security.
68
6920000710:
70	/dev/random now has good entropy collection (from the keyboard
71	and sysmouse drivers). Please ensure that either `options
72	RANDOMDEV' is present in your kernel config file or that
73	`randomdev_load="YES"' is in your /boot/loader.conf. If you do
74	not have the /dev/random driver, OpenSSL (and consequently
75	lots of crypto tools (like SSH)) will fail with strange
76	errors. (see below, 20000624).
77
78	FreeBSD-current is safe again to run Crypto.
79
8020000709:
81	phk made the malloc default options AJ.  This may slow things
82	down and uncover other latent bugs in the code.  If you need to
83	run at full speed, you can disable this by doing the following:
84		ln -s aj /etc/malloc.conf
85
8620000706:
87	libftpio's version was accidentally bumped a few days ago.  This
88	has been corrected.  You may need to remove /usr/lib/libftpio.so.6
89	before doing your next buildworld/installworld pair.  It certainly
90	won't hurt to remove it before the update proceedure.  It will
91	break fetch until a new one is built, but ftp can be used in the
92	interrum if needed.
93
9420000705:
95	The crypto packages have changed for the cvsup.  This has been done
96	in a backward compatible way, but the old packages will go away at
97	some point in the future.  Look at /usr/share/examples/cvsup for
98	details.
99
10020000704:
101	With the new sys/modules/sound/drivers/*, you will need to
102	set SYSDIR until you do an installworld after July 7th.
103
10420000704:
105	rc.shutdown and rc will now call the rc.d scripts with start
106	or stop.  This may cause some harmless warnings from older
107	rc.d scripts that haven't been updated.
108
10920000630:
110	The libfetch based version of fetch has gone into the tree.
111	Minor problems may result on some of the less popular sites,
112	which should be reported to des@freebsd.org.
113
11420000625:
115	From approximately this date forward, one must have the crypto
116	system installed in order to build the system and kernel.
117	While not technically strictly true, one should treat it as
118	required and grab the crypto bits.  If you are grabbing CVS
119	trees, src-all and cvs-crypto should be treated as if they
120	were required.  You should check with the latest collections
121	to make sure that these haven't changed.
122
12320000624:
124	Mark Murray just committed the first parts of a cleanup of
125	/dev/zero, et al.  This is also cleaning up /dev/random.
126	The entropy is disconnected, so DO NOT USE VERSIONS OF FREEBSD
127	-CURRENT FROM THIS POINT FORWARD for cryptographic services
128	until Mark can merge in the fixes to this work in progress.
129	openssh and openssl should not be used to generate keys from this
130	date to the completion of the work.
131
132	If you must operate at this reduced level of security, add '
133	options RANDOMDEV' to your kernel or modload the randomdev
134	module.  You may also need to copy a new MAKEDEV to /dev and
135	recreate the random and urandom devices.
136
13720000622:
138	The license on the softupdates is now a standard 2 clause
139	BSD license.  You may need to remove your symbolic links
140	that used to be required when updating.
141
14220000621:
143	Scott Flatman <sf@aracnet.com> sent in a decent writeup on
144	the config file update procedure.
145		http://people.freebsd.org/~imp/config-upd.html
146	NOTE: LINT is gone.  It has been replaced with NOTES.  NOTES
147	isn't buildable.
148
14920000620:
150	Binutils 2.10 have hit the tree, or will shortly.  As soon
151	as they do, the problem noted in 20000522 will be resolved and
152	that workaround will no longer be required.
153
15420000615:
155	phk removed the compatibility creation of wd devices in the
156	ad driver.  If you haven't done so already, you must update
157	your fstab, etc to use the ad devices instead of the wd
158	devices.
159
160	In addition, you'll need to update your boot blocks to a
161	more modern version, if you haven't already done so.  Modern
162	here means 4.0 release or newer (although older releases
163	may work).
164
16520000612:
166	Peter took an axe to config(8).  Besure that you read his mail
167	on the topic before even thinking about updating.  You will
168	need to create a /boot/device.hints or add a hints directive
169	to your config file to compile them in statically.  The format
170	of the config file has changed as well.  Please see GENERIC or
171	NEWCARD for examples of the new format.
172
17320000522:
174	A new set of binutils went into the tree today.  Anybody
175	building a kernel after this point is advised that they need
176	to rebuild their binutils (or better yet do a
177	buildworld/installworld) before building a new kernel.
178
179	Due to bugs in binutils, using malloc options (eg /etc/malloc.conf
180	or MALLOC_OPTIONS env var) J will cause ld to dump core.  It
181	is recommended that you don't set this option until the problem
182	is resolved.
183
18420000513:
185	The ethernet drivers were all updated to clean up the BPF handling.
186
18720000510:
188	The problems with boot blocks on the alphas have been corrected.
189	This will require some care in updating alphas.  A new libstand
190	is requires for the boot blocks to build properly.
191
19220000503:
193	Recompile all kld modules.  Proper version dependency info
194	is now available.
195
19620000502:
197	Modules have been disconnected from the buildworld tree and 
198	connected to the kernel building instead.
199
2002000427:
201	You may need to build gperf
202		cd /usr/src/gnu/usr.bin/gperf && make depend all install
203	when upgrading from 4.0 -> current.  The build system now uses
204	an option only in -current.
205
20620000417:
207	The method that we brand ELF binaries has changed to be more
208	acceptible to the binutils maintainers.  You will need to
209	rebrand your ELF binaries that aren't native.  One problem
210	binary is the Linux ldconfig.  After your make world, but
211	before you reboot, you'll neeed to issue:
212		brandelf -t Linux /compat/linux/sbin/ldconfig
213	if you have Linux compatibility enabled on your machine.
214
21520000320:
216	If you have really bad/marginal IDE drives, you may find they
217	don't work well.  Use pio mode instead.  The easiest way to
218	cope if you have a problem combination is to add:
219		/sbin/sysctl -w hw.atamodes=pio,pio,pio,pio
220	to the start of /etc/rc.conf.
221
22220000319:
223	The ISA and PCI compatability shims have been connected to the
224	options COMPAT_OLDISA and COMPAT_OLDPCI.  If you are using old
225	style PCI or ISA drivers (i.e. tx, voxware, etc.) you must
226	include the appropriate option in your kernel config.  Drivers
227	using the shims should be updated or they won't ship with
228	5.0-RELEASE, targeted for 2001.
229
23020000318:
231	We've entered the tradtional post release dumping party.
232	Large kernel changes are being committed and are in the
233	works.  It is important to keep the systems' klds and kernel
234	in sync as kernel interfaces and structures are changing.
235	Before reporting kernel panics, make sure that all modules
236	that you are loading are up to date.
237
23820000315:
239	If you are upgrading from an older version of FreeBSD, you
240	need to update your boot blocks as well.  'disklabel -B ad0'
241	will do the trick.  This isn't critical until you remove your
242	wd device entries in /dev, at which point your system will not
243	boot.
244
24520000315:
246	4.0 RELEASE shipped.  Please see the 4.0 UPDATING file for how
247	to upgrade to 4.0 from 3.x.
248
249COMMON ITEMS:
250
251	To build a kernel
252	-----------------
253	If you are updating from a prior version of FreeBSD (even one just
254	a few days old), you should follow this proceedure. With a
255	/usr/obj tree with a fresh buildworld,
256	make buildkernel KERNEL=YOUR_KERNEL_HERE
257	make installkernel KERNEL=YOUR_KERNEL_HERE
258
259	To just build a kernel when you know that it won't mess you up
260	--------------------------------------------------------------
261	cd src/sys/{i386,alpha}/conf
262	config KERNEL_NAME_HERE			[1]
263	cd ../../compile/KERNEL_NAME_HERE
264	make depend
265	make
266	make install	
267	
268	[1] If in doubt, -r might help here.
269
270	If this fails, go to the "To build a kernel" section.
271
272	To rebuild everything and install it on the current system.
273	-----------------------------------------------------------
274	make world
275
276	To upgrade from 4.x-stable to current
277	-------------------------------------
278	make buildworld
279	make buildkernel KERNEL=YOUR_KERNEL_HERE
280	make installkernel KERNEL=YOUR_KERNEL_HERE
281	make installworld
282	[1]
283	<reboot>
284
285	Make sure that you've read the UPDATING file to understand
286	the tweaks to various things you need.  At this point in the
287	life cycloe of current, things change often and you are on
288	your own to cope.
289
290	Also, if you are tracking -current, you must be subscribed to
291	freebsd-current@freebsd.org.  Make sure that before you update
292	your sources that you have read and understood all the recent
293	messages there.  If in doubt, please track -stable which has
294	much fewer pitfalls.
295
296	[1] If you have third party modules, such as vmware, you
297	should disable them at this point so they don't crash your
298	system on reboot.
299
300FORMAT:
301
302This file contains a list, in reverse chronologocal order, of major
303breakages in tracking -current.  Not all things will be listed here,
304and it only starts on March 15, 2000.  Updating files can found in
305previous releases if your system is older than this.
306
307Please filter your entries through Warner Losh (imp@village.org) so
308that the style, formatting, etc of this file can be maintained.
309
310$FreeBSD: head/UPDATING 64569 2000-08-12 22:47:21Z imp $
311