Some issues
Steffen Grunewald
steffen.grunewald at aei.mpg.de
Fri Aug 27 17:09:28 CEST 2004
On Fri, Aug 27, 2004 at 04:58:43PM +0200, Thomas Lange wrote:
> >>>>> On Thu, 26 Aug 2004 07:15:01 +0000, Steffen Grunewald <steffen.grunewald at aei.mpg.de> said:
>
> > There are several items on my wish list though:
>
> > - If I use an MD5 encrypted password (a special one that contains a / in
> > the salt field) I get a crippled entry in /etc/shadow (It's already in
> > variables.sh, so something went wrong before). Only the part starting
>
> try single quote ' not doubble quotes as in this eg.
>
> rootpw='asdfser24234ewsd23d'
> I hope this will work.
OK; I'll try. Where is the value written to variables.sh?
> > - I'd like to have support for more filesystems in the install kernel.
> Which?
XFS. Perhaps Reiser. But XFS is most important (for me).
Using xfsprogs, I can format XFS partitions during install, but cannot
write to them...
> > - task logging could use some time stamping (also for faimond)
> But what if the time on the install client will not be set (timeserver
> is not defined...). Maybe the faimond should do timestamping.
Even then relative timestamps in the logs might help putting them into
right order. Yes, faimond should do its own timestamping, agreed.
> > - an easy way to append "append=..." lines to grub/menu.lst during
> > kernel install (without tampering with the file afterwards)
>
> > - make-fai-nfsroot might be able to skip the NFS server reconfig (I know
> > what I'm doing, and I'm running the FAI server on a production
> > machine, so restarting -not reloading- the NFS server is a bad idea)
> OK. should be a small patch.
>
> > - the tasksel issue
> fixed in 2.6.2
... and in your preliminary version. I apologize for not replying
before, have been a bit busy with a lot of other things.
> > Also hints how to install a YP master server (files copied from a
> > non-NIS setup) using FAI would be appreciated, I couldn't find anything
> > about this in the docs...
> This is not the scope of FAI, it's mot a nis howto question which I
> will not answer in my docs.
Solved!
chroot $target domainname $DOMAIN
chroot $target sh -c "cd /var/yp && make NOPUSH=true target"
would do anything I need. I didn't setup a slave server yet, but it's
certainly easier (since ypinit -s doesn't require interaction)
$DOMAIN would be set from /etc/defaultdomain.
> BTW here's the code I created some days ago to saet up an yo master server.
>
> if ifclass NISSERVER; then
> mkdir -p $target/var/yp/$YPDOMAIN
this would be done by "make target"
> rm -f $target/var/yp/$YPDOMAIN/* $target/var/yp/ypservers
> for s in $YPSRVR; do
> echo "ypserver $s" >> $target/var/yp/ypservers
> done
I get the ypservers file from my files/ tree.
> cat $target/var/yp/ypservers | awk '{print $$0, $$0}' | $target/usr/lib/yp/makedbm - $target/var/yp/$YPDOMAIN/ypservers
I deleted the "$(NOPUSH) ||" in front of make ... ypservers in a
cfengine script.
> # call make for nis once during first boot
> cat >$target/etc/rc2.d/S99nis <<-EOF
> #! /bin/sh
> cd /var/yp
> make
> rm -f \$0
> EOF
> chmod a+rx $target/etc/rc2.d/S99nis
I don't like scripts to run on first boot :-) That's why I love FAI so
much.
Thanks a lot!
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}
More information about the linux-fai
mailing list