Configuration file and auxiliary packages
Patrick Goetz <pgoetz <at> math.utexas.edu>
2003-09-30 23:20:30 GMT
We run a network of 300+ debian servers and desktops with a few Mac OS X
clients thrown in for good measure. Having hundreds of machines means
that there's usually a lot of installing and upgrading going on.
I'm mostly happy with the dpkg system, but there are a couple of things
that have been bothering me for a while, and I'm wondering if anyone has
come up with satisfactory solutions to the following issues, which
basically boil down to automated installs with site-specific configuration
and auxiliary files.
For many packages we have site-specific configuration files we want set up
on all the machines, and with this many machines we don't want to be
editing configuration files by hand on every machine, for every new
install of a package. The solution we've come up with is to have a
package whose preinstall script simply copies the correct configuration
files to the system *before* the packages which use these configuration
files get installed. Obviously this is not optimal, since, for example,
it's already happened several times that a machine has gone out when
someone accidentally forgot to run the "conform" package, and all the
configuration files are wrong.
A less easily solved problem has to do with auxiliary files. We are heavy
TeX users, and consequently have various TeX gadgets that are not packaged
by Debian. OK, so we have our own tex-utm package containing these
things. What do you do, though, if you want to actually replace a
file from, say, the tetex package with one you've customized yourself?
The package system breaks down at this point, since the local and debian
packages will conflict. There are ways to get around this (forced
installs, etc.) but these complicate package installation considerably.