Category: Goings-on

DragonFly and future planning


I put together a list of what I’m thinking could be in the next DragonFly release.  Going by our regular schedule, that’s a bit more than a month off.  Of note: Summer of Code material and defaulting to dports.  Follow the thread for more.

 

Posted by     Categories: DragonFly, Goings-on     5 Comments

OpenZFS announced


ZFS was originally created at Sun and open sourced.  Sun was absorbed by Oracle and stopped being open (or even really existing), so ZFS was taken up by several separate groups – FreeBSD and Illumos being two examples.  OpenZFS has been announced, in part to provide common reference for other platforms that might implement it and probably to avoid capability fragmentation.  It’s certainly a good idea.

(If I have my history wrong, please correct me.)

Posted by     Categories: BSD, Goings-on     0 Comments

Moving dports to gcc 4.7


DragonFly has two included compilers – GCC 4.4, and GCC 4.7.  Traditionally, we switch from one compiler to the other as default, and then replace the old one with a newer release, and so on.

Until recently, dports built almost exclusively using GCC 4.4.  John Marino’s switching to GCC 4.7, for a variety of reasons he lists in a recent post to users@.  An interesting point that he raises: GCC 4.4 won’t necessarily be replaced with a newer GCC, but perhaps clang?

Posted by     Categories: DragonFly, Goings-on     1 Comment

TCP improvements


Sepherosa Ziehau has made a number of improvements to TCP in DragonFly – specifically, nonblocking and blocking connect(2) performance.  See each of his commits for statistics on how much this has reduced processor use under high load.  He has also written up an extensive description of how all this TCP stuff works in DragonFly.

In similar news, he has a nginx patch that delivers a significant performance increase.  It may go into nginx itself.

Posted by     Categories: DragonFly, Goings-on     0 Comments

DragonFly 3.4.3 released


I tagged it last week, but it took me a while to build the images.  See the tag commit for a list of the bugfixes.  The big thing for me is the fix for amrd and the virtual machine performance fix.  Either update via git, or download an image.

Posted by     Categories: DragonFly, Goings-on     0 Comments

dragonflybsd.org and ipv6


All the machines in dragonflybsd.org should now be available over IPv6.

Also, Matthew Dillon did something weird to the DragonFly IPv6 network stack.

Posted by     Categories: DragonFly, Goings-on     1 Comment

rum(4), run(4), and urtwn(4) added


Sascha Wildner has ported rum(4)run(4), and urtwn(4) from FreeBSD to DragonFly, to work within the not-yet-default new USB framework.  This happened some days ago, but I’m just now catching up.

Posted by     Categories: DragonFly, FreeBSD, Goings-on     0 Comments

Mirror-master moved


avalon.dragonflybsd.org, also known as mirror-master, is the final dragonflybsd.org system to be moved into the new colocated blade server.  Your downloads of binary packages or DragonFly images should be speedier.

Posted by     Categories: DragonFly, Goings-on     0 Comments

What’s your XML opinion?


There’s several debates exclusive to the Unix-like world: Vi vs. Emacs, System V vs. BSD, and so on.  A more recent one that people tend to fragment over is XML in config files vs. anything else.  Read through this recent threa, starting here, about SMF (which became about XML) on users@.

Posted by     Categories: DragonFly, Goings-on     4 Comments

DragonFly 3.4.3 rolled soon


I’ll be working on the 3.4.3 release of DragonFly within the next 24 hours, and it should be available this week.  I’ll have a list of the bugfixes it contains…

Posted by     Categories: DragonFly, Goings-on     2 Comments

DragonFly and Go


It’s really neat to suddenly encounter something done just for DragonFly that you didn’t know was coming: A port of Go to DragonFly.   I think these changes are going into the next Go release, or at least I hope so.  (More on Go if you haven’t encountered it before.)

Posted by     Categories: DragonFly, Goings-on     1 Comment

EdgeBSD


Just seen: EdgeBSD, a version of NetBSD with different goals in mind.  (Seen on Hacker News)

 

Posted by     Categories: Goings-on     5 Comments

Mailing list archives update note


The mailing list archives for DragonFly (lists.dragonflybsd.org) have been moved to new hardware.  (Yay!)  The patch that actually shows date in the listings needs to reapplied, cause Mailman is somewhat stale.  (Boo!)  I applied the patch and I’m regenerating all the archives now.  (Yay!)  There’s some garbled messages in the archives that cause a bunch of “no subject” partial messages to be dumped at the end.  (Boo!)  I’ll manually fix them if I can, someday.  (Yay?)

Posted by     Categories: DragonFly, Goings-on     2 Comments

In Other BSDs for 2013/08/10


Definitely Saturdays for this summary.  In other BSDs this week:

Posted by     Categories: FreeBSD, Goings-on, NetBSD, OpenBSD     0 Comments

Jordan Hubbard and iXsystems coverage


Wired has an article up about Jordan Hubbard and his move from Apple to iXsystems.  It’s not a bad article, though it doesn’t delve into the why of BSD very much.  In any case, iXsystems has been really bulking up lately to be more than a generic hardware provider.

Speaking of which, that blade system going in now for dragonflybsd.org was sold by iXsystems.

Posted by     Categories: BSD, Goings-on     0 Comments

Slight DragonFlyBSD.org service interruption


Several parts of dragonflybsd.org are moving to a new blade server, so there may be some service interruptions during the transition.

Posted by     Categories: DragonFly, Goings-on     1 Comment

Credential descriptors


Joris Giovannangeli, one of the Summer of Code students for DragonFly, posted his thoughts on credential descriptors – have a read.  He is working on capsicum and DragonFly, so this is a natural thought process.

Google Summer of Code Doc Camp


Every year, people ask “Why can’t writing documentation be part of Summer of Code?”  (Not necessarily for DragonFly, but in general)  Google has a “Doc Camp”, where a whole lot of documentation gets produced in sprints, and anyone can participate – not just Summer of Code students.

If this sounds interesting to you, your application has to be in by August 7th 9th.  (URL and date updated)

Posted by     Categories: Goings-on, Google Summer of Code     2 Comments

Newest committer: Johannes Hofmann


Please welcome our newest DragonFly committer: Johannes Hofmann.  He earned this by coming up with a significant chunk of DragonFly’s upcoming KMS/915 support, and it’s now easier to just have him work directly than to be constantly committing for him.

Posted by     Categories: DragonFly, Goings-on     2 Comments

My dports upgrade experience


Since there’s a newer set of dports binary packages uploaded, I thought I’d spend my weekend upgrading, to catch up.

‘pkg upgrade’

And that was it.  Well, not really.  I had to dump and restore my Postgres databases, cause of the switch from 9.0 to 9.2 as default.  I had to build php5 from source to get the Apache module.  Those two things together took longer than the entire download and upgrade of the rest of my system – some ~200 packages?

Posted by     Categories: DPorts, Goings-on     3 Comments

SO_REUSEPORT speedups


Sepherosa Ziehau added SO_REUSEPORT to DragonFly.  I don’t know how the mechanism works, because he didn’t include a description, but he did include a explanation of just how much it reduces CPU usage during as-high-as-physically-possible network load.  He even wrote tools to test it more heavily.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Lazy reading for 2013/06/30


Some of the links this week go pretty in-depth.  Enjoy!

Your unrelated link(s) of the week: Candy Box and A Dark Room.  Both are text-only games, but they use HTML5 for animation.  They start minimal, and build up – be patient; there’s a lot of gameplay in there.  These minimal  games fascinate me.  It’s like reading a book, where it goes from just static text to an entire world being built.  (somewhat via)

Your bonus unrelated comics link of the week: Jack Kirby double-page spreads.  It’s not an exaggeration to say this artwork crackles.  (via I forget)

 

Posted by     Categories: Books, Goings-on, Lazy Reading, UNIXish     0 Comments

pkgsrc freeze for 2013Q2 is on


Whoops, I missed this when it happened, but: the freeze for pkgsrc-2013Q2 has started.  That new quarterly release is anticipated for the end of the month.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

8-way benchmarks for DragonFly and Linux


Phoronix has another set of benchmarks that include DragonFly and PC-BSD, along with several Linux distributions.  It’s interesting to see, though don’t take them as performance measurements.  7-Zip as a benchmark doesn’t describe much other than the program itself, and the Himeno benchmark results are because of the compiler in use rather than any underlying performance aspect of the operating system – for instance.  The DragonFly benchmarks disappear after page 3.

Posted by     Categories: BSD, DragonFly, Goings-on     1 Comment

DragonFly 3.4.2 released


I’ve tagged DragonFly 3.4.2.  The major reasons for this point release were fixes for DragonFly under Xen with more than 2 CPUs specified, and for booting x86_64 DragonFly in KVM.  The 3.4.2 tagged commit has every detail.

If you’ve already got a working 3.4.1 installation, you don’t need to rush to upgrade; this is mostly for the people affected by the issues listed above.  I’m working on 3.4.2 install images; give that some time to complete and upload if you need one.

Posted by     Categories: DragonFly, Goings-on     1 Comment

DragonFly and GRUB, together


Rados?aw Szymczyszyn has manged to get support for DragonFly’s bootloader into GRUB.  This is part of his Master’s project to make DragonFly multiboot capable, at least for i386.

(I love having new things show up from new people, out of the blue.)

Posted by     Categories: DragonFly, Goings-on     0 Comments

Postgres still crazy fast on DragonFly


Loïc BLOT posted about his benchmark of several operating systems using KVM and Postgres 9.1.  Happily, DragonFly is the fastest, with one exception.  Linux/ext4 comes out faster – if you run it with barrier=0, which can be dangerous in a non-battery-backed-up volume.

Posted by     Categories: BSD, DragonFly, Goings-on     0 Comments

Many upgrades, and Hammer


John Marino managed to update GCC from 4.7.2 to 4.7.3 (4.7 changelog), zlib from 1.2.7 to 1.2.8 (changelog), and awk from 20110810 to 20121220 (can’t find a changelog).

In other update news, Matt Dillon has been working on HAMMER2’s flush sequencing.

Update: tcsh too.

Posted by     Categories: DragonFly, Goings-on, Hammer     1 Comment

DragonFly and Bittorrent


I’ve put the 3.4 release images up on terasaur, a Bittorrent seeding site.  Please try pulling them and let me know how it goes.  I haven’t torrented many things, so I am unsure how to even verbify “torrent’.  Hopefully that sentence and those links work out.

Posted by     Categories: DragonFly, Goings-on     6 Comments

Kimsufi servers, DragonFly, and French


If you’re looking to install DragonFly on a Kimsufi server, and you can read French, this explanation may help you.  (via Enjolras on EFNet #dragonflybsd)

Posted by     Categories: DragonFly, Goings-on     0 Comments

More about the DragonFly boot process


Have you ever wondered about how the booting process works on DragonFly?  Well, Ivan Uemlianin did, out loud.  Several different recommendations followed, so now you can learn too.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Howto: dports and xfce4


‘william opensource4you’ posted a summary of the steps he took for setting up a DragonFly system with XFCE4, using dports.  It’s pretty straightforward, and thanks to dport’s binary nature, should be exactly reproducible.

Posted by     Categories: DPorts, DragonFly, Goings-on     0 Comments

DragonFly 3.4 release very soon


As I described in a post to the kernel@ mailing list, the DragonFly 3.4 images are getting uploaded for mirroring and downloaded for testing.  Assuming no surprises happen, we will be able to release very soon.

Posted by     Categories: DragonFly, Goings-on     4 Comments

The 3.4 improvements, quantified


Francois Tigeot put together some examples of the improvements from DragonFly 3.2 to DragonFly 3.4.  The improvement in tmpfs performance is pretty dramatic.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Hey, mirror operators!


If you administer one of the DragonFly mirrors, there’s a new /dports directory that can be mirrored.  See that second link for details.

Posted by     Categories: DPorts, DragonFly, Goings-on     0 Comments

dports and gcc versions; an explanation


John Marino has a concise explanation of why dports mostly uses gcc 4.4 still to compile, even if you’re building DragonFly itself with the default 4.7.  It’s a reason to not use NO_GCC44 – yet.

Posted by     Categories: DPorts, DragonFly, Goings-on     0 Comments

entr(1); Run arbitrary commands when files change.


Eric Radman sent along a plug for a utility he is working on called entr(1).  The desciption is “Run arbitrary commands when files change.”  The site for it has several nifty examples – run make when *.c files change, or convert Markdown files to HTML as soon as they are modified.  The really nice thing about it is that it’s perfectly BSD-friendly, and uses kqueue, but will also work on Linux.  This beats the “This runs on the one flavor of Linux I use, in one particular shell!” approach I’ve seen from some other developers.  See the reddit discussion of it for comparisons to inotify.  No, it’s not in pkgsrc/ports yet.

Update: And thanks to Thomas Klausner, it’s in pkgsrc as sysutils/entr, and in ports as sysutils/entr thanks to Eitan Adler.  You have no reason not to try it now.

Posted by     Categories: BSD, DPorts, Goings-on, pkgsrc     0 Comments

International Space Apps Challenge this weekend


NASA’s International Space Apps Challenge is this weekend, 4/20/2013.  Fancy as it sounds, it’s really a single-day hackathon around open software and hardware, with the problems to fix coming from NASA and therefore probably very unique.  It’s happening in a bunch of places around the world, but there’s one right here in my town.

Posted by     Categories: Conventions, Goings-on     0 Comments

Running a spam blacklist


Peter Hansteen has an extensive writeup of how he has managed the bsdly.net spam blacklists.  Normally I’d stick this article in the Lazy Reading links, but the article is good enough to call out separately.   It’s excellent not just for the mechanical aspects of how the blacklists were maintained, but for his strict description on how the process is simple, verifiable, and transparent.  That last item, transparency, is how many anti-spam groups fall down.

DragonFly 3.4 release status


Here’s a status report on the 3.4 release, pulled right from my mailing list post:

  • We have the ability to use pkgsrc or dports (building from source in either case) now
  • Several people have committed the remaining last-minute fixes
  • I’m not going to have pkgsrc binaries built for the release.
  • dports binaries – John Marino and Francois Tigeot are uploading now.

I’d like to have the release available with binary packages for dports immediately, because I anticipate a number of people wanting to try it out. So, the release will be delayed a few days while the packages upload.

Posted by     Categories: DragonFly, Goings-on     0 Comments

A BSD auction


The very first copy of Absolute OpenBSD (2nd edition), signed by Michael W. Lucas, is being auctioned off in a charity event for OpenBSD.  There’s 5 days left to bid, though the price is already somewhere north of $2 per page.

Posted by     Categories: Goings-on, OpenBSD     0 Comments

Summer of Code links for everyone


The DragonFly page on the Summer of Code site is set up.  If you are a potential mentor that I’ve talked to before, I’ve already sent you an email with details.  If you are a potential mentor I haven’t talked to, you can email me or send a request via the DragonFly page.  (Google has a new ‘connections’ method for signup this year.)

If you’re an interested student, take a look at the DragonFly Projects Page.  Keep in mind that your proposal does not have to be one of those ideas – new projects are always welcome, and often have the advantage of being unique instead of being one of several similar proposals.  (hint, hint)

bxr.su announced


Constantine Aleksandrovich Murenin has put together a new site, bxr.su.  His announcement to users@ goes into a lot of detail, but here’s a preview: it’s an OpenGrok site that has a forked version of OpenGrok that’s both speedy and takes BSD into account, along with other nice features.

Here’s the catch: it’s currently IPv6 only.  IPv4 will be on as a test just today, and on for good shortly after.  Read that announcement I mentioned for details.

Posted by     Categories: BSD, DragonFly, Goings-on     1 Comment

Testing out the DragonFly 3.4 release candidate


If you have a DragonFly 3.2 system and you want to try the 3.4 release candidate, you can delete your local source, edit the Makefile to pull down 3.4 instead of 3.2, and run it.

cd /usr
rm -rf src
vi /usr/Makefile;
(in vi) :%s/DragonFly_RELEASE_3_2/DragonFly_RELEASE_3_4/g
(save, quit vi)
make src-create-shallow

… then proceed to make buildworld and so on, as normal.

The caveats: I haven’t tested this yet, and this assumes you don’t have any local changes in /usr/src that you want to save.  The usual warnings about lighting your computer on fire, etc., apply.

Posted by     Categories: DragonFly, Goings-on     0 Comments

pkgsrc-2013Q1 available via DragonFly git


The DragonFly Git repository of pkgsrc now has the 2013Q1 branch.  You can switch to it by editing your /usr/Makefile (look for existing references to either pkgsrc master or pkgsrc-2012Q3) and using the normal commands.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

DragonFly 3.4 branched


DragonFly 3.4 is branched –  as a release candidate, with the current target for 3.4.0 release as the weekend of April 13-14.  See the tagging commit note for a list of all the commit messages.

Note that in previous releases, we tagged “x.y.0″ on branch, and “x.y.1″ on release.  I’m now tagging “x.y.0rc” for the release candidate at branch time, and we’ll tag with a more normal (to my ears) “x.y.0″ for the release.

If you build a 3.4.0rc image right now, you’ll get an older quarterly release of pkgsrc.  That’ll be changed tomorrow as the DragonFly pkgsrc git source is updated and I change where 3.4’s  /usr/Makefile points.

Posted by     Categories: DragonFly, Goings-on     2 Comments

pkgsrc-2013Q1 announced, with extras


The 2013Q1 branch of pkgsrc has been announced.  Along with the normal quarterly material, there’s several notes: preliminary Cygwin support is present, ruby 1.8 will be retired in favor of 1.9 after this release, and the pkgsrc.org web page now has a very nice new look and logo.

I plan to branch DragonFly 3.4 very soon, and that version will have 2013Q1 as default.

Update: The 2013Q1 branch should be available by tomorrow on DragonFly’s git; the repository needs to update and convert from NetBSD’s CVS and that takes a little time.  I’ll post when it’s ready.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

Pre-release images for 3.4


If you were thinking, “Hey, I’d like to try an early version of DragonFly 3.4 before it’s released”, I’ll just point you at the recent daily snapshots of 3.3.  These are close enough to a release candidate, I think.

Posted by     Categories: DragonFly, Goings-on     1 Comment

Planning for DragonFly 3.4


The next release of DragonFly will be 3.4, and it’s probably going to be mid-April.

Posted by     Categories: DragonFly, Goings-on     0 Comments

DragonFly and spam


Hey, look, DragonFly BSD showing in tweetspam!  Don’t bother following the tweeted links; they don’t have anything useful.  It’s entertaining to see the structure and coding of these bots; they’re no horse_ebooks, of course.

Posted by     Categories: DragonFly, Goings-on     1 Comment

Pkgsrc mysql now 5.5 by default


As the title says, if you install MySQL from pkgsrc-current, you’ll now get version 5.5.

Posted by     Categories: Goings-on, pkgsrc     2 Comments

Help with a Firefox plugin


Michael W. Lucas is looking for someone to improve the Extended DNSSEC Validator.  Specifically, add BSD support.  It’s an idea worth supporting, because the standard it works with makes self-signed certificated perfectly feasible.

Posted by     Categories: BSD, Goings-on     0 Comments

DPorts packages for 64-bit DragonFly available


If you want to take advantage of the binary packages of DPorts, and have a x86_64 system with a recent DragonFly 3.3 on it: Francois Tigeot has you covered.  There’s no i386 packages yet, which are the ones I could use right now, darnit.

If you want to try DPorts, see my earlier article.

 

Posted by     Categories: DPorts, DragonFly, Goings-on     0 Comments

Read shortcut, buffer cache improvements


The new vm.read_shortcut option has been turned on by default by Matthew Dillon, which should lead to some performance improvements.  That improvement has been measured for tmpfs, at least.  There’s also some buffer cache improvments that help on x86_64 systems, too.

Update: As Venkatesh Srinivas pointed out, tmpfs also no longer uses the mplock, so it’ll take better advantage of multiple processors.

Posted by     Categories: Committed Code, DragonFly, Goings-on     0 Comments

More vkernel options: MACs, disk serials


Thanks to Antonio Huete Jimenez, it’s now possible to set the MAC address for each interface and  specify the disk serial number in the command line for a vkernel.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Tor-BSD list created


The fine folks at the New York City BSD User Group have created a mailing list specifically for using The Onion Router on BSD.   Please join if you are interested in TOR, and especially if you are using something other than FreeBSD, since that’s the only ‘supported’ BSD TOR runs on right now.

Posted by     Categories: BSD, Goings-on     5 Comments

Two pkgsrc changes


There’s two changes in pkgsrc recently that might affect you: graphics/png was updated, so many dependent packages will require recompilation.  Also, editors/emacs was moved to a general package instead of being specifically named by version, so now you can install ‘emacs’ instead of ‘emacs24′ or whichever version.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

a pf question on VoIP


I have a pf question for anyone who is interested.  I have this setup in my /etc/pf.conf, to prioritize my VoIP link.  (this system also does NAT.)

extif="em0"
intif="nfe0"
ipphone = "192.168.0.101"
altq on $extif cbq bandwidth 768Kb queue { std, voip }
queue voip bandwidth 168Kb priority 7 cbq(borrow)
queue std bandwidth 600Kb priority 1 cbq(default)
nat on $extif from $intif:network to any -> ($extif)
pass in quick on $intif proto udp from $ipphone to any tag VOIP_OUT keep state
pass in on $intif from $intif:network to any keep state
pass out on $intif from any to $intif:network keep state

pass out on $extif tagged VOIP_OUT keep state queue(voip)
pass out on $extif inet proto tcp all modulate state flags S/SA queue(std)
pass out on $extif inet proto { udp, icmp, gre } all keep state

When I run this, ‘pfctl -s queue’ shows most of the data getting run through the ‘voip’ queue.  I unplug the ATA, I still see the number of packets going up.  It seems packets are getting tagged that shouldn’t be, but I’m not sure why.  Anyone else have a similar – but working – setup?

Update: it was the underscore character in the tag.  Everything matched it, it seems.  Removing that made it work as expected.

 

Posted by     Categories: About This Site, Goings-on     2 Comments

New mirror in Germany, plus IPv6


If you’re near Germany, or like IPv6, the Schlund Technologies mirror for DragonFly is for you – it supports HTTP, FTP, and rsync.

Posted by     Categories: DragonFly, Goings-on     2 Comments

DragonFlyBSD.org renumbering details


The machines at dragonflybsd.org are now on a different part of the Internet, so if you were having problems connecting over the past few days, it should be better now.  Matthew Dillon wrote up details of what he changed and why he changed it, including a note about future blade server plans.

Posted by     Categories: DragonFly, Goings-on     0 Comments

dragonflybsd.org moving


Matthew Dillon is moving dragonflybsd.org’s network link to a new VPN today.  (It may have already happened; I only just read the email.)  This may help the people that have reported their network path to dragonflybsd.org seems to die somewhere in the Cogent network…

Posted by     Categories: DragonFly, Goings-on     0 Comments

Some book statuses


Or is it ‘statii’?  English is wonderfully inconsistent.  Anyway, Michael W. Lucas has posted an update on his two upcoming publications: the second edition of Absolute OpenBSD and DNSSEC Mastery.  Both are in progress, and you can download the ‘pre-release’ version of DNSSEC Mastery now.

Posted by     Categories: Books, BSD, Goings-on     0 Comments

Older Samba, Ruby out


It was planned some time ago, but versions of Samba older than 3.5 are now out of pkgsrc, and version 3.5 will hopefully be replaced by 4.0 soon.  Ruby 3.0 and 3.1 will also be going soon.

Posted by     Categories: Goings-on, pkgsrc     3 Comments

Ansible and package management


Hubert Feyrer wrote a review of Ansible 0.9, a management tool for multiple systems, similar to Puppet or maybe Chef.  Just after doing that, Ansible 1.0 came out, with support for pkgsrc via pkgin-installed packages.  This is the first solution (that I know of) that supports pkgsrc package management for multiple systems.

Posted by     Categories: Goings-on, pkgsrc     0 Comments

Xen users, take note


Markus Pfeiffer reports success using Xen HVM to run DragonFly, which may be useful for any of you Xen users.  He reports not being able to use more than 2 virtual CPUs, though Scott Tincman reports successfully using 4 (with qemu), so your mileage may vary.

Updated: noting qemu usage as Markus pointed out in comments.

Posted by     Categories: DragonFly, Goings-on     1 Comment

Some Tux3 notes


If you’ve been feeling the need for reading about filesystems, Daniel Phillips has posted more notes about his Tux3 filesystem design, which can be contrasted with HAMMER.  (thanks, Venkatesh Srinivas)

Posted by     Categories: Goings-on, Hammer     0 Comments

More tips for DPorts


I meant to post this a while ago; it’s a few days old but still useful.  John Marino gave some stats on DPorts progress, plus he and Francois Tigeot also had some tips on xorg setup.  The successful build count is  higher by now, and I think KDE3 is done, though I haven’t tried it.

Posted by     Categories: DPorts, DragonFly, Goings-on     0 Comments

How to re-certify for BSD


If you have a BSD Certification, and it’s nearing the end of its 5-year term, the BSD Certification Group has published the guidelines for re-certification.  Has it really been 5 years since the first certifications happened? Geez.

I found this off of the NYCBUG mailing list, so hat tip to them.

Posted by     Categories: BSD, Goings-on     0 Comments

Lazy Reading for 2013/01/13


It’s a very short week this week.  I was on the road for work, so I didn’t see anywhere as much of the Internet as I may have liked.  Count my dports writeup yesterday as part of this and it averages out to a good amount of reading.

  • Favorite Linux Commands.  Not all of them are Linux/bash specific.  (via)
  • Advanced Vim Registers.  Or buffers, or clipboards, if you want to get messy with terms.  (via)
  • “I hate BSD so much!”, he yelled at his spittle-flecked monitor.
  • TOME, a roguelike.  Read through the comments for discussion of many other roguelike games.

Your unrelated link of the week: New Tokyo Ondo.  via Jesse Moynihan, whose Forming comic on that site is an epic read.  Epic, as in it’s actually telling a NSFW world creation story.

Posted by     Categories: BSD, Goings-on     2 Comments

An early DPorts education


John Marino’s DPorts project, mentioned here briefly before, is interesting.  I had two separate people ask me how it works, so a better explanation is in order.  I’ve tried it out on a test machine over the past few weeks.

Background:

Dports is an effort to use FreeBSD’s ports system as a base for DragonFly, and the pkg tool as a way to manage binary packages built from DPorts.  This is complicated, so I’ll explain each part in order.

  • FreeBSD ports are a FreeBSD-specific collection of software installation files that automate building 3rd-party software on FreeBSD.  You’ve probably already heard of them.  (Note there’s no mention of DragonFly.)
  • DPorts is a collection of files that map to existing FreeBSD ports, and contain any changes necessary to make that port also build on DragonFly.  Many of those programs build without changes on DragonFly.  DPorts builds from source.
  • pkg is used for package management, and is usable on FreeBSD and on DragonFly.  The binary packages produced from building with DPorts can be installed from remote locations and managed separately using pkg, so that software upgrades and installation can be performed with binaries only.  (It’s much faster that way.)

Every port seen in DPorts is known to build on DragonFly.  John Marino adds a port only after it builds successfully, using poudriere as a bulk software tool.   Ports are only updated to a newer version when that newer version builds, too, so once something arrives in DPorts, it should never break from being updated at some point in the future.

Installing:

To use DPorts, you need two things:

  1. DragonFly 3.3 or later, though 3.3 is the most recent right now.
  2. You need to rename /usr/pkg so that your existing pkgsrc binary programs don’t get accidentally used while working with DPorts, causing confusion.  If anything goes wrong with DPorts when you are installing it and you want to go back, remove all the DPorts packages and rename /usr/pkg back to normal.

(Don’t confuse pkg, the management tool, with /usr/pkg, the normal installation directory for pkgsrc. ) For the installation of the base port files:

cd /usr
make dports-create-shallow

If you’ve already renamed your /usr/pkg directory, git won’t be in your path any more.  You can instead download a tarball and unpack it, which also happens to be possible automatically via that same Makefile.

cd /usr
make dports-download

Downloading via git is fastest, so if you do need to use the tarball via make dports-download, build devel/git, delete /usr/dports, and then pull it again with make dports-create-shallow.  This all comes from John Marino’s Github site for DPorts.

Managing DPorts

DPorts doesn’t use pkg_info, pkg_add, and the other tools traditionally seen on DragonFly for pkgsrc.  Instead, package management is done with pkg.   Use pkg info, pkg install, pkg remove, and pkg update to list, install, delete, and upgrade various packages on your system.  Packages built from source or downloaded as prebuilt binaries are managed the same way, using these tools.

See some of the other writing about pkg for FreeBSD for details on how it works.

Since DPorts doesn’t update a package until it gets a successful build, and installations are of successfully built binary packages, upgrades with prebuilt packages should always succeed.  Since they’re binary, they should be fast.  There’s a lot of ‘shoulds’  in this sentence, but these are reasonable suppositions.

What about pkgsrc?

Pkgsrc and DPorts shouldn’t be used at the same time, since one system’s packages may be at different versions but still get picked up during building for the other system.  That’s about it for restrictions.

I intend to try building an experimental release of DragonFly with DPorts, to see if all the right packages can be added, but no guarantees.  DPorts is brand new and does not yet have a repository for downloading packages, so the normal caveats apply; don’t install it on a mission-critical machine, and be ready to deal with any surprises from using it if you do try it out.

What packages are available?

Browsing the Github repo will show you all listed packages.  More complex packages like xorg, openjdk7, and libreoffice install, as does xfce.  Parts of KDE 3 and KDE 4 are in there.  (I haven’t tried either.)  I’m not sure about Gnome, but I don’t think anyone ever is.  There’s no vim, but there is emacs.

That’s just what I see at this exact minute.  It changes daily as more packages are built.  Changes from DragonFly builds are sometimes relevant to the original FreeBSD port, so there’s benefits for everyone here.

What next?

Try it now if it has all the packages you need, or wait for a binary repository to be created to speed things up.  Remember, this is a new project, so a willingness to deal with problems and contribute to fixes is necessary.

Posted by     Categories: DPorts, DragonFly, Goings-on, pkgsrc     17 Comments

pkgsrc-2012Q4 out


It’s actually been out since the start of January, but the release announcement is available now.

Posted by     Categories: Goings-on, pkgsrc     1 Comment

Can you read French? Then read this.


Stéphane Russell, on the users@ mailing list, pointed out an in-depth article about DragonFly’s 3.2 release, on linuxfr.org.  It’s in French, which means I’m just going to have to trust his word about the contents.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Project ideas again


Ishan Thilina asked for some project ideas, and Samuel Greear gave a list of links that may be useful for anyone looking for a project of their own.  I offered strategy.  It didn’t work out, but this information’s still useful.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Maintaining a wiki for fun


The Open Graphics Project, which is building a completely open video card, needs a wiki maintainer.  It’s a volunteer effort.  If you were perhaps thinking you wanted to step up to a more complex project but didn’t want to just be writing code, here is a perfect opportunity.

(Not too different from maintaining a project work blog, after all, and I know that’s rewarding.)

Posted by     Categories: BSD, Goings-on     0 Comments

Brief conversation about disk encryption


There’s a short thread running on the DragonFly users@ list about disk encryption; there’s some descriptions of encryption work there for the curious.

Posted by     Categories: DragonFly, Goings-on     2 Comments

Linux and cpdup, plus a note


I could have sworn I noted it before, but as Venkatesh Srinivas points out, there’s a port of cpdup to Linux.  Also, if you’re using cpdup to copy material out of a Hammer volume’s history, use the -VV switch.

DragonFly 3.2.2 released


DragonFly 3.2.2 has been tagged.  The tag commit has a list of the fixes; this is a bugfix release, but it’s a good one.   Download an ISO (they should be at the mirrors by now) or update your system.

Posted by     Categories: DragonFly, Goings-on     1 Comment

3.2.2 coming up


There’s been a large number of fixes and improvements to DragonFly 3.2 lately, so I’m planning to roll DragonFly 3.2.2 this weekend so there’s an image with them all.

Posted by     Categories: DragonFly, Goings-on     0 Comments

Using gcc 4.7 and pkgsrc


If you were thinking you wanted to try gcc 4.7 with pkgsrc, John Marino’s described the option you need to set.  It only works in pkgsrc-master  right now (because of changes John made), and not every package in pkgsrc will build.

The advantage is that it’s also possible, with the same syntax, to set pkgsrc to build with gcc 4.4.  This means the default compiler in DragonFly can be changed to gcc 4.7 and pkgsrc packages that aren’t compatible can still be built.

Update: Check this minor change: ‘?=’ instead of ‘=’.

Posted by     Categories: DragonFly, Goings-on, pkgsrc     0 Comments

How to grind that axe, for donations


Whomever submitted this story to Slashdot really doesn’t like FreeBSD; they’re describing FreeBSD’s annual end-of-year fund drive as failed.  The month-long drive is only about a week old and has already picked up donations at a faster rate than any previous year’s donation drive, but apparently the poster – and Slashdot’s editors – can’t be bothered to do math.  While we’re on the topic, donate to the FreeBSD Foundation; they do good things.

(There’s DragonFly too, though we’re not as ambitious or officially 501(c)(3) non-profit.)

Posted by     Categories: BSD, Goings-on     6 Comments