|
Personal tools |
|
|
/Release Notes/2.0
From AnnvixAnnvix 2.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!
New Versions of SoftwareAnnvix 2.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.
We have also included the following new programs:
Kernel ChangesThe default Annvix kernel is now a 2.6 kernel (currently 2.6.16). The 2.4 kernel is no longer being built, but is still available in subversion. The reason we are no longer supporting the 2.4 kernel (as well as a 2.6 kernel) is to save some maintenance effort and the 2.6 kernel affords us the ability to use AppArmor, as well as RSBAC, whereas AppArmor is not available for the 2.4 kernel. To that end, we've chosen to use 2.6.16 as it appears to be a kernel that will be supported (perhaps unofficially) for some time yet, instead of the moving target the other kernel versions are. Installer ChangesThe Annvix installer for 2.0-RELEASE is largely identical to the installer for previous versions with a few important enhancements:
Init System ChangesThe init system in Annvix has radically changed. Previously, it was pure Mandriva with runit tossed in to handle the service stuff but now it has been revamped quite a bit to be more like the Gentoo init system. These changes also make Annvix quite a bit different from Mandriva and other SysVinit-style systems. For one, the chkconfig package is no longer available. The function of chkconfig has been replaced with the rc-update program (which is very similar to the Gentoo program of the same name with changes to suit Annvix). As well, there are no more /etc/rc.d directories; these have been completely removed. runlevels did not exist previously; there was a single runlevel (for all intents and purposes, this was runlevel 3). Now you can have as many runlevels as you want, completely customized. Runlevel information is stored in /etc/runlevels/[runlevel] where [runlevel] is (by default) "default". Annvix also comes with a "single" run level. Each runlevel directory contains symlinks to the initscripts found in /etc/init.d. It also contains the service/ subdirectory which essentially replaces the /service directory. This means that you can customize what services are available in a particular runlevel. For instance, you can have the "single" runlevel start the network initscript, and then start just the mingetty*, socklog*, and sshd services. Initscripts provided for Mandriva and Red Hat, etc. won't work very well with the new system without some slight modification. For all intents and purposes, the initscripts are identical but have a little extra information that rc-update requires. For instance, the relevant parts of /etc/init.d/network would be: order=10 name="network" Not a lot there, but this information tells rc-update in what order to place the initscript (think of the chkconfig line in a "normal" initscript) when executing them. Otherwise, besides being faster and far less bloated, the init system will look and feel relatively the same. Upgrading NotesThe upgrade from 1.2-RELEASE to 2.0-RELEASE should be extremely straightforward. The simplest way to perform the upgrade is to use the 1.2-to-2.0-upgrade upgrade script. BEFORE UPGRADING PLEASE READ Using the tcb shadow alternative AS IT FUNDAMENTALLY ALTERS HOW YOUR SYSTEM WILL MANAGE PASSWORDS!! IF YOU DO NOT DO THIS YOU MAY END UP LOCKED OUT OF YOUR SYSTEM!! Also, you may wish to look at Upgrading Strategies for important imformation about backing up databases, etc. PLEASE NOTE: You absolutely cannot simply point urpmi to the new release directory and expect that an --auto-select will upgrade everything. It will not. You will break your system if you do not use the upgrade script! User changesAnnvix 2.0 adds a new group called ctools which is the group users must be added to in order to use gcc. Since compiling rpms and whatnot as root is a bad idea, you should place another administrative user in the ctools group. The reason that the ability to compile wasn't added to the admin group was that systems could potentially wish to allow certain users access to gcc, but not necessarily grant them access to other administrative programs. Miscellaneous
ARRAY /dev/md0 devices=/dev/sda1,/dev/sdb1 ARRAY /dev/md1 devices=/dev/sda3,/dev/sdb3 ARRAY /dev/md2 devices=/dev/sda5,/dev/sdb5 ARRAY /dev/md3 devices=/dev/sda6,/dev/sdb6 It seems as though using simply: DEVICE /dev/sd[ab][1356] is no longer sufficient. The upgrade script attempts to do this for you; however it would be prudent to make sure it did it correctly before you reboot. Known BugsThe following known bugs exist and will be corrected as quickly as possible:
ResourcesThe following links contain more information and are worth reading before upgrading:
|
![]() |
|||||||||||||
|
| |||||||||||||||