Vic Cross wrote:
Thanks Vic. I did read that section and thought I had taken it in to
account. I now have the install running. When it finishes, I will go
back and confirm a few things. I beleive the problem is even worse then
you describe. It appears that the install can only be run if vsftp is
configured such that the ftp logon runs in a chrooted jail. In my case
it was not. I uncommented local_enable=yes in vsftpd.conf. IMHO, there
is a bug in the yast install as it can not accomodate a relative path
unless the server is in a chrooted jail. At some point in the process,
yast does a cd /some directory which will places it in absolute rather
than relative path. Therefore I had to run the install as anonymous.

Gary Ernst
MainLine

On Sat, 4 Sep 2004, Gary A. Ernst wrote:



The release notes indicate that you copy... <detail snipped>



The same release notes have an (easily missed, IMHO) statement that the installer can only use a relative directory path for FTP installs. That means that your install tree MUST be underneath the home directory of the userid you are using to access the FTP server. This applies to anonymous FTP as well.

I used a bind mount to do this (I could not use a symlink as my
installation files are on a different filesystem and vsftpd doesn't follow
symlinks outside the initial filesystem).

# mount -o bind /data/installtrees/suse/sles-9-s390/ /srv/ftp/suse

where the tree of install directories has been set up at
/data/installtrees/suse/sles-9-s390, and the FTP home directory (for
anonymous FTP) is /srv/ftp.  Now in YaST, the path to the installation is
just ftp://192.168.0.1/suse.

Of course you don't have to bind mount...  You can also set up the
installation tree under the FTP user's directory and loopback mount the CD
images there (which means that very little data really exists under the
FTP directory, just the spots to mount the CDs).  Be careful that you can
successfully browse via FTP into the loopback-mounted CDs though -- again,
vsftpd gets funny about crossing between filesystems.  For some reason it
doesn't mind bind mounts -- but that may be because I used a real FTP
userid and set up the bind mount under that user's home directory rather
than using anonymous.

Hope this is helpful...

Cheers,
Vic Cross

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390




----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to