[lang]

Present Perfect

Personal
Projects
Packages
Patches
Presents
Linux

Picture Gallery
Present Perfect

/etc/resolv.conf

Filed under: General — Thomas @ 12:17

2007-05-10
12:17

Anyone know of a way to make sure that a certain search domain is *always* added to /etc/resolv.conf no matter if I use dhcp or NetworkManager or whatever ? A little tired of having to edit it by hand each time I connect...

Fedora-specific solutions are alllowed, answers on a postcard.

sshd_config

Filed under: General — Thomas @ 12:01

2007-04-26
12:01

I have a lot of sshd_config files that are mostly the same, except for some small differences.

For example, ListenAddress could be different because a host has a bunch of virtual interfaces that ssh should not listen on.

I would like some sort of Include feature, so that I can Include an additional file if it is present with some customizations.  Does this exist for sshd ? If not, has anyone else ever felt the need for it ?

Answers on a post card below !

Lessons learned the hard way

Filed under: General — Thomas @ 13:05

2007-04-20
13:05

According to /etc/security/limits.conf, nproc controls the "max number of processes".

In reality, it counts a thread started by a process as a process.

This makes the setting orders of magnitude less useful. And, since it goes through pam, and thus gets decided at start time, also a little painful to recover from changing this setting to a higher value to account for threads.

All you docbook experts

Filed under: General — Thomas @ 19:23

2007-04-16
19:23

Dear lazyweb,

oasis.org is having spurious problems for the last week, hanging on about 1 out of 25 downloads.  This uncovered a bug in the docbook-dsssl setup on Fedora/Red Hat machines - in ideal situations the docbook toolchain should be set up such that local catalogs resolve the system id's to local files.

On FC6 I drilled down the relevant jade command line used by docbook2html to

 jade -G -t sgml -i html -d /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html -V paper-type=A4 -V %use-id-as-filename% /usr/share/sgml/xml.dcl test.xml

where test.xml is the most simple docbook/xml file you can make:

 <?xml version='1.0'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<book id="index">
</book>

strace'ing it shows that it's contacting oasis.org

A similar jade line on Ubuntu manages to process the docbook file completely locally.

So, question time:

  • does openjade/opensp offer ANY facilities AT ALL for debugging the resolving process, and the replacement of system id's with local copies of files ?
  • Anyone else who has seen similar problems with the oasis site ?
  • Can anyone figure out how ospcat works ? The short help and man page conflict each other, I cannot find a single example of its use, and none of the lines I tried produced any output whatsoever.
  • Is there any simple way to verify if my catalogs are set up correctly ?
  • Is there any way to tell openjade that it cannot use the network, ever ? xsltproc has -nonet, for example.
  • Are there tools comparable to "docbook2html" (which, you know, does the sensible thing - take a docbook file and output html) that wrap around xsltproc and do all the nasty bits like figuring out where the xsl stylesheets are ?

Thanks in advance.

Movies

Filed under: General — Thomas @ 09:30

2007-04-10
09:30

In honor of Quentin Tarantino, I’m going to make the second half of this review weaker than the first and the entire thing significantly longer than necessary.

Some critics should never try to make movies and remain critics forever. MovieJuice gets the misantropy just right in every single review.

« Previous PageNext Page »
picture