[Lxc-users] Best way to report typo in script?
Schorschi
schorschi at dc.rr.com
Sat Jul 14 18:50:38 UTC 2012
One more issue... download URL is now segmented by first letter of file
name, so this breaks the download even if the $arch value is i386... Note
the packages directory structure in the URL below that is from the download
repository as noted...
http://ftp.funet.fi/pub/mirrors/fedora.redhat.com/pub/fedora/linux/releases/
17/Everything/i386/os/Packages/f/fedora-release-17-1.noarch.rpm
I forgot to reference this difference as well below.
Schorschi
From: Schorschi [mailto:schorschi at dc.rr.com]
Sent: Saturday, July 14, 2012 11:41
To: 'Lxc-users at lists.sourceforge.net'
Subject: Best way to report typo in script?
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/8fc3c988/attachment.html>
More information about the lxc-users
mailing list