Your message dated Wed, 15 Jan 2020 17:50:11 +0000
with message-id <e1irmnz-000hc3...@fasolo.debian.org>
and subject line Bug#944678: fixed in rinse 3.4
has caused the Debian Bug report #944678,
regarding rinse downloads not reproduceable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
944678: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944678
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: rinse
Version: 3.3
Severity: important

I’m using rinse as part of the FAI toolchain to install OracleLinux-7
machines. Building the RPM basefile fails about half of the time (e.g.
with message "Failed to initialize NSS library"). Sometimes the error
message suggests that a shared library could not be found.

I believe the root cause is that rinse downloads different packages
every time if the RPM repository contains multiple packages of the same
name (obviously with different version numbers).

I could reproduce this using the following setup:

1) Add the OracleLinux-7 repository to /etc/rinse/rinse.conf

[ol7]
mirror.amd64 = http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64

2) Create a stripped-down /etc/rinse/ol7.packages

nss
nss-softokn
nss-softokn-freebl
nss-sysinit
nss-tools
nss-util

3) Show what rinse would download

# rinse --directory /tmp --distribution ol7 --arch amd64 --cache 0 --print-uris
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-3.34.0-4.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-softokn-3.44.0-5.0.1.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-softokn-freebl-3.34.0-2.0.1.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-sysinit-3.36.0-5.el7_5.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-tools-3.36.0-5.el7_5.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-util-3.34.0-2.el7.x86_64.rpm

# rinse --directory /tmp --distribution ol7 --arch amd64 --cache 0 --print-uris
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-3.44.0-4.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-softokn-3.36.0-5.0.1.el7_5.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-softokn-freebl-3.34.0-2.0.1.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-sysinit-3.36.0-7.1.el7_6.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-tools-3.36.0-7.1.el7_6.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-util-3.34.0-2.el7.x86_64.rpm

# rinse --directory /tmp --distribution ol7 --arch amd64 --cache 0 --print-uris
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-3.44.0-4.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-softokn-3.36.0-5.0.1.el7_5.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-softokn-freebl-3.36.0-5.0.1.el7_5.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-sysinit-3.36.0-7.el7_5.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-tools-3.44.0-4.el7.x86_64.rpm
http://public-yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/nss-util-3.36.0-1.1.el7_6.x86_64.rpm


As you can see I get each time a different mixture of 3.34, 3.36 and
3.44 package versions if I run the same command multiple times in a row.

NSS is used by the ’rpm’ package to unpack the packages in the chroot
which sometimes fails caused by mismatching shared libraries. Therefore
I don’t get a working base in the chroot where I could use ’yum’ to
update all the packages to the latest version.

I believe that ’rinse’ should only download the latest version of every
package found in the package repository. Currently it looks like it is
downloading a random package that matches the name.

I’m not sure if this also happenw with other distributions. But it looks
like Oracle keeps old packages in the repository causing it to fail.

Regards,
Stefan

--- End Message ---
--- Begin Message ---
Source: rinse
Source-Version: 3.4

We believe that the bug you reported is fixed in the latest version of
rinse, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 944...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Thomas Lange <la...@debian.org> (supplier of updated rinse package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Wed, 15 Jan 2020 18:25:55 +0100
Source: rinse
Architecture: source
Version: 3.4
Distribution: unstable
Urgency: low
Maintainer: Thomas Lange <la...@debian.org>
Changed-By: Thomas Lange <la...@debian.org>
Closes: 944678
Changes:
 rinse (3.4) unstable; urgency=low
 .
   [ Thomas Lange ]
   * README: new git urls
   * centos-8.packages: add missing packages
   * rinse.conf: fix fedora-28 URL
 .
   [ Ondřej Nový ]
   * changelog: remove trailing whitespaces
 .
   [ Ulrich Zehl ]
   * rinse: exit if downloading packages failed
 .
   [ Juri Grabowski ]
   * integrate centos8 release
 .
   [ Stefan Möding ]
   * rinse: make rinse downloads reproducible, Closes: #944678
Checksums-Sha1:
 f16b2ebf8478593287b6edae3bc104d4359cdc29 1492 rinse_3.4.dsc
 27a9939e523380aeeff02f39edaf9b0023f4d83f 28728 rinse_3.4.tar.xz
 55fc6ecce69ffaeff64d251403813ef7c7fb24d9 5523 rinse_3.4_amd64.buildinfo
Checksums-Sha256:
 bd63a55f4503d3e590c6b29f110b3c90257228434267f63e072b368f965266aa 1492 
rinse_3.4.dsc
 477fbada341ce6ad8abd735067352b2f61086f4a7c124587e6050600fcc58261 28728 
rinse_3.4.tar.xz
 08744b5a4682d26c316dbce6a7afc8d48fb3f0238b5ecac41d384912e8c493d9 5523 
rinse_3.4_amd64.buildinfo
Files:
 a1612125b37828995433c5380017af10 1492 admin optional rinse_3.4.dsc
 3ff976393e71c7c0267be58bf6f33ac8 28728 admin optional rinse_3.4.tar.xz
 acaba621db18af1f87705dae95664855 5523 admin optional rinse_3.4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCAAvFiEEsR7jJz9rLetSjJPaK/jZ/gdLzeQFAl4fTR8RHGxhbmdlQGRl
Ymlhbi5vcmcACgkQK/jZ/gdLzeQ4RA/+MOvshqcDUt4rUWTop9w9j/o09LNQl3nI
HDffzmJsA+V3g9Y9pTcI+B7TpcrDQRKnB/LMQjBVb6sxj37i1ykjU+Uy2Bodk8OV
1y1T+ViEGuepOsNfpHNBWhTib3JZIwTqtgIWXXJ1o6Wrg2S4miz9tq9BKG/FlPXL
KQ1efjvvaL1C46UQBYv5nUjUZO/56JqjV+aRVYBDSROLK70omyt8NfZ3MghtxVIR
7gUSXuy2+w/HDZlx7OHs0q5J5BN34KIIDqLp6pQ7bltnXZzXrrr7jOR0YYyxUh+x
yEfltnZAql4wQEOwqIBk4TGX4588Owh3zdu9Lt67u6aT8xu34BalgWakSNZFEkjo
Ut+V2DiBHXZD/9SHo5Sr9q5yhetSWM29YAK54wU/pjLtdj+lJZG69l3WBpDTci6U
huV0z1ZsIyrqK8RH6+2Ejt5Mpd9FWEiF1ZqEPCn5D56c02igcGnXca5v+NTiSMww
a5ekS0/Gdw4etnjcJ63zhQ/4Cbiz6e89hxtiTmO/svh5+1IDy9hyv0nfbiRKKJoJ
2pwREPL7sYtHmYce3PmCZZuW7KaLq170VAjzm3m1mnadB2caC+SedIU5252zNJwx
enad3H1/83ZPrAv9efUxaNTR+uD8GCAhFmjdTFkSBc8c5UmkG/VgPRcFuDEROb93
BQIAfItyfgI=
=pPAE
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to