chroot scripts using <location>nfs:// fail
Hi, chroot-Scripts can't be specified using the <location>nfs://... tag. When AY mounts the given NFS location to copy the chroot scripts, it mounts the directory on /mnt, thus hiding the already installed system. Since AY tries to copy the chroot scripts *into* the installed system, i.e., to /mnt/var/adm/..., this must fail or course. You can see this problem in y2log: 2004-07-14 14:42:12 <1> linux(1121) [agent-system] SystemAgent.cc(Execute):1094 mkdir /mnt/var/adm/autoinstall/scripts 2004-07-14 14:42:12 <1> linux(1121) [agent-system] SystemAgent.cc(Execute):1094 mkdir /mnt/var/adm/autoinstall/logs 2004-07-14 14:42:12 <1> linux(1121) [YCP] AutoinstScripts.ycp:375 Writing chroot script into /mnt/var/adm/autoinstall/scripts/mychroot.script 2004-07-14 14:42:13 <3> linux(1121) [bash] ShellCommand.cc(shellcommand):73 /bin/cp: cannot create regular file `/mnt/var/adm/autoinstall/scripts/mychroot.script': No such file or directory That's the point where the target path /mnt/var/adm/autoinstall/scripts/ has been hidden by mounting the NFS directory. Since we can fetch stuff only via NFS (no http or whatsoever), we can't use locations for chroot scripts at all at the moment. Is there a change that this could be patched for the current release (not just for the next release)? I would also be happy about an inofficial patch! cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
participants (1)
-
Frank Steiner