Category: Gentoo
After a long hiatus...
So I've not posted since 15 April when I mucked up networking on Hydrogen.
I've been up to quite a lot personally and with Gentoo. The non-gentoo exploits mainly involve applying for a visa to enter the United Kingdom to have a Civil Partnership with my lovely fianc
Oops.
How to muck up a system in style.
Oops. lol
edit: change link style, apparently the gallery is FUBAR?
dev-libs/memcache-api-php is gone
When this package was added it was intended as a stopgap measure, really. There was no good PHP API for the memcached daemon. The only good one was the Perl one, (now Cache::Memcache) written by the memcached author.
There was later a PHP API written in C, part of the PECL, which would inherently be faster. It's now the recommended API (SO USE IT, AND DISTCC! </subtle).
So now the slow, buggy, unsupported API is gone. Rejoice!
The UO Addiction has Gentoo implications
Cos I'm about two seconds away from comitting UOAMhub, an unofficial Linux port of the Win32 only UOAMsvr.
UOAM is a program designed to act as a kind of GPS within the UO world. Various guilds and groups of friends use UOAM to keep track of everyone's position, which, coupled with voice communication (such as TeamSpeak) helps in coordination of events.
Belxan's UOAM protocol is proprietary and the uoamhub daemon has reverse engineered it.
I'll be testing the daemon today and stress testing it this week with my own guild.
sys-libs/memcached-api-php removal!
I posted on the -dev mail list late last month about removing this API. It's buggy, and the source files aren't even on SRC_URI. There was 0 response to my -dev post and 0 favourable response to my post to memcached mail list.
So if you're going to use Memcached with PHP please use the PECL version. dev-php5/pecl-memcache or something. ;)
Things I've learned by using Gentoo...
In my years using Gentoo I've learned a lot. I'm going to share it with everyone (whether you like it or not):
In no particular order...
- It isn't necessary to completely wipe clean your disk to fix a perceived problem in your installation (even if you allocate only 4gb instead of 40 for /).
- Never downgrade glibc.
- Always use Google when you've got a problem.
- ALWAYS use Bugzilla
- Join Gentoo:)
- Ignore flamewars
- Don't ignore -core mail or you'll miss out on important data, like, Gentoo is a foundation? And it's got a council? *g*
- Disable root logins, ssh version 1, and password logins in sshd_config; force ssh key access
- Backup your data
- ADMIT NOTHING!!!!!!!
- Don't take things too seriously
- Take the serious things seriously
There's so much more, but it would take far too long to list.
More on Distcc and SLP
As much as I'd love to see SLP integrated with Distcc I've come to the realisation that Gentoo isn't the place for the patch to be implmented and tested. Rather, it should be applied to the source tree UPSTREAM for the entire user base to test, likewise with all other patch enhancements.
Obiously it's different if the package has no maintainer and hasn't seen the loving hand of a programmer in years or if the patch is to fix a serious Gentoo-specific bug, like the TMPDIR issues in distcc from a year or two ago.
Stage 1&2 is going the way of the dodo?
Truthfully that would be kind of nice. I could really trim down the distcc documentation and the ebuild to remove the stuff that is only present to deal with pre-bootstrap.
Distcc and SLP
With Bug 80219 we're going to be adding SLP support to distcc. It will be a boon for those people with large clusters of volunteers.
Right now it seems to work. The daemon starts (./distccd -p 3666 --listen 192.168.0.254 -a 192.168.0.0/24 -P /home/lisa/projects/distcc/distcc-2.18.3/src/distccd.pid --verbose --log-level=debug --log-file=./log.log --daemon) and the tool works (./distccenv ---> DISTCC_HOSTS="lithium:3666 ").
I wonder if the portage guys could do a test to see if slpd is running and use that to set DISTCC_HOSTS with the distccenv program: export `distccenv`. I haven't done any compilation tests just yet.
On Distcc and bootstrap:
One of the major problems with using distcc during installation from stage 1 is that the user must manually add the distcc user before issuing the emerge distcc command. When the user later (after stage 2) installs distcc the shadow package is available for useradd.
I'd love to just make it so the user has to re-emerge distcc after bootstrap. I think I may have found a MAJOR brain fart: Currently the distcc use is required during emerge to change the permissions of /var/run/distccd to that user so the init script can put the pid file there, owned by distcc:daemon. Inside the init script the directory is chmodded again for the distcc user. Why add do it in the ebuild when it can be done in the init script? *duh* I'll test that with the SLP stuff.
Is this still on?
Well I'm back in New York, as of the 12th. I suppose a short update is in order...
Everything in Trinidad went well. Thank you to everyone for your help, you know who you are.
Anne and I are scheduled to fly back to England on the 24th of October. This will go ahead if I have my passport! A critical piece of evidence was a week late in getting into my hands and so the State Department has 5 business days plus Saturday to get my passport to me. *gulp* Good thing I asked for expedited service.. I know they received my application on the 13th at midday in Philly. Should be enough time (she tells herself...).
Anyways.
Once I get back to England I will likely inherit Anne's laptop which will be put to UO usage so my desktop can return to its Linux glory cos frankly Windows is irritating.
I've got lots of motivation and really want to (finally) test SLP support in Distcc. I'll have to set up Hydrogen (our fileserver) to use the correct toolchain as Lithium (my desktop) and Helium (our general purpose server box) to have matching configs for glibc, distcc, and gcc. Fun! ;)
call for help
okay
in the past i've made references to surgery... my fiancee and i registered a domain http://www.helpmyfiancee.com please read and pass it on.
thank you
if anyone has questions pm me on irc.
Bugs!
In 3 years, 200 days, 23 hours, and 39 minutes Gentoo got 100.000 bugs.
That's 77.1613620909 bugs per day.
The first bug on record is How do I attach an ebuild. (at 2002-01-04 02:39 PDT) and the 100.000th is clanlib 0.7.8-r1 can't emerge (xargs: environment is too large for exec) (at 2005-07-23 03:18 PDT). As of this post we are up to 100.109 bugs. The off-by-one in the counting is because the first bug is #2. And as we all know 100.002-2 = 100.000!
I wonder how many of these are due to people using crazy CFLAGS?
Edit: Random wanker Daniel Hancock's comment is deleted and his IP is 218.101.84.118 for future reference.
I'm here in America, would rather be home
Yeah.
I'm here.
TSA stole my zippo.
I'd rather be home in York with my fianc
Offline until further notice
Monday afternoon I'm going to shut down my desktop and pack it away into my suitcase and make my way to London, then Dublin, then JFK, then Rochester.
Not sure when I'm going to be online again. I'm due to get in to ROC at 19:30ish. If everything goes okay I'll try and set everything up that night and say hello. If not I'll try and find another machine to use...
This will not be a fun trip. My fianc
Means to an end
It occurs to me that I lead a very dull life.
My daily routine is something like: Play Ultima Online.........
Yeah, dull.
This year I've been in a tough spot since I've been in the UK I'm not allowed to work because I am on a visitor's visa. My fianc
It was rejected
What, huh?
Okay, in case you haven't seen the numerous images urging EU citizens to tell their representitives to vote no on the patent thing here's a text thingy:
EU citizens! Tell your representitives in EU parliment to either absorb the United States (since it seems so hell-bent on emulating it) or to deviate and vote no on the patent thingy.
One thing down, and another pops up again.
With bugs #42712 and #94444 out of the way the way is paved to figure out what on earth to do with this bug. As I'm typing now I'm thinking perhaps moving the patch to sys-devel/distcc-config since it's a patch for distcc-config and not distcc.
I also was finally suckered into taking on ccache maintainership. After two years someone finally managed to pin it on me. I kid, I kid.
On a personal note:
My ears REALLY fucking hurt. Going to see my doc next week after a blood test. Going to ask him to see what's going on and perform a hearing test since I wouldn't be surprised if there is a bit of loss as a result of fluid buildup or infection.
I'm also headed to Heathrow on the night of the 18th and should arrive in the wee hours of the 19th. Check in at 05:15, flight leaves 07:15 and get to Rochester at around 19:35 (New York time). What a crap time to go back to Rochester, though truthfully ANY time is a bad time to go to Rochester, but in the summer it is a really bad move.
That blasted Gentoo Guide!
The diff has been posted that will update the outdated (?) existing guide.
I am SO glad to get that out of the way.
:: Next >>