Annvix
Personal tools



/Release Notes/3.0

From Annvix

Annvix 3.0-RELEASE Release Notes

WARNING: As always, please ensure to backup important data prior to upgrading, including dumping any databases (mysql, postgresql, openldap). Please read the release notes completely before attempting an upgrade!

Contents

New Versions of Software

Annvix 3.0-RELEASE comes with several versions of new software. All of it can't possibly be listed, but the important ones to watch out for are listed. We highly recommend doing whatever backup you deem necessary in case anything goes wrong with the upgrade or your data isn't compatible with a new version of the software. Backup guidelines will be noted where applicable for particular pieces of software. The afterboot manpage also contains great information on backing up databases, etc.

The following table illustrates the major components of software that has been upgraded. You may wish to read up on the changes in the software from the individual vendor websites.

Annvix 2.1-RELEASE Annvix 3.0-RELEASE
PHP 5.2.0 PHP 5.2.5
Apache 2.2.4 Apache 2.2.6
MySQL 5.0.27 MySQL 5.0.51
PostgreSQL 8.2.4 PostgreSQL 8.2.5
Shorewall 3.2.7 Shorewall 3.4.6
GCC 4.1.1 GCC 4.1.2
Glibc 2.3.6 Glibc 2.6.1
Linux kernel 2.6.16 Linux kernel 2.6.22

Kernel Changes

The default Annvix kernel is now a 2.6 kernel (currently 2.6.22.15). RSBAC support has been completely removed in favor of AppArmor. There are no longer separate up (single processor) and SMP (multi-processor) kernels; the kernel is SMP-aware with support for up to 64GB of RAM.

Upgrading Notes

The upgrade from 2.0-RELEASE to 3.0-RELEASE should be extremely straightforward. The simplest way to perform the upgrade is to use the 2.0-to-3.0-upgrade.sh upgrade script.

Also, you may wish to look at Upgrading Strategies for important information about backing up databases, etc.

The following commands will perform the upgrade:

$ sudo su -
# sh 2.0-to-3.0-upgrade.sh
# reboot
[system reboot, login]
# reboot
[second reboot]

Changes to IP alias configuration files (ifcfg-eth0:0, etc.)

WARNING: Due to changes in the initscript behaviour, if you use ethernet alias (i.e. eth0:0), you must now provide a "DEVICE=" section. For instance, if your primary address on eth0 is 192.168.0.10 and you previously had eth0:0 configured as 192.168.0.11, your /etc/sysconfig/network-scripts/ifcfg-eth0:0 file should now look like:

DEVICE=eth0:0
IPADDR=192.168.0.11

Previously, the DEVICE statement was not required. It is now required or the alias will not come up.

Recommended /etc/fstab Changes

Previous Annvix releases mounted /proc with the 'defaults' option and did not mount /dev/shm. The new installer adds /dev/shm to /etc/fstab and changes the 'defaults' mount option on /proc to 'nosuid'. The upgrade script does not change these mount flags on your behalf in order to give you an opportunity to review the mount flags you currently have in use. However, the following should be done to further harden the system:

none /proc proc nosuid 0 0
none /dev/shm tmpfs nodev,nosuid,noexec,rw 0 0

/dev/shm is used for some temporary files so should be mounted nodev, nosuid, and noexec. /proc should be mounted nosuid.

Resources

The following links contain more information and are worth reading before upgrading:





Sponsors: Flights - Car Insurance - Renegade Motorhomes - Loans