[Lxc-users] Best way to report typo in script?

Schorschi schorschi at dc.rr.com
Sat Jul 14 18:41:07 UTC 2012


What is the best way to report bug in lxc-fedora.in script?  Well, not a bug
in the script alone, but an unexpected value, that breaks the script.  The
curl based download to create a RPM in the template cache, is broken by the
fact that the CLI arch command returns a valid value that does not
consistently match the download site directory structure, i686 versus i386
respectively.  The release URL created by the script to download RPM, is
thus wrong, both in 0.7.5 and 0.8.0-rc2 versions of the lxc-fedora.in
script.

 

URL format string is...

 

http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/
$release/Everything/$arch/os/Packages/fedora-release-$release-1.noarch.rpm

 

This generates...

 

http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/
17/Everything/i686/os/Packages/fedora-release-17-1.noarch.rpm

 

Moreover, the script is not designed to capture a failed download where the
returned data is an HTML formatted error message.  The following is true URL
on the website...

 

http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/
17/Everything/i386/os/Packages/fedora-release-17-1.noarch.rpm

 

The $arch variable in the lxc-fedora.in template script is set correctly in
that the 32-bit kernel is referenced as i686, because the CLI arch command
returns this value... but many of the Fedora mirrors reference i386 in their
respective directory structures on HTTP, FTP, etc. for download.

 

Schorschi

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20120714/ffadc9d5/attachment.html>


More information about the lxc-users mailing list