Copying ssh-keys before sshd is started

2005-03-14 Thread Michael Tautschnig
Hi!
To get rid of host-key-has-changed-warnings when trying to do ssh to some 
client being installed I'm looking for a solution - has anyone already written 
such a hook or is there any other way to solve this problem?

Thanks,
Michael


Re: ubuntu hoary FAI packages

2005-03-14 Thread Thomas Lange
> On Fri, 11 Mar 2005 20:52:42 +0100, Henning Sprang <[EMAIL PROTECTED]> 
> said:

> It's an interesting question how we could really incorporate it into FAI
> so that we can have debian/sarge, ubuntu hoary and maybe other distros
> nicely next to each other witth one
> FAI installation. Holger Levsen (i believe he was it) came up with the
First, debootstrap must support this. Currently on Debian
/usr/lib/debootstrap/scripts/ only includes the scripts for the Debian
distributions.

> idea to have an /etc/fai- for each, and something like
> /usr/lib/fai/nfsroot- for each, /usr/local/share/fai can be
> shared or now.  That works somehow, but I am not sure if this is the
> best idea (sorry Holger, just a feeling that it must be better), e.g.

make-fai-nfsroot -c supports different config directories
for that.

fai-chboot -d supports also a different config directory.
-- 
regards Thomas


Re: update FAI-installed system

2005-03-14 Thread Michael Tautschnig
How can I avoid overwriting config files changed by me without asking?
How are others handling this situation?
/etc/apt/apt.conf :
DPkg
{
  Options {
  "--abort-after=4711";   // a magic number in cologne ;-)
  "--force-confnew";
  }
};
is set up by FAI as a default - replacing force-confnew with force-confdef 
will tell apt/dpkg that you don't want your files to be replaced.

Regards,
Michael


Re: update FAI-installed system

2005-03-14 Thread Henning Glawe
On Mon, Mar 14, 2005 at 10:00:35AM +0100, Steffen Grunewald wrote:
> although re-installation in most cases might be suitable (and ensures that
> all computers will get the same software versions as long as the mirror is
> frozen), from time to time I have to do upgrades, in particular on 
> solitary machines.
> If I only call "apt-get update; apt-get upgrade" almost no questions would
> be asked, and I'm afraid that configuration files that have been adjusted
> by a FAI script/* would also be silently overwritten.
> Is that true (or am I just paranoid)?
> How can I avoid overwriting config files changed by me without asking?
> How are others handling this situation?

if the adjusted files are conffiles (in the dpkg sense), then dpkg will ask
before overwriting them.
( as the dpkg "default" selection is (almost) always right,
'force-confdef' in /etc/dpkg.cfg will make dpkg ask only if there is no
sensible default. )

-- 
c u
henning


update FAI-installed system

2005-03-14 Thread Steffen Grunewald
Hi,

although re-installation in most cases might be suitable (and ensures that
all computers will get the same software versions as long as the mirror is
frozen), from time to time I have to do upgrades, in particular on 
solitary machines.
If I only call "apt-get update; apt-get upgrade" almost no questions would
be asked, and I'm afraid that configuration files that have been adjusted
by a FAI script/* would also be silently overwritten.
Is that true (or am I just paranoid)?
How can I avoid overwriting config files changed by me without asking?
How are others handling this situation?

Cheers,
 Steffen

-- 
Steffen Grunewald * * * Merlin cluster admin (http://pandora.aei.mpg.de)
Albert-Einstein-Institut (MPI Gravitationsphysik, http://www.aei.mpg.de)
   Science Park Golm, Am Mühlenberg 1, 14476 Potsdam, Germany
e-mail: steffen.grunewald(*)aei.mpg.de * +49-331-567-{fon:7233,fax:7298}