Gudlyf’s World

January 29, 2008

Filed under: General, Techie — Gudlyf @ 8:52 am

It’s time again for another Techie Time post. I will sometimes use these to post notes about technical issues I’ve run into that had nary a single hit on Google for help. So, in the event someone else has the same issue, welcome!

For anyone uninterested in the subject, you can look away now. You were warned.

For the past few weeks I’d been keeping my work system completely updated with Fedora 8. Suddenly, at some point, I noted that ‘rpcbind’ wasn’t updating, failing with an RPM script error. Here’s that error:

error: %pre(rpcbind-0.1.4-13.fc8.x86_64) scriptlet failed, exit status 4
error:   install: %pre scriptlet failed (2), skipping rpcbind-0.1.4-13.fc8

Eventually, this error caught up with me and NFS started not working and was wreaking havoc on our network. Here’s what I had to do to get the latest rpcbind installed:

rpm -q --scripts -p rpcbind-0.1.4-13.fc8.x86_64.rpm > /tmp/scripts

Within that new file I took out just what I needed and edited it a bit. In particular, note the ‘-o’ with useradd and groupadd:

/usr/sbin/userdel  rpc
/usr/sbin/groupdel rpc
# Now re-add the rpc uid/gid
/usr/sbin/groupadd -o -g 32 rpc
/usr/sbin/useradd -o -l -c "Rpcbind Daemon" -d /var/lib/rpcbind -g 32 \
-M -s /sbin/nologin -u 32 rpc

The ‘-o’ is necessary because this RPM kept failing because “32″ was not a unique userid. Thing is, it’s not in /etc/passwd (note that it removes it first!), so why it’s complaining I can only guess has to do with LDAP, though I haven’t had time to test yet.

Next, I forced the RPM to install without scripts, then ran the script:

rpm -U --force --noscripts rpcbind-0.1.4-13.fc8.x86_64.rpm
sh /tmp/scripts

Anyway, I hope that helps someone else.

January 12, 2008

Filed under: General — Gudlyf @ 8:52 pm

Have you seen these ads by Budweiser, where the CEO (or owner or whoever) is going on about how brewing a lager is so much more difficult because you can see through it and therefore see any “imperfections” in the beer? He then basically says that darker beers can get away with slacking off because they can hide impurities in the beer.

Uh, Budweiser … those “impurities” are from the use of actual, good malt and what gives the beer something you lack: FLAVOR. Claiming you have it tougher than darker beers is like Poland Spring saying they have it tougher than tap water.

January 8, 2008

Filed under: General — Gudlyf @ 2:54 pm

OK, an odd post to make when I don’t have much to say here lately (or time to do it), but I had to share these home-hitting PSA ads from Canada. Holy. Shite.

I will never carry a big vat of boiling oil around a kitchen. Ever.

[via Digg]

 
January 2008
S M T W T F S
« Nov   Feb »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Subscribe!
Subscribe with Feedburner


follow Gudlyf at http://twitter.com

-5, Troll

Site Meter

Creative Commons License
This work is licensed under a Creative Commons License.