On Thu, Apr 25, 2002 at 09:30:28AM -0700, Peter Jay Salzman wrote: > > > that seems to indicate that these files aren't owned by any package. > > > something like /etc/hostname is no more owned by a package than, say, > > > /etc is. > > > > I assumed that they were put there by the "configure" stage of > > some package, and that I need to run dpkg-reconfigure on the > > right package. > > as i understand it (and this much i'm fairly sure of) each > package file has a list of directories it needs to install to. > in the installation process of that package, if the directory > doesn't exist, the directory is made. > > > Perhaps not -- maybe there is no built-in way to reconfigure a > > Debian system. > > whoa there, fella. what exactly do you mean "reconfigure"?
As I said in my original post: > > I am planning on shipping Linux boxen with Debian preinstalled. > > > > When the customer unpacks the box and fires it up, what is the > > best way to allow him to reconfigure the sorts of things that > > one normally configures as part of an install: > > > > * Hostname > > * IP addressing info > > * Passwords > > * User accounts > > * SSH key generation > > * ... > every time you change a hostname or a password, you're, in a > sense, reconfiguring the system. Yes, I know. > in fact, there's "dpkg-reconfigure" as you pointed out, which > reconfigures packages. Right. That's what I was planning on using. But I've yet to figure out what packages to reconfigure, since the configuration files that need to be changed (e.g. /etc/network/interfaces) don't show up as "belonging" to any installed package. So far I haven't been able to figure out which packages on which to run dpkg-reconfigure. I've tried dpkg-reconfigure on a few likely packages, but haven't been able to find the right ones. For example, lets try to reconfigure IP address info (mostly the stuff in /etc/network/interfaces). Since ifup/ifdown seem fairly closely tied to /etc/network/interfaces, I tried reconfgiuring ifupdown. Wrong. I tried reconfiguring netbase. Close -- it asks about IPV6, what IP addresses are to be local, and what network interfaces are present. But, it doesn't ask about the IP addresses for those interfaces. I could run dpkg-reconfigure on every installed package until I find the right ones, but I was hoping there would be an easier way to identify which packages need to be reconfigured to acheive a particular end. > do you really mean "no way to generate the base filesystem"? No. > what exactly happened? I am planning on shipping Linux boxen with Debian preinstalled. When the customer unpacks the box and fires it up, what is the best way to allow him to reconfigure the sorts of things that one normally configures as part of an install: * Hostname * IP addressing info * Passwords * User accounts * SSH key generation * ... > what are you trying to do? I am planning on shipping Linux boxen with Debian preinstalled. When the customer unpacks the box and fires it up, what is the best way to allow him to reconfigure the sorts of things that one normally configures as part of an install: * Hostname * IP addressing info * Passwords * User accounts * SSH key generation * ... > short of rm -rf'ing /var/lib/dpkg (and not having a backup), i kind of > doubt there's any problem debian can't handle. Probably not, but so far, I haven't figured out how to (for example) reconfigure the IP network info. I could give customers a list of files and instructions to edit them, but since there are already newt/dialog based utilities to _do_ that, I was hoping to take advantage of them. -- Grant Edwards [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]