setup_harddisk and softupdate

2006-12-08 Thread Janning Vygen
Hi, i am using FAI for a few servers only by calling softupdate as the servers are pre-installed already and i have no control over the boot sequence. I have two disks, one is used and formatted for the pre-installed system, the second disk is unused. Now i wrote a hook softupdate.CLASS to run

Re: fcopy feature request: report if a file was copied

2006-12-06 Thread Janning Vygen
Am Mittwoch, 6. Dezember 2006 17:01 schrieben Sie: > > Am Mittwoch, 6. Dezember 2006 16:13 schrieb Michael Tautschnig: > > > > hi, > > > > > > > > as i use softupdate a lot , it would be nice to have a fcopy feature > > > > which reports if any files or file permissions were changed. Look at > > >

another fcopy feature request -k --keep-modes

2006-12-06 Thread Janning Vygen
sometimes i don't care about the owner:group:modes:timestamp example /etc/ssh/sshd_config. I just want to copy my content to /etc/ssh/sshd_config, but owner, group and modes should be kept. Of course i can add -m but then i need to know the correct permissions and ownership of each file i want

Re: fcopy feature request: report if a file was copied

2006-12-06 Thread Janning Vygen
Am Mittwoch, 6. Dezember 2006 16:46 schrieb Janning Vygen: > Am Mittwoch, 6. Dezember 2006 16:13 schrieb Michael Tautschnig: > > > hi, > > > > > > as i use softupdate a lot , it would be nice to have a fcopy feature > > > which reports if any files or fi

Re: fcopy feature request: report if a file was copied

2006-12-06 Thread Janning Vygen
Am Mittwoch, 6. Dezember 2006 16:13 schrieb Michael Tautschnig: > > hi, > > > > as i use softupdate a lot , it would be nice to have a fcopy feature > > which reports if any files or file permissions were changed. Look at my > > script in BASE/50-ntp > > [...] > > I guess postinst is what you reall

Re: fcopy feature request: report if a file was copied

2006-12-06 Thread Janning Vygen
Am Mittwoch, 6. Dezember 2006 15:35 schrieb Thomas Lange: > >>>>> On Wed, 6 Dec 2006 15:23:58 +0100, Janning Vygen <[EMAIL PROTECTED]> > >>>>> said: > >>>>> > > if [ `fcopy -iM /etc/ntp.conf` -gt "0" ] > > &

Re: Fcopy patch regarding debian bug report #360184

2006-12-06 Thread Janning Vygen
Am Mittwoch, 6. Dezember 2006 15:24 schrieb Henning Glawe: > On Wed, Dec 06, 2006 at 12:01:03PM +0100, Janning Vygen wrote: > > + return 1 if ( $suid != $duid or $sgid != $dgid or $smode != $dmode or > > $stime != $dtime ); > > thinking about (pre/post)inst scripts, compari

fcopy feature request: report if a file was copied

2006-12-06 Thread Janning Vygen
hi, as i use softupdate a lot , it would be nice to have a fcopy feature which reports if any files or file permissions were changed. Look at my script in BASE/50-ntp #!/bin/sh fcopy -iM /etc/ntp.conf /etc/init.d/ntp-server stop ntpd -q -g hwclock --systohc /etc/init.d/ntp-server st

Fcopy patch regarding debian bug report #360184

2006-12-06 Thread Janning Vygen
Hi fai, attached there are two patch files for fcopy, one for debian stable version and one for the latest from fai (which send Thomas Lange to me yesterday) These Patch files should fix the bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=360184 "In case only the modes are change

Re: fcopy

2006-12-06 Thread Janning Vygen
Am Dienstag, 5. Dezember 2006 21:04 schrieb Michael Tautschnig: > > >>>>> On Tue, 5 Dec 2006 15:46:35 +0100, Janning Vygen > > >>>>> <[EMAIL PROTECTED]> said: > > >>>>> > > > If i fcopy a file which is alread t

fcopy

2006-12-05 Thread Janning Vygen
Hi, i have read the fcopy man page and didn't find a hint on the following problem: If i fcopy a file which is alread there with same content, but the file in SOURCE has other file access permissions, why it is not copied? I even tried to set the permissions with -m but no way. If the file is

Re: Anfängerfrage

2006-11-30 Thread Janning Vygen
Am Donnerstag, 30. November 2006 14:56 schrieb Holger Levsen: > Hi, > > On Thursday 30 November 2006 13:26, Janning Vygen wrote: > >http://www.mail-archive.com/linux-fai@rrz.uni-koeln.de/msg03279.html > > > > Dort wird FAI auf der Ramdsik gebootet. [...] > > A

Re: AW: Re: Anf*ngerfrage

2006-11-30 Thread Janning Vygen
Am Donnerstag, 30. November 2006 15:09 schrieb Janning Vygen: > > kernel [...] ip=192.168.1.1demohost::off [...] > > Da streibt mich zur Zeit um: Wie finde ich die passenden kernel options > heraus? gerade selbst entdeckt: man mus snur im FAI Guide nachlesen (3.3 Creating

Re: AW: Re: Anf*ngerfrage

2006-11-30 Thread Janning Vygen
Am Donnerstag, 30. November 2006 14:58 schrieb Thomas Memenga: > Hi Janning, > > fallst du deine Server bei hetzner hast: Lass es mich wissen ob du das hin > bekommst. ja, ich habe die server bei hetzner. wenn ich alles fertig habe, werd eich da gerne ein howto draus machen. > Ich habe per ramdi

Re: Anfängerfrage

2006-11-30 Thread Janning Vygen
Am Mittwoch, 29. November 2006 20:28 schrieben Sie: > Hi, > > On Wednesday 29 November 2006 19:41, Janning Vygen wrote: > > Bei einigen Konfigurationen von Datenbankservern ist es wichtig zu > > partionieren. Kann man beim softupdate irgendwie trotzdem partionieren? >

Re: Anfängerfrage

2006-11-29 Thread Janning Vygen
Am Mittwoch, 29. November 2006 17:47 schrieb Holger Levsen: > > Im Prinzip habe ich aber mit dem Rescuesystem (debian 3.1) aber ja genau > > das Startsystem, was notwendig ist im RAM. Kann man vom Rescuesystem aus, > > die weitere Installation starten? Oder anders formuliert: Kann man FAI > > auch

Anfängerfrage

2006-11-29 Thread Janning Vygen
Hallo zusammen, [mail auf deutsch soll ja erlaubt sein, ich kann aber auch gerne zu englisch wechseln] da ich zur Zeit 25 Server konfigurieren muss, wovon eine Gruppe Webserver, eine Gruppe Datenbankserver usw. sind, bin ich auf FAI gestoßen. Bisher habe ich meine Server immer "von Hand" konfi