I’ve been spending a lot of time massaging a branch of patches and other assorted bits and pieces for QEMU user mode on github
This led me down the path of being a good git user and contributor, so I’ll leave these notes for myself and others in the event you come into a situation where you need FreeBSD to play nice with people who are very git(1) centric.
After an update by [email protected] to the devel/git port, you can now install git(1) and have it work out of the box. The most frustrating thing, after using git for like 5 minutes, is to figure out how to extract a patch out of it and send it all pretty-like to the mailing list(s) that would be consuming the patch.
In its simplest incarnation, you can simply reference a commit hash and us it to generate a patch via git format-patch, but this will give you the entire commit diff between the referenced version and HEAD. This, in my case generated approximately 3000 patch files.
e.g. git format-patch –output-directory ~/patches –to=”[email protected]” c60a1f1b2823a4937535ecb97ddf21d06cfd3d3b
What I want, is a diff of one revision, which requires a start and ending hash:
format-patch –output-directory ~/patches –to=”[email protected]” c60a1f1b2823a4937535ecb97ddf21d06cfd3d3b…c6ad44bb288c1fe85d4695b6a48d89823823552b
Now I send this to the mailing lists via my client. Here is where I kind of head-desked a bit. If you are like me and run a mail server yourself and you use SSL with self-signed certs, then this little bit if for you. I lost about an hour trying to figure this little bit out.
The way to dump patches from your patch director (~/patches) is to use:
git send-email patches/*
This will use the following variables in your git environment:
Notice the empty “sendemail.smtpcertpath” variable. Without that set to EMPTY, git would repeatedly fail on the self-signed cert that I use. So, I’m pretty sure something still isn’t setup correctly. However, it must be set to EMPTY and not undefined. Else, you will repeatedly fail with certificate validation errors.
File Info: 17Min, 8MB.
Ogg Link: http://cis01.uma.edu/~wbackman/bsdtalk/bsdtalk242.ogg
It is my pleasure to introduce Steve Wills, the newest member of the portmgr team. Steve has done a tremendous work on the ports tree, especially in the field of testing and quality. Here is a short interview to get to know him better.
Inspiration for your IRC nick
Boring, it’s my userid.
TLD of origin
Current TLD (if different from above)
When did you join portmgr@
Used to have one, use twitter more now (@swills)
Inspiration for using FreeBSD
Simplicty and learning.
Who was your first contact in FreeBSD
Can’t recall, it was ages ago.
Who was your mentor(s)
What was your most embarrassing moment in FreeBSD
Trying to migrate Ruby default version from 1.8 to 1.9 and having to roll back.
Boxers / Briefs / other
Heh, question assume survey taker is male, which I am, but I think we need to
work on diversity (but not in that “hey, let’s work on diversity and get some
women” way, but more in that we make something everyone wants to use)
What is your role in your circle of friends
The FreeBSD user.
vi(m) / emacs / other
What keeps you motivated in FreeBSD
New users, new committers.
I listen to a decent variety of stuff, but I suppose the thing I come back to
most is NIN.
What book do you have on your bedside table
I have an iPad by my bed, which I bought to read, but mostly I browse news on
coffee / tea / other
Don’t drink caffeine, so don’t drink coffee much. I do drink good beer tho.
Do you have a guilty pleasure
Good dark chocolate.
How would you describe yourself
Mostly standard in many ways, husband, father, FreeBSD hacker, sysadmin, in
sendmail / postfix / other
Sendmail, tho dma is nice too.
Do you have a hobby outside of FreeBSD
Used to play guitar, still have one, don’t find time to pick it up much any
What is your favourite TV show
Claim to Fame
Ported Acidwarp from DOS to svgalib.
What did you have for breakfast today
Everything bagel with plain cream chese.
What sports team do you support
The only sport I watch is University of North Carolina Basketball.
What else do you do in the world of FreeBSD
ruby ports, perl ports sometimes
What can you tell us about yourself that most people don’t know
I was an employee at Red Hat way way back
Any parting words you want to share
What is your .sig at the moment
The first BETA build of the 9.3-RELEASE release cycle is now available on the FTP servers for the amd64, i386, ia64, powerpc, powerpc64 and sparc64 architectures.
The image checksums can be found in the PGP-signed announcement email.
ISO images and, for architectures that support it, the memory stick images are available here:
(or any of the FreeBSD mirror sites).
If you notice problems you can report them through the normal GNATS PR system or on the -stable mailing list.
Please note, as the FreeBSD bug tracking system is undergoing maintenance, the PR system may be unavailable. Problem reports submitted this maintenance period are being queued for later processing.
If you would like to use SVN to do a source based update of an existing system, use the "stable/9" branch.
BSDCan 2014 was an amazing experience as always but one theme characterized this year more than any other: Coordination.
Never in my dozen years in the community have I seen such an active dialog between the BSD projects with attention being given to what each project is up to. From praise to constructive criticism, developers from all of the projects engaged each other in sessions and in the priceless hallway track. Beginning with a project that is close to my heart, Peter Grehan announced at the FreeBSD DevSummit that the bhyve hypervisor would soon support NetBSD, rounding out its support for OpenBSD, NetBSD and Linux virtual machines. I can think of no better way for developers to see first hand how each operating system works and to cross-validate code. Kudos to Peter, Neel Natu, John Baldwin and everyone else who has helped bhyve become such a useful feature in FreeBSD.
Continuing in the spirit of coordination, Abhishek Gupta of Microsoft's Hyper-V group was on hand to discuss with developers how to guarantee that FreeBSD is a first-class Hyper-V guest OS. From the sound of it, Microsoft appears to have more developers focusing on FreeBSD than Intel! Together, bhyve and Hyper-V represent compelling OS-native hypervisors and rest assured, Windows virtual machine support in bhyve is under active development.
Matt Ahrens of the OpenZFS project gave his annual update on what new ZFS features are making their way into FreeBSD in order to keep FreeBSD a first-class ZFS platform. Of these features, ZFS "bookmarks" will enable ZFS replication without relying on snapshots as a unit of history. Just how quickly the OpenZFS project transitioned from post-Sun Microsystems confusion to solid, OS-agnostic contributions is remarkable. We all owe Matt our gratitude for his active participation in the BSD community at events like BSDCan and AsiaBSDCon.
Other DevSummit highlights included a clarification of FreeBSD's "long term support" policy with the comforting recognition that the project had in fact been more or less adhering to the proposed 5-year policy. A formal affirmation of such a policy is a valuable marketing tool for everyone from vendors to end users. The idea was also raised about separating the FreeBSD base into packages to allow for modular updating and deployment. Done right, this could be of great value to embedded FreeBSD efforts.
Two notable highlights of the FreeBSD Doc Sprints were the participation of Ingo Schwarze of the mandoc project who committed FreeBSD's Igor documentation proofing tool to OpenBSD ports, and Allan Jude's formal entrance into the FreeBSD project with a documentation commit bit. Allan and Kris Moore have done a great job raising awareness of FreeBSD and other BSD projects with the BSDNow podcast and are demonstrating just how seamless community and code participation can be.
Though many of us were already exhausted from all-day discussions and late-night coding, it was finally time for the conference proper to begin. This saw an infusion of yet more wonderful people and continued engagement and coding. Security was a key topic this with the FreeBSD Address-space layout randomization (ASLR), Capsicum and LibreSSL talks standing out as must-see. Each talk was highly cross-pollinated by developers from different BSD projects with almost a sense of obligation to the Internet community as a whole, given BSD's key role in the development of the Internet.
The Embedded track comprised of ARM, MIPS64 and NAND flash storage talks and was also very timely given the changing nature of computing. Warner Losh went into great detail about how NAND flash storage works and how broad a range of reliability is available from the various flash technologies. This track even extended to a lunch time MIPS router hacking BOF lead by Sean Bruno. It is great that we have real Unix on really-affordable hardware.
The closing auction was fun as always and the clouds broke on Sunday, allowing quite a few attendees to walk around Ottawa and Parliament before heading home. Some brave systems administrators opted to take the first BSD Certification Group BSD Professional exam and the feedback I heard was very positive. The BSD Professional exam is a hands-on exam designed to compliment the BSD Associate exam that the BSDCG has offered for several years. This is an exciting development and is testament to the continued growth of the BSD community.
I would like to thank Dan and his team for putting on another great BSDCan and the FreeBSD Foundation for helping me attend this year.
Hey PC-BSDers! This week we’ve been gearing up for the next release of PC-BSD version 10.0.2. In preparation for the next release we have been fine tuning some of the new features and making sure the loose ends are tied up. We were also able to close out a good amount of trac tickets this week and commit the fixes for 10.0.2.
In other news / updates this week:
- Fix a bug where the orphan package filter was also filtering out some base apps.
- Randomize the browser home page so that it only show 10 random “recommended” and “highlighted” applications.
- Add a ton more recommended/highlighted applications to the repo file.
- Fix some minor display bugs
- Add menu option to view the recent vulnerability information for ports through freshports.
- Fix the sizing information for installed meta-pkgs (will show the combined sizes of the direct dependencies instead)
- Fix the sizing information for available applications (will now show the combined size of all the packages that need to be downloaded/installed for that app)
- Add the ability to fetch/read the pkg-plist for a given pkg.
- Add a “bulk” module creation side to EasyPBI which allows for creating PBI modules for an entire FreeBSD category at a time (with all sorts of filters and options)
- Make EasyPBI automatically create up to 5 desktop/menu entries for graphical applications.
- Make the application binaries detected/usable within the module editor for creating new desktop/menu entries.
- Quick fix for filenames that have spaces in them
- Quick fix for making sure that when launching an app it is in the same general system environment. This allows apps like firefox/thunderbird to see other instances of themselves and act appropriately.
- lumina-config - Make sure the menu options actually work
Miscellaneous Fixes / improvements
- Fixed several warden bugs relating to new jail creation / package management
- Imported the latest ports and Gnome3 / Cinnamon for 10.0.2
- Fixed some issues prompting for GELI password from GRUB and then mountroot
- Fixed a critical bug with new CUPS 1.7.0 breaking foomatic-rip and associated print drivers
- Imported the latest PEFS code into 11-CURRENT and backported it to our 10-STABLE branches
- Fixed bugs with system update tray notifier not showing freebsd-update” notifications
- Migrated one of my build systems to 11-CURRENT and got it setup for doing PKG/ISO builds
- Misc other trac tickets fixed / closed in cleanup process
- Many other cosmetic / doc bugs fixes as Dru submitted them
- Started investigating bug with BE/GRUB failing if the first dataset is destroyed
Every year, BSDCan is preceded by a developer summit, where FreeBSD committers and invited guests can get together to discuss proposals, difficulties, and plans. Registration this year was at the intriguingly-named "Goat BOF". There are stories behind this, but I'll just point you to https://twitter.com/GroffTheBSDGoat and https://plus.google.com/109575245711252585947/photos.
For the documentation developer summit group, Benedict Reuschling made the case for helping documentation translators from our outdated manual system to using gettext-based PO files. These systems eliminate much of the manual work translators are forced to do with the current setup, allowing them to concentrate on translating. They also provide "translation memory", remembering phrases and sentences that have already been translated so it is not necessary to retranslate them when they appear in different documents. The room had been fairly quiet up until Benedict began demonstrating this, at which point there was a loud "oooh!" from the back of the room. There is still a bit of work to be done to fit these tools into our translator workflow, but the research is mostly done and the rest is just pounding it into a shape that can be used with our existing documents and setting up the first translation team to use it.
Each night, we had a "doc lounge", where people were welcome to come to learn about or work on documentation. We split up the individual time with a few short presentations. I showed how I used textproc/igor to proofread documentation changes, and it surprised me at how others were using it, and surprised them at how I was using it. This in-person communication with a crowd of differing experience and viewpoints is one of the best features of BSDCan.
BSDCan itself began on Friday with a keynote session from Karl Lehenbauer, CTO of FlightAware. This was one of the best presentations I've yet seen at any BSDCan, and worth the time to watch. As in previous years, the FOSSLC group was there, making high-quality recordings of the presentations. Compared to videos taken with a traditional camera, screens in the FOSSLC videos are easy to see and the speakers can be heard.
There were talks aimed at using FreeBSD on embedded hardware, with Warner Losh speaking about using NAND flash memory (apparently no video available, but an associated video is here) and Sean Bruno describing installation of FreeBSD on wireless routers with MIPS processors.
John-Mark Gurney showed how he had improved geli(8) encryption performance from less than 150MB/second to greater than 900MB/second.
Daichi Goto gave a talk called "Shellscripts and Commands", which was an interesting combination of traditional shell-based tools and fast hardware to process huge datasets.
Saturday morning, Ingo Schwarze from the OpenBSD project talked about "New trends in mandoc", the excellent full-text search abilities developed for this OpenBSD replacement for groff(1). Ingo also attended several of our doc lounge
sessions, and we had some interesting comparisons between the document checking provided by igor and that in mandoc.
Vsevolod Stakhov talked about the new solver in pkg (no video available yet). What I find particularly encouraging about this and other aspects of the new package system is the amount of research into other systems. That is the "good kind of lazy": the problem is difficult, and rather than jumping in and hacking together a solution that partly works, doing the research to find how other groups have done it.
FreeNAS is becoming increasingly popular, and John Hixson talked about how to add custom applications to it (no video yet). Later, Fabio Balzano described a FreeBSD-driven ROV (remotely operated vehicle) using a Beaglebone Black ARM single-board computer.
At another doc lounge session, we covered the complete process to fix an error in the FreeBSD documentation, from installing the tools, to editing, checking, and build-testing the document, through to submitting a patch. It's very good to note that some of the people we worked with have already had patches submitted and accepted since then.
FreeBSD developer Li-Wen Hsu was at several of the doc lounge sessions, and one night asked about integrating igor with the Jenkins continuous improvement framework. I was skeptical about using igor for this, but we talked about some tests that would avoid false positives. The next night, he returned. Not only had he modified igor to produce the required output, he'd already set up a Jenkins test! It showed just how useful this continous automated testing can be, even if the test tool is not perfect. In hindsight, I should have realized that this sort of thing is just an extended use of automation, which is the point behind igor: we have these nice computers, let's use automation to help us accomplish our goals.
Finally, Allan Jude of BSD Now (and many other FreeBSD-related things) had clearly been in line for a commit bit for some time now. Benedict had a plan to keep it a secret and surprise him with the announcement during an interview. The full interview will be seen on a future episode of BSD Now.
This was all just a tiny part of BSDCan 2014. There were numerous other talks that you should watch, like the already-famous one by OpenBSD's Bob Beck on LibreSSL, their fork of OpenSSL: http://www.youtube.co/watch?v=oM6S7FEUfkU, or http://www.youtube.com/watch?v=GnBbhXBDmwU.
All of the FOSSLC videos are here.
All the presentations and informal talks are still just a small part of BSDCan. There is the "hallway track", where it is common to start talking with another person about something that's important to both of you... and then getting so caught up that you miss a presentation or two. There are before- and after-hours talks with others on things that seem to have been overlooked, but it turns out were important to them also. Lots of people you may only know by email address will be there, almost always looking completely unlike imagined. At one point or another, almost everyone is drafted by Dan Langille to help carry boxes or set up power strips. There's lots of caffeine and more than a little sleep deprivation. Conferences like these help provide the motivation that drives projects throughout the rest of the year.
A big thanks goes to the FreeBSD Foundation for sponsoring my trip this year. Thanks also to Dru Lavigne, Benedict Reuschling, Allan Jude, Dan Langille, and everyone who came to the developer summit, doc lounge, and BSDCan. Your time and attention are appreciated. Thank you all for helping to improve FreeBSD!
File Info: 26Min, 12MB.
Ogg Link: http://cis01.uma.edu/~wbackman/bsdtalk/bsdtalk241.ogg
It is with great pleasure that the FreeBSD Ports Management Team announces that Frederic (culot@) Culot will take over responsibilities of team secretary effective immediately.
Frederic became a ports committer in October 2010, and joined the ranks of portmgr-lurkers@ in March 2014 as the shadow secretary.
Please drop him a note and congratulate him (or offer condolences).
on behalf of portmgr@
We’ve been seeing a lot of confusion and questions about the PBI changes that were recently pushed out those of you running the Edge package sets, and Ken Moore was nice enough to break the changes down in this week’s PC-BSD weekly digest.
First, a little history about the PBI system.
It was initially created when the only/primary application distribution method for FreeBSD was the ports system — meaning that any FreeBSD user who wanted frequent updates to their applications needed to manually compile/install any application through the FreeBSD ports tree on a fairly regular schedule. The PBI system was designed as an alternative to provide simple application packages that could easily be downloaded and installed without the need for the user to compile any source code at all. As an added benefit, the PBI system installed these applications into a seperate container on the system — leaving all the “complicated” system configuration and integration to still be run through the FreeBSD ports system. This allowed PC-BSD to have a stable base system for a release (because the base system packages would almost never get touched/updated), while at the same time provide the ability to keep the main end-user applications up to date between releases.
Now fast-forward a bit to the PC-BSD 10 series.
At this time the FreeBSD ports system, while still existing for the “hardcore” users, has mainly been replaced by the pkgng distribution system for general system/application usage. This has provided quite a bit of confusion for PC-BSD users, because they now had two different ways to install applications, and each application on the system would behave differently depending on how that particular application was installed. To make the distibution model simpler for PC-BSD, the PBI files were already being created from pkgng packages (ensuring that there was a lot less compiling done on the build servers), and those packages were simply being collected into “fat files” with a few compatibility scripts and such thrown in for good measure.This meant that there was a lot of duplication between the pkg and PBI systems, resulting in a lot of effort to maintain compatibility between the two systems. The main problem however, was that the special PBI runtime container itself was causing all sorts of system stability issues. Since the release of PC-BSD 10.0 we have actually tried 3 or 4 different types of application runtime containers, each of which was designed to solve a critical flaw in the previous version, but always kept running into large limitations/problems with each new type of container.
At this point we decided to take a step back and refocus on what the PBI system was originally intended to do — provide a “Push Button Installer” to install and run applications while keeping things as simple as possible for the end user. With this definition for the PBI system, it makes perfect sense that the pkgng system should be chosen as our default application installation method for a couple reasons:
1) Integration with the system environment for things like setting up and running default applications works a lot better (mimetype integration/use).
2) Startup/runtime speed. Applications installed to the base system simply startup and run a lot faster than the ones that are installed into the containers.
3) User Confusion. Lots of people simply did not understand that the “contained” application libraries/files were not installed to the normal location on the system, and that an application in a container could not easily see or use the system-installed applications.
The next-generation PBI system.
This re-implementation is designed so that it no longer uses the “PBI Containers” exclusively and instead returns to its original goal — to provide a simple interface for the end user to install/use applications of all types and in all ways. This means that it is now a system that uses the pkgng packages as it’s basis — but provides all sorts of other information/functionality that the pkgng system does not fully support yet (such as mimetype integration, desktop/menu entries, and graphical information like icons for applications). Additionally, it also provides a number of enhancements to how the user can utilize the different pkgng packages, mainly through how the packages get installed.
1) Standard pkgng installation to the base system.
This allows the user a simple interface to install/remove application on the base system while providing a number of additional safety checks to prevent random “foot-shooting”.
2) Jail management.
By running the AppCafe on the base system, you can now manage all the applications/packages in any of the running jails on your system. Combined with the Warden for creating/managing different kinds of jails, the user now has a simple way to manage and run applications that (for security reasons) should never be installed/used from the base system (such as web servers or network-facing services).
3) Application containers with plugins!
By using the “portjail” creation options in the Warden, you now have a method to safely contain a graphical application while also allowing for a system of installing/removing optional packages into that jail for plugin support without touching your base system packages (very similar to our previous container system, but with a few more layers of separation between the jail and the system).
4) Other installation methods.
Because the PBI system is now installation-method agnostic (almost), we can provide support for alternate types of installation methods (such as into specialized containers like our previous PBI versions have had). While we do not have any other installation methods included at the moment, we can add new methods relatively easy in the future if those installation methods do not break system stability.
So what does this mean for a PC-BSD user?
1) Access to thousands more applications and plugins by default through the AppCafe. The “PBI” applications will show up with things like screenshots, available plugins, nice looking icons, user ratings/tips, and more while you also have the ability to install and use the “raw packages” (which will always have the icon of a box/package) even if the nicer recommendations and information is not available for that raw package.
2) Less confusion about application installations. Since applications will always be installed/integrated into the local system by default, this will prevent a lot of confusion in people who are used to the standard FreeBSD/Linux/Unix installation methods and file locations for applications.
3) Greater flexibility for different installation methods to suite your specific needs. System installation, traditional jail installation, portjail installation, additional future types of installations, it give the user freedom to truly run the system as you need, rather than forcing you to use a particular system that might not be what you were looking for.
Hey everyone just a quick update tonight as much of the work has been the same as last week :). I’ve uploaded a couple of pics to show how the new AppCafe integration with pkgng will look. In the first picture below you’ll see a similar looking app information screen with some sweet new features. The biggest thing you might notice right away is the 5 star rating system in the top left corner under “Firefox”. In the new AppCafe clicking the stars will immediately pop-up the app’s wiki page allowing you to rate the program. We are also looking into the ability to add comments as well that will also populate into AppCafe. Also many programs (especially GUI based applications) will have screenshots in AppCafe to allow you to check them out before you download them to your system.
Notice below right this is the main “installed applications” screen. Here you’ll be able to view all of your installed apps and also filter them based on a few presets built into AppCafe. Similar to the package manager, the new AppCafe will pull more information from the package repository about installed packages for you to review.
Important Correction: I realized after talking with Kris and Ken that I was slightly confused over the new role of pkgng and how it will affect PC-BSD going forward. pkgng is replacing the PBI system in future versions of PC-BSD and AppCafe. PBI’s will be immediately & automatically converted over to use pkgng instead once users update to the next big PC-BSD release. If you have any further questions we will be glad to answer them for you, and I aplogize for the information discrepancy!
During our Spring Fundraising Campaign, we are highlighting the projects we are funding to show our commitment to helping FreeBSD. Please take a moment to read about the Newcons project.
What is the Newcons project?
Newcons also provides an improved infrastructure that is not user-facing, but enables simplified support for new hardware.
What work is the Foundation sponsoring?
PC-BSD has long been very flexible about how you can install software. You have PBI’s, packages, and ports available with just a couple clicks or via a couple of simple terminal commands. For a long time the PBI format has served as an excellent solution for people who may need an offline package install, or just simply prefer the ease and simplicity the PBI format has to offer especially via the AppCafe. Perhaps the “Achilles’ Heel” of this situation is that we have also been severely limited on the amount of software that the AppCafe has to offer as packages had to first be converted into the PBI format.
This week we are announcing a radical change that we think will benefit all PC-BSD users in ways that were previously unthinkable. The PC-BSD team has begun work during the last couple of weeks redesigning our PC-BSD utilities (AppCafe, Update Center) to work with our pkgng software repository that we are currently building to contain detailed information about all the software available through packages and PBIs. What this means for you is that in the near future PC-BSD will have a much broader software pool to pull from, and will not be limited anymore by only having a small subset of PBI’s. You will now be able to install packages and PBI’s in one place, while also being able to update and manage both in one place.
You may be asking yourself “why the change?”. Over the last several months we have noticed a considerable amount of our time has been going into compatibility and fixes for PBIs. So much time in fact that other important development had to be postponed and / or sidelined while we worked on bringing PBIs up to speed. We are hoping by adopting appcafe and the PBI format to work in tandem with pkgng, that we will be able to refocus our efforts on other important endeavours.
We will have more information available soon as development continues on how you can get involved with testing out the new features and submitting ideas to help the project along. Let us know what you think about the changes. Are we headed in the right direction? Do you have ideas related to the redesign that you’d like to contribute? Let us know!
Much larger software library. Instead of 800 available appcafe applications think more like 10000+
Detailed information on all the software available including packages in one place
Ability to search and filter your results to show
Improved compatibility across desktop environments
New rating system is being developed for grading the quality of packages in the AppCafe library
File Info: 35Min, 17MB
Ogg Link: http://cis01.uma.edu/~wbackman/bsdtalk/bsdtalk240.ogg