Update your FreeBSD software with care

Chad Perrin explains step-by-step on TechRepublic how to keep a FreeBSD system up-to-date:

Certain operating systems make this easier than others, as do certain applications. FreeBSD in particular offers specific explanations of gotchas and difficulties that might affect users when software is updated, and also makes it easy to audit installed software for vulnerabilities. In cases where a test network and the resources of research in depth are unreasonable expectations, the key to ensuring upgrades go smoothly without breaking things is to have a step by step process for updating that makes minimal research easy to perform and directions for solving updating problems before they affect your system easy to find and follow. Thanks to the UPDATING notes provided by the FreeBSD Ports system, such a process is easy to develop.

The way I handle software updates on FreeBSD starts when I install FreeBSD. Once the OS is installed, I also install the /usr/ports/ports-mgmt/portupgrade port. This is a set of scripts that automate and simplify the user interface to the Ports system. You can read more about it and how to get it set up in the FreeBSD Handbook. Next, I use the portinstall command provided with portupgrade to install the portaudit tool. You can find information about it, too, in the FreeBSD Handbook.

Then, every time I need to update software, I follow a procedure that looks something like this:

Continues

AsiaBSDCon 2010

The FreeBSD Foundation is pleased to once again be a sponsor of AsiaBSDCon 2010. This conference will be held in Tokyo, March 11-14, 2010

The conference is for anyone developing, deploying and using systems based on FreeBSD, NetBSD, OpenBSD, DragonFlyBSD, Darwin and MacOS X. AsiaBSDCon is a technical conference and aims to collect the best technical papers and presentations available to ensure that the latest developments in our open source community are shared with the widest possible audience.

FreeBSD 8.0-RC3 released

The FreeBSD Project has released the third of the Release Candidates for the FreeBSD-8.0 release cycle.

The third and hopefully last of the Release Candidates for the FreeBSD 8.0 release cycle is now available. Unless something catastrophic comes up within the next couple of days we will begin the final builds for 8.0-RELEASE.

Images for amd64/i386 are available from ftp.freebsd.org. Upgrade instructions can be found here.

FreeBSD FIFO resource leak

Researches Chitti Nimmagadda and Dorr H. Clark of Santa Clara University seem to have discovered and reported a bug in usr/src/sys/fs/fifofs/fifo_vnops.c of FreeBSD 8.0-STABLE release as reported on the FreeBSD bugs mailinglist.

We believe we have identified a significant resource leak present in 6.x, 7.x, and 8.x. We believe this is a regression versus FreeBSD 4.x which appears to do the Right Thing ™.

We have a test program (see below) which will run the system out of sockets by repeated exercise of the failing code path in the kernel.

Our proposed fix is applied to the file usr/src/sys/fs/fifofs/fifo_vnops.c

If interested in (FreeBSD) code, have a look here for more info.

LIOKS’ FreeBSD tutorials & tips for beginners

Liok has put 3 tutorials together for FreeBSD novices:

I often hear from people who don’t use FreeBSD that it’s an operating system only dedicated to server/production purposes.
In a way, yes, FreeBSD is not as user-friendly than popular Linux distributions and it’s sometimes hard to get what you want working the way you want but I don’t think that people who use FreeBSD would be satisfied with an apt-get everything_you_need-any-version ;)
Computers are now expected to browse the web correctly, allowing you to watch youtube video, play flash games and be flooded by plugin-based ads..
Of course, FreeBSD can!