Replying to my own post, I've found the problem, somehow
/srv/fai/config/etc/apt/sources.list was created as a directory. It was
probably something I did before when I was fiddling around with the
script :-[
Tim
Tim Edwards wrote:
I've upgraded to the 3.2.9 packages now and still getting the same
error. I've taken a copy of the fai-cd script and added in some
debugging statements above the mount command, ie:
file $tmp1
file $nfsrootdir/etc/apt/sources.list
mount -v --bind $tmp1 $nfsrootdir/etc/apt/sources.list
Interestingly I get:
Bind mounting all required parts
NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted
Config space /srv/fai/config/ mounted
Mirror /srv/fai/debian/ mounted
Trying mount --bind /tmp/tmp.vvccSG8734
/tmp/fai-cd.Wa8712/live/filesystem.dir/etc/apt/sources.list
/tmp/tmp.vvccSG8734: ASCII text
/tmp/fai-cd.Wa8712/live/filesystem.dir/etc/apt/sources.list: directory
mount: Not a directory
how come the sources.list file appears as a directory all of a sudden?
Could this be something to do with the way the rest of it is mounted?
Thomas Lange wrote:
On Wed, 20 Aug 2008 17:36:00 +0200, Tim Edwards
[EMAIL PROTECTED] said:
fai-setup -v
fai-mirror /srv/fai/debian/
export FAI_CONFIGDIR=/srv/fai/config/
You do not need to set this variable. The file /etc/fai/fai.conf is
sourced by fai-cd which will set this variable.
However I keep getting this:
faiserver:/srv/fai# fai-cd -m /srv/fai/debian/ /tmp/faiclient1.iso
Bind mounting all required parts
NFSROOT /srv/fai/nfsroot/live/filesystem.dir mounted
Config space /srv/fai/config/ mounted
Mirror /srv/fai/debian/ mounted
mount: Not a directory
This is on Debian Etch, any idea why it's happening?
Which FAI version are you using?