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