Re: Strange error w/ fai-mirror
[...] > > >To really fix it please file a bug with the Debian BTS to get this issue > >solved > >as soon as possible, it probably doesn't even take too much effort. > > > For this bug I would report that fai-mirror fails when detecting two > archs in a mirror? That seems like one bug (i.e. better error > message). I also think I'm going to read into this a little more (when > i have time) to see if I can figure out why fai-mirror is populating > /srv/fai/mirror with more than one arch or would that type of > investigation be generally discouraged? (I'm a bit new to open source > and contributing to projects, but would like to help more if i could) > Such an investigation is never discouraged, at least not within Debian, rather the converse is true: Whenever you find some bug or way to improve the software, this will be highly appreciated. It would be cool if you could file a bug report, such that this issue gets documented (publically), feel free to add the information that you are already investigating this issue. Thanks for your efforts, Michael pgpoJ0xxW4Ml7.pgp Description: PGP signature
Re: Strange error w/ fai-mirror
Michael Tautschnig wrote: [snip] Hmm, for the fix: It probably suffices to choose different mirror directories rather than different machines, but that's up to you. Well, its funny you mention that. I do have two different mirror directories. I have a /srv/fai/mirror and a /srv/fai/mirror64. I'm honestly not sure how /srv/fai/mirror ended up containing both arches in it. Before when i had done things, I had noticed that various fai scripts would detect my architecture and download accordingly. For example, I can't make an nfsroot for a 32bit machine on the 64 bit machine, at least I don't know how. What I had tried this time was to fake it out using debian's linux32 package and running the command: #>linux32 fai-mirror /srv/fai/mirror Where /srv/fai/mirror is a completely empty directory (i run an rm -rf /srv/fai/mirror/* before hand). Granted my package_config/DEFAULT contains packages for both i386 and amd64, I assumed (or hoped) that it would detect the architecture and build the appropriate mirror. It appears to have attempted to build mirrors for both archs and then failed right at the end, but I haven't read into the script enough to really understand what's going on, which would be my next step. To really fix it please file a bug with the Debian BTS to get this issue solved as soon as possible, it probably doesn't even take too much effort. For this bug I would report that fai-mirror fails when detecting two archs in a mirror? That seems like one bug (i.e. better error message). I also think I'm going to read into this a little more (when i have time) to see if I can figure out why fai-mirror is populating /srv/fai/mirror with more than one arch or would that type of investigation be generally discouraged? (I'm a bit new to open source and contributing to projects, but would like to help more if i could) Thanks for your help, Carl -- Carl J. Van Arsdall [EMAIL PROTECTED] Build and Release MontaVista Software
Re: Strange error w/ fai-mirror
[...] > > /srv/fai/mirror/dists/etch/main/binary-i386/Packages > /srv/fai/mirror/dists/etch/main/binary-amd64/Packages > > I use this machine to do fai installations for both 32bit and 64bit > machines. Originally I set things up on original machines and copied > them over. I was hoping to make things work on a single machine without > having to set things up on two different machines. For a workaround > i'll continue to do things on separate machines (a 32bit and a 64bit) > and copy the results over to my server unless anyone has a better > suggestion? > Hmm, for the fix: It probably suffices to choose different mirror directories rather than different machines, but that's up to you. To really fix it please file a bug with the Debian BTS to get this issue solved as soon as possible, it probably doesn't even take too much effort. Best, Michael pgpR2NpVvjgcS.pgp Description: PGP signature
Re: Strange error w/ fai-mirror
Michael Tautschnig wrote: I'm running 3.1.6. After running the command and some downloading the script produces an error... [apt doing stuff.] Calling apt-move /usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect overlord:/srv/fai/config/package_config# Is this something I've done wrong or a problem with the script? Definitely a problem of the script as it should deal with such situations properly, but in essence it means that pfile=$(find $mirrordir/dists -name Packages) returns more than one match (or none?) Could you try this find command manually after the script has failed? $mirrordir is the directory you are using for creating a mirror. Thanks, Michael Sure enough, it was finding two dists. /srv/fai/mirror/dists/etch/main/binary-i386/Packages /srv/fai/mirror/dists/etch/main/binary-amd64/Packages I use this machine to do fai installations for both 32bit and 64bit machines. Originally I set things up on original machines and copied them over. I was hoping to make things work on a single machine without having to set things up on two different machines. For a workaround i'll continue to do things on separate machines (a 32bit and a 64bit) and copy the results over to my server unless anyone has a better suggestion? Thanks, Carl p.s. Thanks to everyone that works on fai, its incredibly useful. -- Carl J. Van Arsdall [EMAIL PROTECTED] Build and Release MontaVista Software
Re: Strange error w/ fai-mirror
> I'm running 3.1.6. After running the command and some downloading the > script produces an error... > > [apt doing stuff.] > Calling apt-move > /usr/bin/fai-mirror: line 319: $pfile: ambiguous redirect > overlord:/srv/fai/config/package_config# > > Is this something I've done wrong or a problem with the script? > Definitely a problem of the script as it should deal with such situations properly, but in essence it means that pfile=$(find $mirrordir/dists -name Packages) returns more than one match (or none?) Could you try this find command manually after the script has failed? $mirrordir is the directory you are using for creating a mirror. Thanks, Michael pgpJZMrDcVK8T.pgp Description: PGP signature