pkg and pkg-static

If you upgrade DragonFly and one of the shared libraries used by pkg gets updated, you can’t run pkg until you get files, but pkg is the program you use to bring in new files.  This chicken-and-egg problem is solved with pkg-static, a version of pkg built without shared libraries.

You may have noticed some format flip-flopping between pkg and pkg-static if you had to run it after the most recent DragonFly upgrade; that is fixed.  There’s a larger issue of certificate installation identified there; I don’t know a solution to it, but I do want to mention this for next time pkg breaks for someone – pkg-static will work as backup, including to bring in a new version of pkg.

Lazy Reading for 2019/08/11

I have some neat history items mixed in this week.

Your unrelated music of the week: Blarf: Cease and Desist.  (via)

In Other BSDs for 2019/08/10

A reminder: if you have a BSD user group and I’m not posting about your meetings, please make sure I know about it.

Disk encryption and non-QWERTY keyboard layouts

When you encrypt your DragonFly boot drive, initrd(7) is run to get your system online and able to accept a password to decrypt the drive.  So far, so good.  The initrd program is a minimal userland designed to be small, and it generally works.  However, it assumes a QWERTY keyboard.  If you’re Pierre-Alain TORET and normally use an AZERTY (in this case French) keyboard, that makes it difficult to type the decryption phrase.

It’s possible to patch a different keyboard layout into initrd, and he has documented just how to do that.

A new upgrade method

Remember my post about a new upgrade script?  tse, the author, has happily added in a bunch of suggestions.  I’m intermittently traveling and can’t do anything to test it for days yet – but I’d love to see others try it out.

The bugs issue tracking versions is here: #3197.  Can you, dear reader, try it out?  Do an in-place upgrade on your version, or even a test install with a VM?  I want to see what happens in the wild.

Lazy Reading for 2019/08/04

This week’s material filled up fast.  It’s vacation season in the northern hemisphere, so let’s see what next week brings…

In Other BSDs for 2019/08/03

A bumper crop this week!

Lazy Reading for 2019/07/28

I get indirectly cranky, this week.

In Other BSDs for 2019/07/27

All over the map this week.