Category Archives: new features

PC-BSD Repo Switches to Github

Last week, Kris announced on the developers mailing list that the PC-BSD source repo has switched from subversion to github.

For those of you who like to compile new features in order to test them before they are incorporated into a release or a rolling release, the instructions for getting source have been updated. Any references to svn in the wiki version of the Handbook will also be switched to the git equivalent. If you have installed subversion before from System Manager -> System Packages -> Development -> Development VCS, you already have git as it is included in that meta-package.

 

PC-BSD Announces Package Repository for PC-BSD and FreeBSD 9.1

The PC-BSD Project is pleased to announce the details on how to access their new PKGNG repository, for PC-BSD and FreeBSD 9.1-Release systems.

This package repository is frequently updated, usually bi-weekly, with the latest and greatest from the FreeBSD ports tree. We will be using this repository for the PC-BSD rolling release edition, but it can also be used anywhere else you need packages on a PC-BSD or FreeBSD 9.1-RELEASE system. This can include FreeBSD, TrueOS, PC-BSD, Jails and more. Getting setup to use this new repository is easy, and only requires minimal configuration. For detailed instructions, take a look at the step-by-step directions on the PC-BSD wiki.

First Rolling Release Upgrade Available

Kris has announced the availability of the first rolling release upgrade on the testing mailing list. Check that list’s archives before applying the upgrade to be aware of any found bugs. If you find a bug, post the details to the list.

Anybody who want to help us out testing a system update from the original 9.1 -> 9.1-RollingRelease can now do so!

To start the process on your system edit the file:

/usr/local/share/pcbsd/pc-updatemanager/conf/sysupdate.conf

Change the line:

PATCHSET: pcbsd

to

PATCHSET: pcbsdtest

After this is done you can just run the update manager gui, or pc-updatemanager command to apply the update as normal.

Please let us know any feedback you have with the patch, so we can bugfix and improve it.

Known Issues:

Once the desktop is re-installed, there is a bug in the online update tray notifier which isn’t showing if new packages are available. I’m currently investigating.

First Rolling Release ISOs Available

Kris has announced the availabiity of the first rolling release:

As a few of you have already noticed, we have some new ISOs now up on the mirrors.

These are the first images built of PC-BSD Rolling Release, based upon FreeBSD 9.1-RELEASE, which use PKGNG as the backend for keeping your desktop and base-system packages up to date. You are welcome to download and give them a spin if you want to help us beta-test them.

They include updated packages from about 2 weeks ago, which includes KDE 4.9.5 among others. Our build server is still finishing up building the entire package repository and I hope to have all ~20,000 pkgng packages online in another week or so, with weekly updates after that. The weekly updates will include all the latest PC-BSD / TrueOS utilities, so you can expect to see much more frequent bug fixes & enhancements.

For users running on the original PC-BSD / TrueOS 9.1 release, I also have an online system update in the works. This update will convert your existing install to PKGNG and allow you to start tracking the rolling release, the same as if you installed a fresh copy from our new ISOs. Once I’ve finished a bit more testing & bugfixing with it, I will post back with details on how to try it out. I’m hopeful it will be sometime next week.

Lastly, I also wanted to let you know that with this change, it will be possible convert an existing “FreeBSD” 9.1-Release into a PC-BSD or TrueOS system. I’ve started writing instructions on this PC-BSD wiki page with details.

Last but not least, we have some new hardware coming in soon which I will quickly get working on building a PC-BSD -STABLE release, and then -CURRENT. More details as they arrive :)

Happy testing, and please post your feedback to the testing mailing list so we can get to work quashing bugs.

Status Update and Future Plans

2013 will be an exciting year for PC-BSD, Kris gives a sneak peek into his plans:

If you’ve been following the trac commit list with any regularity, you’ve seen a lot of commits go by in the past months, all having to do with pkgng, and a lot of internal churn to how we do our updates and such. I’ve written an article for the upcoming BSD Magazine detailing some of the reasons for this, and the “new direction” we are taking with regard to PC-BSD releases, but I also want to post here to give everybody a heads up.

First of all, I want to let you know, that I’ve personally not been satisfied with the frequency of PC-BSD releases and updates. With us tracking the upstream FreeBSD releases, it has really tied our hands getting new releases out to the public. The past couple of releases had a delay of almost a year between them, which is WAY too long in my opinion. To further compound the problem, our build system wasn’t designed to do frequent updates of packages and our utilities, which made getting updates out to the community a long and tedious process. This is all going to change. What we are looking at going to now is more of a “Rolling-Release” model, first for our utilities & system packages, and eventually for the FreeBSD base itself.

So what benefits will this change bring? Well, for starters, we will now be able to quickly get new features and bugfixes in our core utilities out to PC-BSD & TrueOS users. Instead of having to wait for the next point release, or some specific targeted bugfix, we can get you running new features in a timely manner. In addition to the PC-BSD utilities, we will also be able to keep your system packages (I.E. any FreeBSD binary package) updated and in sync with the ports tree. This means when the next KDE release hits, or NVIDIA driver, apache, etc, we can now make it available to you within a matter of a few days.

To facilitate all this new rolling-release-goodness, I’ve been neck-deep in converting our build framework into heavily using pkgng. Even all of our PC-BSD utilities and system-modifications will now be distributed as a pkgng package. What this means is not only do you get access to quick updates, but it’ll be possible for the first time to take a vanilla FreeBSD system, switch to our pkgng repo, and turn your system into a PC-BSD or TrueOS box. And this will not be some partial repository, the plan is to offer a *complete* binary package repository, so if you now want to install package X,Y, or Z you can do so without ever having to touch the ports tree or compile by hand. PBI’s will not be affected, so you can run either depending upon personal preference. Plus this keeps us independent from whats happening upstream with FreeBSD packages.

As for the base system, I am also looking to set us up running our own “freebsd-update” server. This will allow us to create and run two additional “branches” of PC-BSD, based upon FreeBSD -STABLE and -CURRENT. This is a bit farther out, but I’m already moving bits and pieces around to make this happen. This means when you go to the PC-BSD website, you will now be able to download from three sets of images, -RELEASE, -STABLE, -CURRENT, and these ISO’s will be frequently updated with new installer features and packages.

So what if you want to run the same set of packages for a long period of time? Well, the good news is that we aren’t going to force this on you. So if you want to grab an ISO, and run a particular desktop environment version forever, then you can do so. The PBI system will still operate independently, so you can keep running those releases without touching your base system packages.

With all this said, what’s the timeframe? I’m hoping to get the first testing ISO out in the next several weeks, so we can begin beating up the new updating system. I’ll also make available an online update for existing 9.1 users to switch to pkgng and jump on the new repository.

Thanks for reading, and looking forward to an exciting 2013 for PC-BSD!

EasyPBI Version 2 Available for Testing

Ken Moore has announced the availability of EasyPBI2:

I am pleased to announce that EasyPBI version 2.0 is now  available!

This has been a complete re-write of the original program code. It has a
more streamlined process for working with PBI modules, as well as a
brand new interface and many new features/abilities. See the bottom of
this post for simple instructions on how to get the new version of
EasyPBI, and also how to upgrade your pbi-manager tools (to utilize some
of the new abilities of EasyPBI).

New Features

  • Packaging a local directory into a PBI (not using FreeBSD ports)
  • New Logo (Thanks to Jennifer Rosenburg!)
  • Build 32-bit PBI’s on 64-bit systems (Additional build option)
  • Complete support for editing installation/wrapper scripts (as well as a basic template for creating new binary wrapper scripts)
  • Complete support for XDG desktop/menu entries with easy MIME type integration (full creation/editing of entries with a number of new options available for entries)
  • Switch to using the OptionsNG format for setting port build options by default (as well as using a multiple-line format for build options)

UI Improvements

  • New “Settings” dialog for setting/changing default directory paths, PBI build settings, and any external utilities.
  • New “Ports” dialog for downloading/updating the FreeBSD ports tree.
  • Displays the last time the ports tree was updated, and simplifies the process of using portsnap (or svn if previously setup that way) to update the system ports tree.
  • New “About” dialog for quickly viewing information about EasyPBI (like license information and development history)

Important Warnings

  • Make sure you are using the latest version of the pbi-manager tools before using the new “local sources” PBI build options (the default PC-BSD 9.1 tools do not have the proper version).
  • One of the install scripts (pre-pbicreate.sh) will also not be used unless you have the latest version of the pbi-manager tools.
  • Saved settings from earlier versions are not converted into the new format, you will need to reset all of your settings manually from the new “EasyPBI  Settings” menu option.
  • Desktop/Menu entries and external-links are no longer automatically generated on module creation. These can now be easily added from the module editor afterwards.
  • Since it has been added to SVN so recently, most of the translations have not been done yet. Translation is an ongoing process for the  PC-BSD sources and the current status can be checked on http://pootle.pcbsd.org

Updating Instructions

To get EasyPBI 2.0, you will need to have the Development-Qt system
package installed, as well as either the Subversion PBI or the Development-VCS system package. To build and install EasyPBI2, run the following commands as the superuser:

svn co svn://svn.pcbsd.org/pcbsd/current/src-qt4/EasyPBI EasyPBI-source

cd EasyPBI-source

qmake-qt4 *.pro

make install clean

Then, to update your version of the pbi-manager tools, run these commands:

svn co svn://svn.pcbsd.org/pcbsd/current/src-sh/pbi-manager

pbi-manager-source

cd pbi-manager-source

make install

Automating the Deployment of FreeBSD and PC-BSD Systems

Kris has an article entitled “ Automating the Deployment of FreeBSD and PC-BSD Systems” on pages 10-13 of the November issue of BSD Magazine. A PDF of this magazine is available for free download.

The article demonstrates how to use the pc-sysinstall backend to automate the deployment of FreeBSD servers and PC-BSD desktops using a PXE boot environment.

PC-BSD and ownCloud

Kris has an article on pages 14-17 of the September issue of BSDMag on how to setup a private cloud using ownCloud and Warden. The magazine is available for free download.

If you are already testing the upcoming 9.1, instructions for using ownCloud on Warden or TrueOS have been added to this section of the Handbook.

This issue of BSDMag also has an article on What’s New in PC-BSD 9.1, on pages 10-13.

9.1 Feature: Sound Configuration and Hardware Compatibility GUIs

While PC-BSD is pretty good at detecting the sound card and the default audio device, occasionally a user needs to use sysctl to change the default audio device.

Beginning with 9.1, two GUIs have been added to Control Panel to assist in configuring sound from any logged in desktop. The first is a Hardware Compatibility GUI which provides a quick indication if that system’s video card, sound card, and wireless device are compatible with PC-BSD. This GUI is also displayed as the installer starts, meaning that you can tell ahead of time if these devices will be supported. An example can be seen here.

The Sound Configuration icon can be used to view the detected audio inputs and to change the default. Instructions for using it are here.

If you would like to try these before BETA1, use the instructions in New Features for the Impatient. You will also need to download:

9.1 Feature: Linux Jails

PC-BSD’s jail management GUI, Warden®, has been completely redesigned for 9.1. It now supports the management of three types of jails:

Traditional Jail: FreeBSD jail used to install and run network services such as a web server or a database which is accessible to other systems on a network or over the Internet.

Ports Jail: allows you to safely install software using FreeBSD packages or ports (without touching the packages that came with the OS) while providing access to that software from your PC-BSD system.

Linux Jail: allows you to install a Linux operating system within a jail.

Yup, that’s right, you can install Linux (at this time, Debian Squeeze) into a FreeBSD jail. And, since a jail uses the filesystem of the host, if the PC-BSD system is formatted with ZFS, a Linux jail can take advantage of ZFS features such as snapshots. Details can be found in the Warden® section of the upcoming 9.1 Users Guide.

If you’d like to try out this feature before BETA1 is available, use the instructions in New Features for the Impatient. If /usr/local/share/warden/linux-installs/debian-6-squeeze does not exist on your system, you can download it from here (download link at bottom of page). You will also need to install the debootstrap utility using pkg_add -r debootstrap.

9.1 Feature: Multiple Boot Environments

If you’re using ZFS (or looking for a reason to do so), one of the new features in 9.1 is support for multiple boot environments. Imagine the following scenarios:

  • you upgrade your operating system, hate it, and wish you could go back to the old version
  • you upgrade some software which breaks something else
  • you want to perform some tests without permanently affecting the files on your current operating system

Multiple boot environments make those scenarios do-able in two easy to use commands. Before making changes to your system, simply use the beadm create command to create a copy of the current filesystem. Do your stuff. To go back to what the system used to look like, use the beadm activate command to instruct the system to boot into the copy of the previous boot environment and reboot. It really is as easy as that!

Documentation for multiple boot environments can be found in this page of the upcoming 9.1 PC-BSD Users Handbook. This feature became available with the 9-STABLE 20120622 snapshot and will also be in the upcoming BETA1.

9-STABLE 20120622 Now Available for Testing

Kris has announced the availability of the next testing snapshot:

The next 20120622 snapshot in the PC-BSD 9-STABLE branch has just been released for i386 and amd64 architectures.

This snapshot provides both users and developers a means to test out new features in the upcoming PC-BSD 9.1 release. This snapshot may contain buggy code and features, so users are encouraged to run it only on non-critical systems.

Changes since the previous Snapshot:

  • FreeBSD 9-STABLE from 06-15-2012.
  • KDE 4.8.3.
  • Fixed a bug creating a /root ZFS dataset on the Server install.
  • Fixed a crash in install GUI if using custom pkg set, and going back steps.
  • Exclude /etc/pam.d and /usr/local/etc/pam.d from being overwritten during upgrades.
  • Fixed an upgrade bug, causing some files to not get overwritten properly.
  • Change detection for wifi when showing tray application.
  • Set default volume to 100:100 on first boot.
  • Fix displaying static IP addresses in GUI.
  • Improve network restart functionality, should now properly add default route, and fix issue with losing connectivity after restarting with a static IP.
  • Visually improve the AppCafe homescreen layout.
  • Add default configurations for i3 / windowlab WM’s.
  • Add new service manager GUI to warden, allows enabling, and starting / stopping services inside a jail.
  • Add ability to cleanup thinclient installation.
  • Improve the install image to not use MFS root, instead operates 100% identical to early stages of FreeBSD installer.
  • Shrink memory requirements of installation, can now install with UFS on systems with ~256MB of RAM.
  • Add initial support to Warden CLI for creating Linux jails

Highlights for the upcoming 9.1:

  • New system installer! Greatly simplified for desktop and server installs.
  • New “PC-BSD Server” installation option. Includes command-line utilities like pbi-manager, warden, metapkgmanager and more.
  • Support for ZFS mirror / raidz(1,2,3) during installation.
  • Support for SWAP on ZFS, allowing entire disk ZFS installation.
  • Support for setting additional ZFS data-set options, such as compression, noexec, etc.
  • Warden jail management integrated into system. Allows creating jails via GUI, adding packages and other administration.
  • First boot setup wizard allows OEM installs to be easily performed.
  • New Bluetooth paring tray / GUI utilities.
  • New AppCafe improvements and preferences.
  • Improvements to wifi utility.
  • Fixed bug causing untranslated strings to show up empty.
  • Numerous bug-fixes to PC-BSD related utilities.
  • Support for creating PXE boot server for remote desktop and installation.
  • ZFS beadm support
  • And much more!

Errata:

Users running previous snapshots may update now via the online updater. You will first need to apply the “Update Manager” 20120622 update, then the snapshot update will appear.

If you wish to update from 9.0 to this snapshot you may do so by editing the /usr/local/share/pcbsd/pc-updatemanager/conf/sysupdate.conf file and changing the PATCHSET: variable to “pcbsdtest”.

After changing this variable, you may run the updater utility, to download a new update manager. Once this update manager is installed, the online update to the snapshot will appear.

Note: The AMD64 snapshot appears as 20120621 on the mirrors, but it is the same as the 20120622 i386 version.

Download

The DVD & USB images are available via the PC-BSD mirrors. You may select the mirror and files from this URL.

Contest: Name the PC-BSD Server Edition

One of the cool new features coming in PC-BSD 9.1 is the ability to install a FreeBSD server (including ZFS, multiple boot environments using ZFS snapshots, and encryption) that includes the command line versions of all of the PC-BSD utilities. You can try a preview version in the latest snapshot or read up on its features in the draft of this section of the 9.1 Guide.

While we could simply call it the “PC-BSD Server Edition�, we’re pretty sure someone can come up with a more creative name than that. For that reason, we’re launching a naming contest. Can you think of a descriptive yet cool sounding name? If so, see the contest details here. The contest opens tomorrow at 11:00 PST and closes at 23:59 PST on June 26th.

2 PC-BSD Articles in May Issue of BSDMag

The May issue of BSDMag (available for free download here) has two articles about PC-BSD.

Kris Moore has an article “A Fresh Look for the Warden for PC-BSD 9.1″ on pp. 6–9. Warden is a GUI tool for managing FreeBSD jails and has been rewritten for 9.1. New features include the ability to add multiple jails, the ability to create FreeBSD jails or ports jails (which use nullfs to allow you to safely install and run apps on your PC-BSD system), and the ability to export and import jails.

Jesse Smith has an article “Introducing EasyPBI–Making PBI Modules With a Few Mouse Clicks� on pp. 18–19. EasyPBI allows one to convert an existing FreeBSD port into a PC-BSD PBI with an easy-to-use GUI.

9-STABLE-20120418 Testing Snapshot Available

Kris has just announced the availability of the first testing snapshot for the upcoming 9.1 release. This snapshot can be downloaded from here.

NOTE: This snapshot is only available for 64-bit systems. Also, if you need the new GEM/KMS support provided in the previous snapshot, do not install this new snapshot on your main system as that support has been removed, pending its commital to FreeBSD. If you need that support and would like to test the new snapshot, test it in a virtual environment.

The wiki is gradually being updated with the new installer and Warden information and those sections will change over the next few days to match the capabilities of this snapshot.

From the announcement:

The PC-BSD team is pleased to make available the first public 9-STABLE snapshot for 64bit systems!

This snapshot provides both users and developers a means to test out new features in the upcoming PC-BSD 9.1 release. This snapshot may contain buggy code and features, so users are encouraged to run it only on non-critical systems.

Highlights

  • FreeBSD 9-STABLE from 4-11-2012
  • New system installer! Greatly simplified for desktop and server installs.
  • New “PC-BSD Serverâ€? installation option. Includes command-line utilities like pbi-manager, warden, metapkgmanager and more.
  • Support for ZFS mirror / raidz(1,2,3) during installation.
  • Support for SWAP on ZFS, allowing entire disk ZFS installation.
  • Support for setting additional ZFS data-set options, such as compression, noexec, etc.
  • Warden jail management integrated into system. Allows creating jails via GUI, adding packages and other administration.
  • First boot setup wizard allows OEM installs to be easily performed.
  • New Bluetooth paring tray / GUI utilities.
  • New AppCafe improvements and preferences.
  • Improvements to wifi utility.
  • Fixed bug causing untranslated strings to show up empty.
  • Numerous bug-fixes to PC-BSD related utilities.

Errata

  • There is a bug installing to boot-camp partitions which will be fixed in next snapshot.
  • The warden rc.d script is not enabled by default. Add ‘warden_enable=“YES“‘ to /etc/rc.conf to enable.
  • The i386 image was not built for this snapshot, however it will available in the upcoming weeks.
  • The installer will not correctly start on systems with < 512MB of ram, which will be fixed in upcoming snapshots.
  • This snapshot does NOT contain the upcoming Intel GEM/KMS video driver support. This will be available in a future snapshot.

PC-BSD Teams With DuckDuckGo to Provide Enhanced, Secure Web Searches

From the press release:

DuckDuckGo is a general-purpose search engine that offers real privacy, less spam/clutter and instant answers. Well-known and widely acclaimed for its privacy policy, DuckDuckGo does not store or track user information, ensuring a truly private search experience.

The most recent edition of PC-BSD updates the suggestion list of the search bar with DuckDuckGo to provide users with a discreet, clutter-free search option. Additionally, DuckDuckGo offers many benefits including the ability to use shortcuts to directly search many websites and instant answers that provide topic summaries from a variety of web sources.

PC-BSD users concerned with security can be confident in the knowledge that requests submitted through DuckDuckGo will remain confidential. “We are pleased to make DuckDuckGo available to PC-BSD users, providing a reliable, yet completely anonymous search experience,� says Kris Moore, Director of PC-BSD Software Development at iXsystems.

“We are delighted to partner with PC-BSD,� says Gabriel Weinberg, DuckDuckGo’s founder and CEO. “DuckDuckGo and PC-BSD have a shared philosophy on the value of open source and choice.�

Initial 9.1 Installer Documentation

For those of you trying out the 9.0-STABLE-20120225 testing snapshot, or who are curious about the revamped installer for 9.1, Chapters 3, 4, and 5 of the PC-BSD Handbook have been updated with the new screenshots and functionality. Some sections are still being tested or aren’t yet fully implemented and will contain a comment to that effect in ALL CAPS.

I particularly like the new FreeBSD setup wizard; that and the ability to configure ZFS and encryption during installation makes it my new FreeBSD installer of choice.

Some of the new installer features will be refined between now and 9.1-RELEASE and the documentation will be updated accordingly. We will be releasing regular testing snapshots between now and 9.1 to give testers ample time to test new features as they are implemented. It is expected that the next testing snapshot will contain bug fixes from the last snapshot, the new gdm GUI configuration tool, and the changes to Warden that Kris is currently coding.

If you have any feedback or suggestions for the new installer, please send them to the PC-BSD testing mailing list.

Call for Testers: GEM/KMS Snapshot

A testing snapshot that integrates the new DRM/GEM/KMS work is now available to testers.

DANGER: this snapshot should be considered alpha quality and for testing purposes only!

This snapshot is meant to provide testers the opportunity to provide feedback regarding Intel, ATI and NVIDIA video cards which currently are not fully supported using the existing FreeBSD Xorg drivers. Please report any issues you find to the FreeBSD X11 mailing list so that the FreeBSDD Xorg porting team can address them.

As an added bonus, this snapshot contains the shiny new 9.1 installer. Feedback on the installer should be sent to the PC-BSD testing mailing list. Currently, the new installer is totally undocumented, but that should change over the next few weeks.