package: fai-client

Hi,
I'd like to use FAI softupdates on a system where I have the configspace only locally, for now. So, I set

FAI_CONFIG_SRC=file:///etc/fai/config

in fai.conf, and place a proper configspace in there.
But it doesn't run as it should, instead I get this:


--- start ---

test:/etc/fai# rm /var/run/fai/current_config
test:/etc/fai# fai -N softupdate
             -------------------------------------------------
                   Fully Automatic Installation  -  FAI

               FAI 3.2.5, 5 May 2008  Copyright (c) 1999-2007
               Thomas Lange  <[EMAIL PROTECTED]>
             -------------------------------------------------

Using configuration files from /etc/fai
Calling task_confdir
FAI_FLAGS:
Using local path /etc/fai/config
WARNING: directory /var/lib/fai/config/class not found.
Problems accessing the config space.

--- end ---


When I run it again, I get this:

...
Using local path /etc/fai/config
ln: creating symbolic link `/var/run/fai/current_config' to `/var/lib/fai/config': File exists
WARNING: directory /var/lib/fai/config/class not found.
Problems accessing the config space.
...


So, in the first run, FAI somehow created a link to the internal store of the config file, but did not copy it to this location.


I got FAI to do it's work by also setting the variable FAI to /etc/fai/config, (after deleting the wrong symlink!) but in my opinion, that should not be necessary, but FAI should be ignored if the SRC is set with file:/// , or the FAI_CONFIG_SRC should be copied to FAI.

The first and easiest fix would be to hint the user to set FAI, too in a comment in the config file.







--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to