MidnightBSD 0.3-RELEASE

MidnightBSD is a new BSD-derived operating system developed with desktop users in mind. It includes all the software you’d expect for your daily tasks — email, web browsing, word processing, gaming, and much more.

With a small community of dedicated developers, MidnightBSD strives to create an easy-to-use operating system everyone can use, freely. Available for x86, AMD64, SPARC, and as Virtual Machines.

What’s New

0.3 includes exciting new features such as support for ZFS, mDNSResponder for multicast DNS, libdispatch (no blocks support yet), brainfuck(1), AMD CPU temperature monitoring, updates to the linux emulation layer (2.6.16 compatibility) and the OpenBSD sensors framework.

This release includes a large merge from FreeBSD 7.0-RELEASE. Developers voted on the decision to merge many aspects of FreeBSD 7 into MidnightBSD in November 2008. This merge took some time and delayed the 0.3-RELEASE. It is not planned to do anything of this nature again. This release is thus based on FreeBSD 7.0 instead of 6.1.

Several new scripts have been added to make it easier to manage the system. One of these is netwait in rc.d. It allows you to wait for a network interface to come up while booting to ensure network activity is ready for touchy software.

Updated Software

The following software packages were updated for this release:

  • batt(1) rewritten in C
  • BIND 9.6.1-P2
  • bzip2 1.0.6
  • cpudup (DragonFly)
  • diffutils 2.8.7
  • em(4)
  • GCC 4.2.1
  • libarchive (2.5.5) with bsdcpio
  • libreadline 5.2 (GNU)
  • mksh R39c
  • nve(4)
  • OpenNTPD 4.4
  • OpenSSH 5.3p1
  • OpenSSL .98e
  • pnpinfo
  • Sendmail 8.14.4
  • sudo 1.7.2p6
  • sqlite 3.6.23
  • tcpdump 3.9.8
  • tzdata 2010e
  • unzip (BSD)
  • zlib 1.2.5
New software:
  • ale(4)
  • amdtemp(4)
  • audit (OpenBSM)
  • brainfuck (MirBSD)
  • firmware(9) from FreeBSD
  • jemalloc (FreeBSD)
  • libdispatch
  • libffi 3.0.9
  • makefs (NetBSD)
  • mDNSResponder
  • mport tools (optional new package system)
  • netpgp (NetBSD)
  • nfe(4)
  • Sensors framework (OpenBSD) including sensorsd(8)
  • ZFS (v6)
Removed software:
  • Alpha & PC98 utilities from usr/sbin
  • pcc
  • pcvt(4)
  • HPFS support

This is not a complete list.

mport Tools

mport tools are the new package management tools for MidnightBSD. This release uses the old package format with the pkg_tools (pkg_add and friends). However, if you wish to build from mports, you can try out the new package tools instead. It is important that you do not have any existing packages installed when switching.

Add USE_MPORT_TOOLS=”YES” to /etc/make.conf to enable the alternate tools.

mport tools use a sqlite3 database to store meta data about installed packages. This can be loaded with the sqlite command line client to view package information. It’s located at /var/db/mport/master.db. There are also some frontend tools available. A command called mport will allow you to install, delete or list packages. Further, there are several specific commands available in /usr/libexec with mport.* names. Some of these allow you to do SQL queries and other things to the system to extract information conveniently.

Remote package fetching and some issues with upgrades prevented use for this release. If you choose to use this tool, remember there are no packages available and there are a few bugs with it’s regular expressions causing problems with some ports.

Known Issues

The cvsup example files were not updated for the release. You will need to change the release tag before using them to fetch 0.3 source to RELENG_0_3_0_RELEASE. If you wish to track security patches, use RELENG_0_3.

The firstboot script was modified to include xfce 4 as an option. Fetching packages from this script is somewhat unreliable. Further, be sure to add a regular user in sysinstall installation prior to booting up so that you can login. KDM doesn’t like to login as root. Finally, if kdm starts and you can’t type anything press alt + control + f1 to switch back to a console and reboot. hald and dbus should start and allow keyboard input at that point. You may also check /etc/rc.conf for dbus and hald entries.

If you experience problems fetching packages with pkg_add, try disabling the ipfw firewall using:
sudo ipfw disable firewall

mDNSResponder, netwait and powerd are disabled by default. If you wish to use this functionality, entries must be added to rc.conf. See /etc/defaults/rc.conf for examples.

Installing on newer advanced format hard drives or solid state drives requires aligning the offset on the drive to 1MB. If this is not done, performance will suffer. With SSD, it could also wear out your drive sooner if it’s aligned improperly. As MidnightBSD does not support GPT (booting) yet, this will need to be done manually using a live CD or livefs. This has been tested on WD EARS drives.

Supported Hardware

MidnightBSD 0.3-RELEASE will run on 32bit Intel (or compatible) CPUs (i386) from the 686 on up or AMD64/EMT64 with the amd64 release.

It is recommended that one has at least 256MB RAM and 10GB of hard drive space.

Hardware acceleration on AMD/ATI graphics cards is unreliable. It is possible to use them without acceleration but be prepared to edit X.org configuration. Intel and NVIDIA graphics adapters are known to work. DRM/DRI code in the kernel must be updated to work with newer X.org drivers and AMD graphics adapters. This is not a fault of AMD.

WIFI support is spotty and USB based devices will not work. This is a known issue and will be resolved in a future release. Some adapters will work with ndis wrappers provided they’re PCMCIA/PCCARD/PCI.

SPARC64 support does not work with this release. We hope to restore it in a future release. 0.1.1 can be installed from snapshot and updated to 0.2.1 via source on that architecture.

Package Availability

This release focused on overhauling the base operating system. We had to let a few mports go for a time. We still shipped over 2400 packages (more than any previous release), but there are several large omissions.

Gnome 2.30 was not complete at the time of release. It’s about 80% done.

OpenJDK port is possible to build on a system but not from magus. We don’t have a package available for it yet.

browser35 broke on the update to nss so we were unable to ship a recent mozilla based browser, although browser3 is included.

KDE lite 3.5.10 is available as well as older versions of GNUstep, WIndowMaker, XFCE 3 & 4, and many other X environments.

QT4 is available, but KDE4 is not working at this time. We’d like to get this for the next release.

We’re looking for maintainers for Firefox, LibreOffice, and Gnome.

Contributors

I’d like to thank several contributors that made this release possible.

Christian Reinhardt (ctriv@) (major help, mport/magus/src)
Caryn Holt (raven@)
smultron@ (mports, website, hardware donation)
crash@ (mports, testing)
Adam Karim (archite@) (src, suggestions, etc)
Stevan Tiefert (stevan@) mports
Vamsidhar Ganji (vganji@) mports and src (mDNSResponder)

Daniel Seuffert (FOSDEM cds)
Thorsten Glaser (MKSH assistance, etc)
Kirk P Nagel & EMU CS Department (mirror, build cluster) - Eastern Michigan University
BSD Magazine - helping us get the word out

Midnight the Cat for mascot assistance :) 

Comments are closed.