Roy's Blog

A Hacker's musings on Code | Tech | Life

So one of the main features of dhcpcd was the ability to add and remove addresses and subnets in accordance with interface preference and state. This worked very well in Linux, both for IPv4 and IPv6.

When I discovered FreeBSD and then NetBSD making dhcpcd work with the same features provided troublesome. For the IPv4 case, we needed to patch the kernel so that IFA_ROUTE remained sane. For the IPv6 case it was a lot more complicated as parts of the IPv6 stack rely on the kernel processing Router Advertisements instead of a 3rd party tool. Working this out was a lot more time consuming and complicated, but we got there with minimal fuss!

So as of now, dhcpcd can fully replace the NetBSD and Linux in kernel Router Advertisement handling code.

But why was I right after all these years? Because quite a few knowledgeable NetBSD folk assured me that the kernel was fine and it was likely dhcpcd at fault. As it turned out, it really was the kernels fault.

Discuss this Post

From my aging Gentoo laptop

roy@uberlaptop ~ $ emerge -1 portage
!!! Unable to parse profile: '/etc/make.profile'
!!! ParseError: Profile contains unsupported EAPI '5': '/usr/portage/profiles/default/linux/x86/13.0/eapi'
!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.
roy@uberlaptop ~ $

Asking for help in a secret Gentoo IRC channel....

10:57 < bonsaikitten> rsmarples: ah, it's so old that you want to update
                      portage, best to use binpkgs
10:57 < rsmarples> *blinks*
10:57 < bonsaikitten> http://packages.gentooexperimental.org/packages/ # my
                      emergency supply of binpkgs
10:57 < bonsaikitten> the minimal set to get portage working again, afair, is
                      glibc+gcc+binutils+python+portage
10:58 < rsmarples> i should just need portage yes?
10:58 < bonsaikitten> yes, but that need python-2.7
10:58 < bonsaikitten> and my python binpkgs are too new and rely on a newer
                      glibc
10:59 < bonsaikitten> if you have python-2.7 there's a good chance that only
                      portage is needed
11:00 < rsmarples> .....
11:01 < bonsaikitten> what :)
11:01 < bonsaikitten> you didn't update for around ... 2 years? maybe 3?
11:01 < bonsaikitten> and our support horizon is currently between 6 months and
                      a year
11:01 < bonsaikitten> the binpkg method is the most painless way to punch a
                      machine forward

Lets just say the the chances of me coming back to working on Gentoo went from small to zero.

Discuss this Post

A new year, a new website!

In truth, although I had a nice new server upgrade it seems that Trac just keeps on using resource after resource. Now, having the site entirely python powered isn't entirely possible - thus far I have yet to find a reasonable email web interface other than RoundCube Also, my PostgreSQL interface of choice uses PHP. Speaking of PostgreSQL, that kind of limits my blogging software choices as most of them only want to use MySQL, which I have no wish to use. Here's a list of blogging software which can use PostgreSQL:

So seeing as I'm moving a way from Trac and I had a bad experience managing my prior Drupal install many years ago, it's no surprise that I've migrated my blog over to Serendipity :) As with the prior migration I've preserved comment history and my image gallery. However, I still need to edit all prior posts and correct their links. At this point you maybe wondering what now powers my projects? Well, they recently converted from GIT to Fossil

All of this effort and not much blogging? Well, lets see if I can blog more here as it's my content which I own entirely on my self hosted site. I think I've been giving to much content hosting to Facebook and Twitter. I'll not stop using them, but I expect to post more here :)

Discuss this Post