Postings by brian

straight dope on SSL certs?

My self-signed SSL certificates (for Postfix & Cyrus-IMAP) have just
expired and so I'm faced with once again trying to decipher (heh) the
multitude of instructions for setting this up. I still have my notes
from a year ago but, though everything's been working fine (AFAIK), I'm
not convinced that what I'm doing is correct. I've read many tutorials
online but each one seems to confuse the issue further.

For one thing, before I'd even started, I'd found some cert files
already existed. I believe they were set up by the Apache rpm.

Network Manager doesn't play nice

Yesterday, I enabled NM to see if it would help with an issue I was
trying to sort out. Today, upon booting, I found that NM had overwritten
my resolv.conf. No backup; it simply replaced the old one, which
happened to have about half a dozen nameservers listed (some commented
out) with one that has no nameservers listed.

Now, I had the file backed up anyway but I don't see any warning in the
docs that it does this. Is it just me, or is this rather shoddy
behaviour on NM's part?

thunderbird 3b4 accounts problem

I've just installed TB3b4 (because 3b3 was driving me nuts). I use IMAP,
so on startup, it proceeded to download everything (although I'm pretty
sure 3b3 had already done that). Unfortunately, it appears to have
screwed things up. I have several accounts; they're all listed on the
left side, but I have just a single Inbox at the top that contains
everything from the Inbox of each account.

Does anyone know the safest way to back out of this mess?

And, is this the "correct" behaviour? If so, I'm not a fan.

smartd.conf corrupted by ... something

2.6.30.5-43.fc11.i586 #1 SMP i686 athlon i386

I'm trying to diagnose/fix repeated hangups and found the following in
/var/log/messages:

smartd[2217]: Configuration file /etc/smartd.conf has fatal syntax errors.

So, I opened the file and found this weirdness:

-- snip --
1418644 /sbin/lvm.static
3810 /sbin/ifup
841 /sbin/setsysfont
5207 /sbin/start_udev
17921 /sbin/dhclient-script
1124096 /sbin/fsck.ext3
366 /sbin/mpath_wait
912584 /sbin/multipath.static
...
5423 /usr/lib/python2.5/encodings/__init__.py
4376 /usr/lib/python2.5/encodings/__init__.pyc
14337 /usr/lib/python2.5/encodings/aliase

debug system freeze

Every couple of days, for the past couple of weeks, my computer locks up
on me. I can't drop out of X; the only thing to do is hold down the
power button to shut it down. Can anyone suggest how to debug this?

rogue suspend is driving me nuts

2.6.29.6-217.2.16.fc11.i586

For the past couple of weeks, my desktop machine has been shutting down
on its own. I thought it might be a hardware problem until I noticed
that, each time, /var/log/pm-suspend.log was being written to:

Initial commandline parameters:
Mon Aug 31 12:53:31 EDT 2009: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00auto-quirk suspend suspend: Adding quirks
from HAL: --quirk-dpms-on --quirk-dpms-suspend --quirk-vbe-post
--quirk-vbemode-restore --quirk-vbestate-restore --quirk-vga-mode-3

... etc.

So, what the heck is driving this?

random shutdowns

2.6.29.6-217.2.8.fc11.i586

Since yesterday, my computer has been shutting down randomly. Several
times, I had walked away from the box with nothing special running. I
thought it might be a hardware issue, checked connections, etc.

I wanted to know if there might be something in /var/log that would give
a hint as to the problem. While poking around in there, I had a look at
pm-suspend.log.

bad PNGs, thunderbird and firefox

thunderbird-3.0-2.6.b3.fc11.i586
firefox-3.5.2-2.fc11.i586

Suddenly, most of the icons in thunderbird and *some* images in ff are
pretty messed up. They appear to be indexed to just 3 colours.
Sometimes, it's predominantly neon green, other times purple or black.
In TB, it's the ones that are highlighted, except for folders, which
look fine. Any icon that's greyed out also appears normal. Also, the
icons in the "write" window i'm typing now in are ok.

In FF, there doesn't appear to be any rhyme or reason, save for the fact
they're all PNGs.

down the LCD panel rabbit hole

I apologise for the length; I've tried to cover as much as I (vaguely)
understand. I hope I haven't left anything out.

I've just purchased an LCD panel, Dell S2209W, and am trying to get the
resolution sorted out. The device is rated for 1920x1080.

In System/Admin/Display, the hardware is set to

SIS 661/741/760 PCI/AGP or 662/761Gx PCIE VGA

In configure the Monitor Type:
Generic CRT 1024x768

I changed this to "Generic LCD 1920x1080", logged out and back in as
advised, and the display was now very blurry as well as stretched
horizontally.

Do you trust the source of the packages?

I just tried to run software update again and got the following msg:

-- snip --
Do you trust the source of the packages?

Repository name: updates
Signature URL: /etc/pki/rpm/-gpg/RPM-GPG-KEY-fedora-i386
Signature user identifier: Fedora(11) <<...> at fedoraproject dot org>
Signature identifier: D22E77F2
Package: xfsprogs-3.0.1-6.fc11

Do you recognise the user and trust the key?
-- snip --

Well, yes, I recognise that. But how can I know to trust it? I see the
email address is at fedoraproject.org but I have no idea how to
interpret the "Signature identifier" nor whether updates can be spoofed.

terminal colours

How do I edit the colour scheme for gterm? After updating to F11,
terminal is *almost* displayed the same, but certain things--like
directories--are a different colour and are now unreadable.

I've looked in the prefs but can't figure out how it's supposed to work.
There's a colour pallete but no way to specify what colour should be
assigned to what. Surely there's a text file somewhere. I've poked
around in my home dir but don't see anything for gterm.

what is "Document Viewer"?

FC10

I only see a reference to this "Document Viewer" app in the Nautilus
"open as" dialog. There's nothing in the Applications menu and apropos
doesn't show anything. I'd like to know what the app is called and the
version.

strange ImageMagick dependencies

I was about to yum install ImageMagick on a FC8 server when I saw that
it would require some 47MB of dependencies, including a ton of gnome
packages, metacity, bluecurve-icon-theme and other xWindow stuff. This
is a headless server and I'd really rather not have to install all this
(in this particular situation) cruft.

Anyone have any idea how to get around this? If there are just a couple
of libs i can install that'll keep yum from listing off ~60
dependencies, that'd be fine. I'm just not that familiar with all of
this to be able to pick through it.

yum --enablerepo=updates-testing

I'm unable to install the libX11 update. Can anyone suggest what I might
be missing?

I first tried:
su -c 'yum --enablerepo=updates-testing update libX11'

This did seem to be checking updates-testing, although I got the "no
packages" msg. When I tried it again, yum didn't bother checking
updates-testing (though it did check updates). I then tried doing both

yum clean all
and
yum clean all --enablerepo='*'

... followed by the update cmd.

update caused java breakage

Since allowing some updates a couple days ago, I can no longer run
jEdit. It looks like it's something to do with X11 or GTK but that's
about as much as I can figure out.

When I try starting the app, it hangs with a white screen.

LVM resize sanity check

I have a /tmp volume that I'd like to increase. I've been having a look
at the LVM HOWTO [1] and various other pages online and think I've got
it figured out.

Nautilus troubles writing to CD

Fedora 7
Nautilus 2.18.3

I'm unable to burn a CD using the Nautilus CD/DVD creator. The image
seems to be created and shows the size at 665.6 MB. However, as soon as
the writing process begins i get this error:

-- snip --
Error writing to disc
There was an error writing to the disc:
The files selected did not fit on the CD.
-- snip --

The only thing Google shows me are po translations of this error msg.
There are a few pages online describing an error accessing the disc but
nothing about files not fitting.