Re: fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden TOUZEAU DAVID

I have rebuild the CD and there was a mistake...
I had 2 tarball and the second erase the first that is the reason...
So many thanks for you files are updated and it's working now.


Michael Tautschnig a e'crit:

-C
I didn't use this token because i use default /etc/fai configuration by 
default.


   > Config space /srv/fai/config mounted
Good. Did you copy your new files into this location?

yes new files are copied here :
/srv/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT

for example, after installing with new CD, the file installed is 
artica-1.1.050713.tgz but inside the tgz the file version is 
artica-1.1.050609 from first compilation cd that i had build this morning.



i have mounted the iso
mount -o loop -t iso9660 /home/artica-1.1.050713.iso /mnt/iso

there is a 
/mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT


cp 
/mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT 



Are you damn sure that this tgz file is the only source of your
/usr/share/artica-postfix/VERSION file? You don't install any deb, use ftar,
copy some files explicitly, etc?

If you turn on verbose, you should find quite a bit of output in
/tmp/fai/{fai,shell}.log or /var/log/fai/localhost/last-install/{fai.shell}.log.

Best,
Michael


  


--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849


Re: fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden Michael Tautschnig
>
> -C
> I didn't use this token because i use default /etc/fai configuration by 
> default.
>
>> Config space /srv/fai/config mounted
> Good. Did you copy your new files into this location?
>
> yes new files are copied here :
> /srv/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT
>
> for example, after installing with new CD, the file installed is 
> artica-1.1.050713.tgz but inside the tgz the file version is 
> artica-1.1.050609 from first compilation cd that i had build this morning.
>
>
> i have mounted the iso
> mount -o loop -t iso9660 /home/artica-1.1.050713.iso /mnt/iso
>
> there is a 
> /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT
>
> cp 
> /mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT
>  

Are you damn sure that this tgz file is the only source of your
/usr/share/artica-postfix/VERSION file? You don't install any deb, use ftar,
copy some files explicitly, etc?

If you turn on verbose, you should find quite a bit of output in
/tmp/fai/{fai,shell}.log or /var/log/fai/localhost/last-install/{fai.shell}.log.

Best,
Michael




pgpOewrwJME1a.pgp
Description: PGP signature


Re: fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden TOUZEAU DAVID


-C
I didn't use this token because i use default /etc/fai configuration by 
default.


   > Config space /srv/fai/config mounted
Good. Did you copy your new files into this location?

yes new files are copied here :
/srv/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT

for example, after installing with new CD, the file installed is 
artica-1.1.050713.tgz but inside the tgz the file version is 
artica-1.1.050609 from first compilation cd that i had build this morning.



i have mounted the iso
mount -o loop -t iso9660 /home/artica-1.1.050713.iso /mnt/iso

there is a 
/mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT


cp 
/mnt/iso/live/filesystem.dir/var/lib/fai/config/files/home/artica/artica-1.1.050713.tgz/DEFAULT 
/root/artica-1.1.050713.tgz

tar -xf /root/artica-1.1.050713.tgz
cat artica-postfix/VERSION
And the version is correct 1.1.050713

I have copied the cd to new computer and running installation
The cd copy the right version
see(http://www.artica.fr/images/cd1.jpg)

But after installing there is an old version of my program copied !
see (http://www.artica.fr/images/cd2.jpg)


totally crazy !!!


best regards






Thomas Lange a écrit :

On Wed, 07 May 2008 14:43:57 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> said:



> The fai-cd version is fai-cd 3.3
OK, this is a new version.

> FAI_CONFIGDIR=/srv/fai/config
Fine.

> here it is the ouptout:

> debian4r1:~# fai-cd -m /home/mirror -f /home/artica-1.1.050713.iso
> Bind mounting all required parts
> NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted

> Config space /srv/fai/config mounted
Good. Did you copy your new files into this location?

> Mirror /home/mirror mounted
> Writing FAI CD-ROM image to /home/artica-1.1.050713.iso. This may need 
> some time.

> re-directing all messages to /dev/null
> ISO image size and filename: 724M   /home/artica-1.1.050713.iso
Looks perfect for me. Can you please loop mount this iso image and
check if the correct file are located in the config space on this iso?


> Did you specify -C?
> I didn't find any -C on the man page... how this token works ???
man fai-cd



> 
No HTML mails, please.
  


--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849


Re: fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden Thomas Lange
> On Wed, 07 May 2008 14:43:57 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> 
> said:

> The fai-cd version is fai-cd 3.3
OK, this is a new version.

> FAI_CONFIGDIR=/srv/fai/config
Fine.

> here it is the ouptout:

> debian4r1:~# fai-cd -m /home/mirror -f /home/artica-1.1.050713.iso
> Bind mounting all required parts
> NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted

> Config space /srv/fai/config mounted
Good. Did you copy your new files into this location?

> Mirror /home/mirror mounted
> Writing FAI CD-ROM image to /home/artica-1.1.050713.iso. This may need 
> some time.
> re-directing all messages to /dev/null
> ISO image size and filename: 724M   /home/artica-1.1.050713.iso
Looks perfect for me. Can you please loop mount this iso image and
check if the correct file are located in the config space on this iso?


> Did you specify -C?
> I didn't find any -C on the man page... how this token works ???
man fai-cd



> 
No HTML mails, please.
-- 
regards Thomas


Re: fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden TOUZEAU DAVID

The fai-cd version is fai-cd 3.3

FAI_CONFIGDIR=/srv/fai/config


here it is the ouptout:

debian4r1:~# fai-cd -m /home/mirror -f /home/artica-1.1.050713.iso
Bind mounting all required parts
NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted
Config space /srv/fai/config mounted
Mirror /home/mirror mounted
Writing FAI CD-ROM image to /home/artica-1.1.050713.iso. This may need 
some time.

re-directing all messages to /dev/null
ISO image size and filename: 724M   /home/artica-1.1.050713.iso

Did you specify -C?
I didn't find any -C on the man page... how this token works ???

best regards



Thomas Lange a écrit :

On Wed, 07 May 2008 14:09:06 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> said:



> I have put some files in config/files/ directory in order to install 
> them during CD installation.


> ex:

> /config/files/home/mydir/file.tar.gz/DEFAULT
> /config/files/home/mydir/file2.tar.gz/DEFAULT


> sometimes i need to make updates of this files
> i replace them in the same folder /config/files/home/mydir/file2.tar.gz

> in each time i update files, i launch
> fai-cd -m /home/mirror -f -v /home/myiso.iso

> but i don't understand why after installing the system, files updates 
> inside  config/files directories are not updated.

> Is there a cache created ?
No, there's no cache. The config space which will be put on the CD it
taken from FAI_CONFIGDIR. Which version of fai-cd re you using? Did
you specify -C? There was a bug closed recently which may be related
to your problem. bug nr.: #475250

If not, please proved some output of your fai-cd run. You should see a
message like this in it:

Config space /etc/fai mounted

  


--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849


Re: fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden Thomas Lange
> On Wed, 07 May 2008 14:09:06 +0200, TOUZEAU DAVID <[EMAIL PROTECTED]> 
> said:

> I have put some files in config/files/ directory in order to install 
> them during CD installation.

> ex:

> /config/files/home/mydir/file.tar.gz/DEFAULT
> /config/files/home/mydir/file2.tar.gz/DEFAULT


> sometimes i need to make updates of this files
> i replace them in the same folder /config/files/home/mydir/file2.tar.gz

> in each time i update files, i launch
> fai-cd -m /home/mirror -f -v /home/myiso.iso

> but i don't understand why after installing the system, files updates 
> inside  config/files directories are not updated.
> Is there a cache created ?
No, there's no cache. The config space which will be put on the CD it
taken from FAI_CONFIGDIR. Which version of fai-cd re you using? Did
you specify -C? There was a bug closed recently which may be related
to your problem. bug nr.: #475250

If not, please proved some output of your fai-cd run. You should see a
message like this in it:

Config space /etc/fai mounted

-- 
regards Thomas


fai-cd: Is there a cache ?

2008-05-07 Diskussionsfäden TOUZEAU DAVID


Dear


I have put some files in config/files/ directory in order to install 
them during CD installation.


ex:

/config/files/home/mydir/file.tar.gz/DEFAULT
/config/files/home/mydir/file2.tar.gz/DEFAULT


sometimes i need to make updates of this files
i replace them in the same folder /config/files/home/mydir/file2.tar.gz

in each time i update files, i launch
fai-cd -m /home/mirror -f -v /home/myiso.iso

but i don't understand why after installing the system, files updates 
inside  config/files directories are not updated.

Is there a cache created ?
If yes, Is there a way to delete cache before make the iso file ?

Best regards





--
David Touzeau -- Linux Ubuntu 7.04 feisty 
FreePascal-Lazarus,perl,delphi,php artica for postfix management console 
(http://www.artica.fr) icq:160018849