BSDCan Intro Session Volunteers Wanted

A person’s first visit to a particular tech con can be overwhelming. BSDCan is now having an introductory session for new attendees, to try to ease them into the event. Somehow, I’m running it.

From 6-9 PM on Thursday night I’ll be in DMS 1160 to greet new BSDCan attendees and discuss how the conference runs with folks new to BSDCan.

I would really like someone from each of the BSD projects to help me ease new attendees into the con. Ideally I’d be able to say “Oh, you want FreeBSD? Let me introduce you to Fred, he’s a FreeBSD guy,” or OpenBSD, or whatever project they’re interested in.

This will be pretty informal. I plan to order carryout and hang out.

The event concludes at 9 PM, leaving time for a gelato run, of course.

In my mind, new attendees need to know about:

  • breakfast and lunch
  • harassment policy (Abusing other convention goers will really tick me off. And I’m on the BSDCan committee, so I take that seriously.)
  • Opening and closing sessions
  • The closing auction
  • Presumably, they’ve read the talks schedule before registering–but if not, we’ll have it.
  • BSDA testing–they’re probably not prepared to take it, but maybe next year?
  • evening open events, like the Royal Oak, the Hacker Lounge, and the FreeBSD Doc Sprint

Can you think of anything else I should add to this list?

Penguicon 2016 Lucas Track Schedule

While the folks at Penguicon reserve the right to change the schedule at any time, we’re close enough to the con that I’m comfortable releasing my talks and panel schedule. This is extracted from the official Penguicon descriptions. and schedule.

Friday, 30 29 April:

6 PM – Social Media for Writers (panelist) – Hamlin
What social media trends does a writer building their web footprint need to understand? What are some Dos and Don’ts?

8 PM – PAM: You’re Doing It Wrong (speaker) – Windover
PAM, or Pluggable Authentication Modules, is one of the most occult parts of managing Unixish systems. The unique configuration syntax and idiosyncratic rule processing drives many sysadmins to copy working configurations from other people and random blog posts. This talk takes you through the essentials of PAM configuration, You’ll learn the components of PAM, how PAM processes rules, how to use multi-factor authentication, and get an overview of some useful PAM modules you probably haven’t used, based on my forthcoming book “PAM Mastery.”

10 PM – the ZFS File System (speaker) – Windover
ZFS, the Zettabyte File System, is one of the most full-featured filesystems available today and gives almost unlimited storage flexibility. Originally created by Sun Microsystems, the independent entity OpenZFS now develops ZFS as deployed in illumos, Linux, and FreeBSD. This talk takes you through ZFS’ features, including: data self-healing, deduplication and compression, clones and snapshots, copy-on-write, boot environments, replication, and more. Once you use ZFS, you’ll never understand how you lived without it.

Saturday, 1 May 31 April:

11 AM – Networking for Systems Administrators (speaker) – Windover
Too many organizations have a tense relationship between the network folks and the sysadmins. Sometimes it degenerates just short of war. But basic networking isn’t hard–if it was, network engineers couldn’t do it. This talk teaches the essentials, in a way that lets sysadmins troubleshoot network problems on their own. Sysadmins have amazing visibility into the network, once they know how to use it. We’ll cover cross-platform tools for viewing and troubleshooting the network, on both Windows and Unix.

4 PM – Encrypted Backups with Tarsnap (speaker) – Windover
Online backup is incredibly useful, but has many privacy and integrity risks. Tarsnap is an online backup service that only handles your data in encrypted form. It’s inexpensive and reliable. Plus you don’t need to trust the Tarsnap service–they can’t access your backups even if they want to. And Tarsnap’s built-in deduplication saves space, letting you store terabytes of backups in mere gigabytes of disk. This talk takes you through using Tarsnap, from backing up a system to customizing and rotating backups, to fully restoring them.

5 PM – Acts of Shameless Self-Promotion (panelist) – Portage Auditorium
What’s the best way to get your name forward?

7 PM – reading (speaker) – Writer’s Block (313 & 315)
My first ever fiction reading: my datacenter crime story “Wifi and Romex” I’m sharing this hour with Ken MacGregor. Don’t know which half I’ll get.

Sunday, 2 1 May:

10 AM: Self-Publishing 2016 (panelist) – EMC 1
This panel discusses today’s self-publishing options and business models. Our panelists include authors who are both self- and traditionally published, in fiction and nonfiction, including people who are making an income entirely by self-publishing. We’ll discuss why we made the choice to self-publish, the pitfalls and lessons learned, and which business choices we’ve made on our respective self-publishing efforts.

12 PM: BSD Operating Systems in 2016 (speaker) – Windover Charlevoix B
The BSD family of Unix has a been kicking around for almost 40 years now, and have taken different paths than Linux. Come see the last year’s developments in BSD land! One of them just might solve your intractable problem. We’ll talk about new things from FreeBSD, OpenBSD, plus updates from NetBSD, Dragonfly, and assorted derivatives.

2 PM: Senior Sysadmins Panel – Windover
Some say systems administration is a young man’s game, and that eventually sysadmins rise into management. They’re wrong. A sysadmin who measures their experience in decades has made mistakes younger sysadmins can’t even imagine. This panel lets you learn from their suffering, take advantage of their experience, and laugh at their pain.

I’ll have print books at all of my tech talks, including the brand-new FreeBSD Mastery: Advanced ZFS. You’ll be able to find my novels up in the Writer’s Block, rooms 313 & 315.

I’ll be kicking around the con the rest of the weekend, except for probably a lunch break Saturday. (Anyone interested in pho?) I’m not making a firm schedule for the rest of the time, but you’ll have a pretty decent chance at finding me at any of these events.

Friday 4 PM: LN2 Welcome Back Ice Cream
Friday 11 PM: LN2 After Hours Ice Cream
Saturday 3 PM: LN2 Guest Flavors Ice Cream
Saturday 11 PM: LN2 After Hours Ice Cream
Sunday 11 AM: LN2 Sunday Brunch Ice Cream

“FreeBSD Mastery: Advanced ZFS” sponsor check

(I wrote sponsors an email with this information earlier, but email is not exactly reliable, so I’m posting it here as well.)

The good news: the book is almost here!

I’m greatly touched by how many people offered their support. The least I can do is verify that I’m spelling your name correctly.

Here’s the sponsor list, as well as my notes on any instructions you sent with your sponsorship. Please double-check that I:

  • used the desired name
  • spelled your name correctly (especially any non-US characters!)

I would appreciate a response, even if it’s “everything looks OK.”

If you have any additional requests, such as signing the book to someone other than yourself, this is the time to tell me.

The final ebooks should be in your account next week. Print books should ship the last week of the month, if everything goes well.

Thanks again, for everything.

“FreeBSD Mastery: Advanced ZFS” sponsorships ending soon

When I set up the FreeBSD Mastery: Advanced ZFS print and ebook sponsorships, I never considered when I should take them off sale.

Comments are due back from tech editors tomorrow, 28 March. I’ll immediately be processing them. This should take a couple days. Once I’ve made all the corrections, I’m sending the whole thing out for copyedit.

The sponsorship sale ends when the book goes for copyedit.

If you want to be a sponsor, act now.

If not, that’s perfectly cool too.

First review of “FreeBSD Mastery: Specialty Filesystems”

Sunday Morning Linux Review episode 184 discusses FreeBSD Mastery: Specialty Filesystems.

While SMLR is always worth listening to, if you want to cut right to the review (or, alternately, if you’re me coming back to look for good quotes to steal for publicity purposes), the review starts about 30 minutes in.

It’s about 1:11 into the unedited video.

Summary: the book does not suck. And some parts are actually interesting. Which is nice. The book did expose Mary to new ideas and sent her running for the manual and Wikipedia a few times, but learning is good for you, so that’s okay.

I should also note that while I offer free review copies to podcasters, SMLR insists on purchasing books for review. They say it keeps them unbiased. I won’t argue.

FreeBSD and pam_listfile

I’ve discovered unknown terrors while researching and writing PAM Mastery. Well, terrors previously unknown to me, at least. I’m certain that the OpenPAM and Linux-PAM developers are very much aware of them. (I’m also certain that they’re part of the reason DES keeps his hair cut so short, so that he can’t yank it out of his head in bloody chunks.)

Part of the writing process was building a giant spreadsheet listing operating systems, PAM versions, and which modules appear in each OS. Strictly speaking, OpenPAM proper contains very few modules. Most “OpenPAM” modules actually originate from FreeBSD. But people are free to use them, so they generally get lumped into the “OpenPAM module” bucket.

One module that’s conspicuous by its absence in pam_listfile. Pam_listfile.so lets you accept or reject access based on the username’s presence in a file. It’s much like the traditional BSD /etc/ftpusers functionality.

It’s a reasonable enough module. And I’m told that pam_listfile.so can be compiled to work on FreeBSD, but nobody’s bothered to submit a port. How to make it work is a perennial question on the FreeBSD mailing lists.

The good news is, you can easily emulate pam_listfile.so on FreeBSD using pam_exec. Pam_exec runs a command as part of the PAM chain. If the command returns 0, the module says to grant access. If the command returns 1, the module says to deny access. (Whether PAM obeys this instruction or not depends on the type of statement.)

Here I implement basic pam_listfile.so functionality in a shell script, pam_listfile.sh.

Enable pam_listfile.sh as an auth rule.

auth required pam_exec /usr/local/scripts/pam_listfile.sh

Now all you need is a script. This version of the script permits access if the username appears in /etc/validusers.

#!/bin/sh
/usr/bin/grep ^$PAM_USER$ /etc/validusers
return $?

And here’s a version that rejects access if the username appears in /etc/validusers, exactly like /etc/ftpusers. It’s a huge change, adding an entire exclamation point.

#!/bin/sh
! /usr/bin/grep ^$PAM_USER$ /etc/validusers
return $?

You could add more functions as you need. The important thing is to return either 0 or not-zero.

PAM Mastery is over half finished. I’ve completed the parts on “this is how PAM works” and have moved on to “here are some cool PAM modules that you might want to use.”

And my marketing department says I need to mention that I’m taking sponsors on the print and ebook versions of PAM Mastery.

“FreeBSD Mastery: Advanced ZFS” in tech review

FreeBSD Mastery: Advanced ZFS went to the FreeBSD developer community and a few select folks for technical review last night.

If you bought a sponsorship, either print or ebook, the manuscript is now in your account.

FM:AZ will not be on a discount pre-order. I figure the sponsors deserve the right to satisfy their morbid curiosity over the defective, untested, uncorrected manuscript. Plus, they get a little bit of joy over their privileged status. Not to mention bragging rights.

If you’re a sponsor, I’m going to ask you to download the manuscript, go to the last page, and check the spelling of your name. While I did my best to verify them, non-English character sets might be my undoing here. Plus, I’m an idiot, which doesn’t help.

February 2016 status and sponsorship questions

I’m thrilled and grateful with the results of the FreeBSD Mastery: Advanced ZFS sponsorship. Eighteen ebook sponsors and eight print sponsors have made my life easier. I’ll list them at the end of this blog post.

Allan and I are very close to having a completed first draft of the book–as in, we need a couple thousand more words from Allan and we’re ready to for final pre-tech-review touch up. As we’re working chapter-by-chapter in Google Docs, I’ll then have the job of pulling all the docs into a single Word doc, applying formatting, and making sure it all hangs together as a book.

Once it’s in a single doc, I’ll upload it to the Tilted Windmill Press site so ebook and print sponsors can see an early copy if they desire.

This is a complicated book. It includes, like, actual math and stuff. There’s a limited pool of people who can do the tech review, and they’re all very busy.

With any luck, though, we will have print copies in time for BSDCan 2016.

In the meantime, I’m turning my attention to PAM Mastery. I did lots of research and analysis for this beforehand, so in theory I can just spew the book out and get it out for review.

If I’m very quick, and if absolutely everything works out correctly, I could actually have print copies of the PAM book for Penguicon.

Which leads me to another question, one I’m going to rely on you lot to answer.

Should I solicit sponsors for “PAM Mastery”?

My gut reaction to holding out my hand and asking for money is “no, don’t do it. You are not only a commercial enterprise, you are a commercial exploiter of the BSD community. Provide a worthwhile product and people will buy it.” It took me about a decade to open a tip jar, and I’m still shocked when people put something in it. Seems I caught that stupid Puritan work ethic or something.

The Advanced ZFS sponsors have not received their books yet. (Although I must say, warm showers make me a much more productive writer.) I feel a certain imbalance here–while that book is solidly under way, I’m responsible for delivering good work to my sponsors. FM:AZ is rapidly approaching the “hurry up and wait” stage.

And I don’t want to be constantly putting up a sign saying “Give me money in exchange for electrons arranged in the shape of your name.”

On the other side, people… apparently want to give me money for electrons arranged in the shape of their name.

So, what do you think? Too soon? Do it? Give it all up and become a llama smuggler?

Lastly, on the fiction front: I’ve gotten the proofreading back on my crime thriller Butterfly Stomp Waltz. Proofreader is now on to Immortal Clay 2, Kipuka Blues, and that’s due back by 20 March. I should have print copies of each to take to my writing workshop in April, and you should be able to buy both before April. Shlepping BSW into production would be a couple days work, but I’m heads-down on getting PAM Mastery done, so it’ll have to wait.

And I have a couple short stories to release, I just have to snatch the time from somewhere and get them out.

EDIT: I said I’d list the FMAZ sponsors, and forgot before hitting “publish.” Typical, Lucas. Absolutely typical.

Ebook:

1. Bruce Buskill (first sponsor ever)
2. Julien Vallée
3. Wim Wauters
4. Ollivier Robert
5. Henning Kessler
6. Geoffrey Garside
7. Theodore Durst
8. Georgiy Bulygin
9. Timur Anthony
10. Earl Percival
11. Grzegorz Mrzyglod
12. Jason Plows
13. Dominique Poulain
14. Trond Endrestøl
15. Kenneth Moyer
16. David Stiévenard
17. Mark Voltz
18. Graham Hunter

Print:
1. Dan Langille
2. TransIP B.V./Johan Schuijt
3. Thomas Scott
4. Dirk Tol
5. Justin Holcomb, in memory of Mary Lou Malott
6. Adam McDougall
7. Miguel Moll
8. Dominik B. Kowal