NSS/LDAP and DragonFly

One of the requirements to get NSS/LDAP working on (most) any unixlike system is to have dynamic binaries; meaning they are dependent on various libraries to run.  Since you’re talking about programs for login when you’re talking about NSS/LDAP, that means if the libraries aren’t available, you can’t log in.  DragonFly has static binaries just to avoid that problem.

Francois Tigeot proposed switching to dynamic binaries and building a /rescue directory with static backups, as is the case with I think FreeBSD and NetBSD.  If you follow the thread, it looks like the best path is to use initrd instead.  Initrd stands for INITial Ram Disk, and is the first volume the computer sets up to boot from BIOS.  Since initrd gives the computer enough space to load all the needed modules (like Hammer2…), it works without making the computer dependent on various libraries or having a bloated /rescue directory.

(Someone correct me if I have the details wrong.)  As long as we’re talking about things that would help DragonFly in a larger environment, can someone work on a VM balloon memory driver, too?

New USB on by default

DragonFly has moved from the old USB stack to USB4BSD by default.  That means:

  • If you are already using USB4BSD, you will want to remove WANT_USB4BSD from your kernel config.
  • If you have trouble, switch back to the old USB.
  • There’s some drivers that are not yet converted; help with them would be appreciated.  
  • A full kernel/world build and ‘make upgrade’ will be needed in either case.

Sascha Wildner’s announcement email has all the gory details, including the kernel config changes to move back to the old USB setup.  This is of course in master; 3.6 users are unaffected.

Summer of Code 2014 followup

I followed up with Google on why DragonFly isn’t in Summer of Code this year.  It is exactly as I suspected: they want to get new organizations in.  DragonFly’s been doing it for 6 years, so they are picking new orgs over returning ones.  This is apparently the same reason NetBSD isn’t in this year, either.

(Honestly, I can use the break.)