Simultaneously bumping server, desktop, media center, laptop to kernel 3.10.7 et al… (continued…)

Good lord things are getting out of hand in Python land.

I recently bumped up my entire server with the typical emerge –world and –depclean and revdep-rebuild. To get trac working again, I had to jump through some hoops…

  • bump my entire machine, watch trac fail with “ImportError: No module named trac.web.main”
  • run python-updater (which didn’t seem to do enough?)
  • upgrade to unstable trac 1.0.1
  • re-emerge world to upgrade all six versions of python (either new versions were posted overnight or apparently installations were damaged by –depclean?)
  • set active version of python back from 3.2 to 2.7 with eselect
  • re-emerge mod_wsgi
  • restart apache

Of course I did a LOT MORE than that to figure out that that’s what I had to do! 🙂

Ahh the price of fame.

gpg (which i use to encrypt my passwords, so it’s not really optional) started giving me a segmentation fault on a recent [emerge world] that bumped it to v2.0.19. I reverted to v2.0.17, same crash. I ran gdb on it, crash was happening in libgcrypt, which had also recently been bumped from v1.4.6 to v1.5.0-r2. I reverted to v1.4.6 and all is well again. Sometimes “stable” isn’t.

I’ve been having trouble with my server running out of file handles recently (ouch). Cyrus and Apache and rtorrent all do their fair share of abuse of my server, lsof typically reports 20k open files and sockets. rtorrent kept crapping out with “can’t resolve host” and “can’t save torrent file” errors, related to running out of file handles. Very hard to determine why this was happening. Eventually google turned up the answer on gentoo forums – re-emerge curl with these USE flags in [/etc/portage/package.use]:

net-misc/curl ares -threads

All is full of light.

I recently bumped my primary email/database/webserver box up to date. Now all my gentoo boxes are past the annoyingly useless tweaks required for gentoo’s baselayout2. I love gentoo land, where every bit of pain is a lesson. This one included… (continued…)