FreeBSD 5.3 Released

rhoekman

Verified User
Joined
Jan 3, 2004
Messages
250
Location
The Netherlands
FreeBSD 5.3 Release (Beta) test report

Ok, it's not officially released (it will be tommorow :)) but it's already on the mirror's and I couldn't resist. Right at the moment I'm upgrading my secondary DNS without DA to see if there's anything you should look out for. If that is going well I'll take the plunge when they officially anounce it and upgrade the DA machine. I'll keep you posted if there's anything that you should be aware of when upgrading..

---- REPORT BELOW ----

1. Biggest change is from Bind 8 to 9 and it's location and that it runs in a chrooted environment. This could break DA installations.

2. Minor: Firewall (PF) is enabled in the kernel by default. It got me a little alarmed because the upgrades exits with an error when the 'Proxy' user does not exist. It needs this to run the firewall in userland I guess.

The release notes have more information on it:

20040928:
If enabled, the default is now to run named in a chroot
"sandbox." For users with existing configurations in
/etc/namedb the migration should be simple. Upgrade your
world as usual, then after installworld but before
mergemaster do the following:

If named is running: /etc/rc.d/named stop
cd /etc
mv namedb namedb.bak
mkdir -p /var/named/etc/namedb
cp -Rp namedb.bak/* /var/named/etc/namedb/
mergemaster (with your usual options)
If using the generated localhost* files:
cd /var/named/etc/namedb
/bin/sh make-localhost
rm -f localhost-v6.rev localhost.rev
/etc/rc.d/syslogd restart
/etc/rc.d/named start

If you are using a custom configuration, or if you have
customised the named_* variables in /etc/rc.conf[.local]
then you may have to adjust the instructions accordingly.
It is suggested that you carefully examine the new named
variables in /etc/defaults/rc.conf and the options in
/var/named/etc/namedb/named.conf to see if they might
now be more suitable.

20040308:
The packet filter (pf) is now installed with the base system. Make
sure to run mergemaster -p before installworld to create required
user account ("proxy"). If you do not want to build pf with your
system you can use the NO_PF knob in make.conf.
Also note that pf requires "options PFIL_HOOKS" in the kernel. The
pf system consists of the following three devices:
device pf # required
device pflog # optional
device pfsync # optional

--- Damage report ---

I'm glad I did this on a server on location and not remote. There is also a change in OpenSSH and the protocol. I've had only SSH2 access and they changed it to default now (was SSH1 and SSH2) but I encounterd problems with the key and the protocol and had to dive in on the console.

Some of the damage I need to fix:

- OpenSSH is not accepting SSH2 but SSH1 and only if you use TIS authentication and this even if config is set on SSH2. This part is a riddle at moment.
fixed: This was probably due to a certificate error/corruption.

note: Dag-Erling Smorgrav has updated OpenSSH 3.8p1 to change some configuration defaults: the server no longer accepts protocol version 1 nor password authentication by default.

- Nameserver (BIND 9) is not running (and configured)
fixed: I have it up and running after running mergemaster and pointing to the old /etc/named

--- Uneffected ---

Also usefull is to report stuff that still worked after the upgrade. Note that it was not a DA box I upgraded so I post what DA uses:

mysql-server-4.0.18_1
apache+mod_ssl-1.3.31+2.8.17_3
php4-4.3.8_2
vm-pop3d-1.1.6_1

--- Effected Libraries and Programs ---

I ran NMAP and it started to yell at me saying that something was wrong with:

libpcre

Now I believe that Exim uses this lib with perl to use regular expressions (filtering etc)

So my guess is we have a broken Exim after the upgrade. Major issue.

NMAP worked after recompile so I hope we just have to recompile Exim and uses the new libs. This needs proper testing.
 
Last edited:
I have been following this release with interest I think you right about bind 9 been chrooted might break directadmin.

Here is what I think on certian points.

1 - Bind9 not chrooted works fine with directadmin, chrooted as you say will probably cause problems the workaround would be to use the variable to install the base version not chrooted or to use bind9 from ports.

2 - Freebsd 5.3 version jumps some lib files which will stop a load of pre compiled binaries from working, workaround apart from recompiling is I believe to install the compat4x libs, I hope I am right here.

3 - If you upgrading via source then there is going to be a risk anyway of binaries like sendmail overwriting exim stuff, workaround is probably to either reinstall exim etc. after or to instruct sendmail to not be compiled when upgrading userland.
 
It is finished now and I will have to come back with the damage report ;) (see initial post as I'll update)

To your points.

1. Bind 9 is part of the base install now so we have to either figure out how DA will use Bind 9 in sandbox mode. I do not want to break to much of FreeBSD default installations mainly to avoid maintance time on production servers.

2. compat4.x is needed by default if you want to run DA properly. But indeed the libs are big concern even with the existing symlinks they will probably need some fixing.

3. You can prevent this by skipping the config files when it ask you to merge the files. I think..
 
Last edited:
I am installing a new server right now, but I think I'll stick with 5.2.1 for now till DA works ok out of the box with 5.3

edit: What are your thoughts about this?
 
Last edited:
Hmm, I think it will not release tommorow, the RC's haven't even been released yet.
 
wdv said:
I am installing a new server right now, but I think I'll stick with 5.2.1 for now till DA works ok out of the box with 5.3

edit: What are your thoughts about this?

I think that would be very wise.. I do not feel very confident with this release mainly because of the DNS changes and libraries that probably will cause havoc on a DA machine. On the production machine I'll just keep on patching the system until I know exactly what has changed. For now it's a no go.
 
Correct. Last I checked it was beta7 and its been there since the 3rd of this month or thereabouts. At least on the ftp server I was looking at.
 
Who of the mirrors have the final release?
I have try some but i have see only the last beta.
Check also this:
http://www.freebsd.org/releases/5.3R/schedule.html
This document is updated yesterday and sayfor today schedule:
5.3-RC1 tier-1 platform images released and uploaded
The final released around 22-23 October.

Christos
 
Last edited:
Sorry for the misleading subject of the post the one that I have installed now is in fact 5.3 BETA7 Release. At the time I thought I had the real thing. According to http://www.freebsd.org/releases/5.3R/schedule.html it was out on the 16th and uploaded to the CVSup trees but they changed it and changed the release date already. My bad.

Anyway the Beta is showing that there are some fundamental changes that will be in the final release. So my report isn't entirely useless :)
 
Last edited:
Your report isn't useless at all!

I think it would be nice if we think of an upgrade method together, as 5.2.1 will EOL 31-12-2004.
 
yes its far from useless and I think it would help DA even more if they could make it compatible before 5.3 is released.

Not only is 5.2.1 EOL soon, also 5.3 is the milestone for the new STABLE branch meaning lots of users will be switching over including myself.
 
looks like Oct 25th or later at the moment :p

its nice to see you following it though
 
Chrysalis said:
yes its far from useless and I think it would help DA even more if they could make it compatible before 5.3 is released.

Not only is 5.2.1 EOL soon, also 5.3 is the milestone for the new STABLE branch meaning lots of users will be switching over including myself.

So will 5.3 also become production ready alongside 4.10?
What are the major benefits of 5.x above 4.x? (Other than the EOL of the 4.x line next year or two?)
 
5.x is designed from the ground up as a all new multithreadable os. It was also the first version of FBSD to support 64bit processors. They added a new filesystems USF2 (the will require you to reformat the drive to take advantage of) , new scheduler and tons of other new pieces of technology since the branch was broken from 4.x series.

I am sure freebsd.org has a full list of all the new features!
 
jmstacey said:
So will 5.3 also become production ready alongside 4.10?
What are the major benefits of 5.x above 4.x? (Other than the EOL of the 4.x line next year or two?)

Yes its the reason I have boxes at 5.2.1 now as I know 5 will soon be STABLE.

For a short period there will be 2 STABLE branches and I think they said there will probably even be a 4.11 release.

As for whats new over 4.x well there are lots of base changes such as new gcc and perl no longer in the base, the kernel should now support -O2 compiling for better speed, it will work a LOT better with new hardware especially hyperthreading hardware. PF will be included in the base as an alternative to IPFW, there are many more changes as well but they the ones I can think off on hand.

The chroot problem with bind can be fixed with an extra line in make.conf telling the buildworld to not chroot bind but by default unless you do this it will be chrooted.
 
5.3 was out 3 days ago. They are slowly putting it out on FTP as 5.3RC1. 5.3-STABLE is working good on my system so far.
 
apryan said:
5.3 was out 3 days ago. They are slowly putting it out on FTP as 5.3RC1. 5.3-STABLE is working good on my system so far.
Please check before you write.
5.3 stable is NOT released.
The last version released is the 5.3 RC1 and have some bugs.
This is NOT the 5.3-stable, it is just a pre-release.
Regards,
Christos
 
Okay I found this in my mailbox today which confirms some of my findings and a more detailed summary of the effected libraries:

--

The FreeBSD Release Engineering Team is proud to announce the
availability of FreeBSD 5.3-RC1. It is intended for early adopters and
those wishing to help find and/or fix bugs. This will likely be the
only Release Candidate before the final release of 5.3. The schedule
can be found at http://www.freebsd.org/releases/5.3R/schedule.html. Be
sure to check the "Known Issues" below as there are known problems that
are still being worked on at this time.

IMPORTANT:
BIND 9.3.0 has replaced BIND 8.x as the default name server.

IMPORTANT:
Several libraries have had their version numbers bumped in order to
maintain FreeBSD 4.x compatibility. Any programs that rely on these
libraries should be rebuilt. The /etc/libmap.conf facility can be
used to help this migration. In particular, libm.so.2 should be
mapped to libm.so.3 while the migration is in progress. The libraries
that changed are:

libm.so.2 -> libm.so.3
libhistory.so.4 -> libhistory.so.5
libopie.so.2 -> libopie.so.3
libpcap.so.2 -> libpcap.so.3
libreadline.so.4 -> libreadline.so.5


Other fixes and enhancements since BETA7:

- Added support for nForce2, nForce3, and ICH3 sound chips
- Fixed LOR in the socket code
- VM_KMEM_SIZE_MAX and VM_KMEM_SIZE_SCALE are now tunables
- Fixed security hole in syscons related to invalid coordinates
- Interface renaming events are now logged
- PFIL_HOOKS are no longer an option and exist by default
- Fixed problem with threads sometimes ignoring signals
- Many fixes to gvinum
- Fix timecounting on sparc64 SMP
- Many fixes to the 4BSD scheduler and infrastructure
- Fix pflogd to handle the pflog module being unloaded
- Fix rare locking bug in sendfile
- Fix locking in the nge driver
- Increase NKPT so that amd64 and i386+PAE can boot with more than
8GB of RAM
- Many fixes to thread support
- Fix breakpoint handing on i386 and amd64 for kernel GDB
- Many fixes for the THR thread library
- Fix IP multicast locking when the stack is running under Giant
- Fix locking in the sis, bfe, and ndis drivers
- Fix possible crash in linux ptrace
- Remove the FreeBSD keyword from all rc.d scripts
- Disable MTU feedback on IPv6 packets to fix NFS over IPv6 problems
- Many ATA driver fixes
- Many VM fixes for i386 and amd64
- Fix 2.88MB floppy support
- Fix locking in bpf, pfil, and IPv6 routing
- Fix the isp driver to work with i386+PAE
- Fix locking that sometimes resulted in deadlock in the TCP code
- Fix jumbo frame handling for the re driver
- Fix the msdos filesystem code to not panic on corrupt filesystems.
- Fix compiling the NDIS module into the kernel
- Fix permission handling on multicast sockets for non-root users
- Fix locking for i4b driver
- Fix byteorder problem in the dc driver on big-endian machines
- Many gstipe/gmirror/graid fixes
- Correctly set BIOS packet mode in the i386 bootblocks
- Update the em driver to support the PRO/1000 GT card, plus many bug
fixes including the common 'wedge on heavy transmit' problem.
- Fix locking in the dc driver, add ALTQ support
- Fix stability problems with UMA
- Fix a potential panic in ethernet entropy harvesting

Known issues in this release:
- Panic in sodealloc() under heavy load. A fix is being tested now.
- Poor performance of the de and re drivers. Fixes are being tested
now.

Availability:

For people wishing to upgrade older systems using cvsup(1) and the
procedure described in src/UPDATING the CVS tag to use is RELENG_5
at this point. Note that like all RELENG_X branches this is an
active development branch. We do not recommend those branches for
normal use (for normal use RELENG_X_Y branches are more appropriate,
e.g. RELENG_4_10 is the current stable branch).

As of this writing the following are available on ftp.freebsd.org
along with some of the mirror sites:

alpha: will be available shortly
amd64: all images available
i386: all images available
ia64: all images available
pc98: miniinst available
sparc64: all images available

MD5s for the builds that are complete at this time are:

MD5 (5.3-RC1-amd64-bootonly.iso) = a3955df1c4b168b30a1a17c04c3fc5d8
MD5 (5.3-RC1-amd64-disc2.iso) = 2777e3a6451d14c29ee936cfd9bd4b43
MD5 (5.3-RC1-amd64-miniinst.iso) = 3fc1dbf1319f94b24aa3aabcd980a097
MD5 (5.3-RC1-amd64-disc1.iso) = 393ee3ef7a3dde13a2dd88ffef792e42

MD5 (5.3-RC1-i386-bootonly.iso) = 3e493c494e14b97816229f595e5c271d
MD5 (5.3-RC1-i386-disc2.iso) = a6cca3b873382739f449b721b1e9506d
MD5 (5.3-RC1-i386-miniinst.iso) = b1035ec5102624f499dc81dc964a73b1
MD5 (5.3-RC1-i386-disc1.iso) = 27746b48459f76414f1730ede5fafa28

MD5 (5.3-RC1-ia64-bootonly.iso) = 8ef8b734d3953b15585002d01e875ff7
MD5 (5.3-RC1-ia64-disc1.iso) = dcaa386cfbe160518fd6ba7a5921303a
MD5 (5.3-RC1-ia64-disc2.iso) = 444103efe5fcc435e734b626d6865219
MD5 (5.3-RC1-ia64-miniinst.iso) = 69e9203505c01d53cf5ecb9ba77c351f

MD5 (5.3-RC1-pc98-disc2.iso) = 3e5deebd2a373c03474f1781e0ab8837
MD5 (5.3-RC1-pc98-miniinst.iso) = 343d1ae111672eecb9545ffdc8a17795

MD5 (5.3-RC1-sparc64-bootonly.iso) = 3c7b5dbfccf95f48e1aa32b07c8c498c
MD5 (5.3-RC1-sparc64-disc1.iso) = a1ec5b9157bd6dba88de3cadd1f93f98
MD5 (5.3-RC1-sparc64-disc2.iso) = e0d51a59d9d1736c8e77ec98795a1009
MD5 (5.3-RC1-sparc64-miniinst.iso) = b797cbd788c4d29723c6f08c608d81e5
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-announce
To unsubscribe, send any mail to "[email protected]"
 
rhoekman where do I sign up to get the list of these changes for each new release?

I downloaded RC1 and spent ages looking for changes since beta 7 and then you posted this :D
 
Back
Top