> > > 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!? > > Because during the creating of the local mirror repository, there is > no reason to try and mount it at ///mnt2. And doing so, will create an > error because ///mnt2 is an invalid mount point. >
///mnt2 is only invalid, if /mnt2 doesn't exist at your site (which is probably true). This is an issue of FAI not being FHS compatible in that sense, but you can easily redefine it in /etc/fai/fai.conf I'm not entirely sure, whether it is a good thing to try to mount the FAI_DEBMIRROR or not, maybe not - Thomas? Regards, Michael
signature.asc
Description: Digital signature

