> Package: fai-server
> Severity: important
> 
> I think this section of the code in fai-mirror is wrong.
> 
> ---
> # if we are using nfs mounts for Debian mirror, this may fail here,
> # since inside a chroot environment different dir are used
> 
> # if sources.list includes file AND FAI_DEBMIRROR is defined we have to mount
> # otherwise mounting is not needed. call task_mirror
> 
> if [ "$FAI_DEBMIRROR" ]; then
>     mount -r $FAI_DEBMIRROR $FAI_ROOT/$MNTPOINT || exit 9
> fi
> ---
> 
> If FAI_DEBMIRROR is set, this leads to a mount command like this:
> 
>     mount -r 192.168.12.22:/var/debmirror ///mnt2
> 
> Clearly, that is just wrong. After I commented out the above section I
> could run the fai-mirror script fine.
>

To me it is absolutely not clear, why this should be wrong!?

Thanks,
Michael

Attachment: signature.asc
Description: Digital signature

Reply via email to