FAI and portmapper problems
glaweh at physik.fu-berlin.de
Fri Jun 10 08:03:33 CEST 2005
On Thu, Jun 09, 2005 at 05:54:54PM +0200, Thomas Lange wrote:
> >>>>> On Thu, 09 Jun 2005 17:46:45 +0200, David Hausheer <hausheer at tik.ee.ethz.ch> said:
> > Any ideas, why the ifconfig statement has no impact when run from within
> > a script under /usr/local/share/fai/scripts?
> It's just too late for starting the portmapper, since starting the
> portmapper is done before your script is executed. But try to activate
> the interface and to start the portmapper in your script.
> This should work and would be a nice workaround.
well, IMHO you are looking at
which is caused by a changed ifupdown. This new version is expecting the
interface status file at /dev/shm/network/ifstate, so the directory has to be
both existant and writable.
the patch I attached to the bug solves the problem for me: it bind-mounts
/tmp to /dev/shm/ and creates /dev/shm/network/ in create_ramdisk, so
ifupdown actually works.
More information about the linux-fai