Bug 1273117

Summary: RHEL-6 nodejs010-nodejs-inherits data disappears on upgrade
Product: Red Hat Software Collections Reporter: Miroslav Hradílek <mhradile>
Component: nodejs-inheritsAssignee: Zuzana Svetlikova <zsvetlik>
Status: CLOSED EOL QA Contact: Miroslav Hradílek <mhradile>
Severity: high Docs Contact:
Priority: high    
Version: nodejs010CC: thrcka
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-31 15:02:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Miroslav Hradílek 2015-10-19 16:19:27 UTC
Description of problem:
When new inherits package is installed on clean RHEL-6 system everything is fine. When the old package is first installed and later upgraded via rpm to the new package, files
 * inherits.js
 * package.json
disappear. This does not happen on RHEL-7.

Version-Release number of selected component (if applicable):
nodejs010-nodejs-inherits-2.0.0-9.el6.noarch

How reproducible:
100%

Steps to Reproduce and results:
# yum install nodejs010-nodejs-inherits-2.0.0-6.el6.noarch.rpm
# rpm -q nodejs010-nodejs-inherits rpm
nodejs010-nodejs-inherits-2.0.0-6.el6.noarch
rpm-4.8.0-47.el6.x86_64
# rpm -vV nodejs010-nodejs-inherits
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits/inherits.js
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits/package.json
.........    /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0
.........  d /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0/LICENSE
.........  d /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0/README.md
# rpm -vV nodejs010-nodejs-inherits
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits/inherits.js
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits/package.json
.........    /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0
.........  d /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0/LICENSE
.........  d /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0/README.md
# rpm -U nodejs010-nodejs-inherits-2.0.0-9.el6.noarch.rpm 
# rpm -q nodejs010-nodejs-inherits
nodejs010-nodejs-inherits-2.0.0-9.el6.noarch
# rpm -vV nodejs010-nodejs-inherits
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits
.........    /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2
missing     /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2/inherits.js
missing     /opt/rh/nodejs010/root/usr/lib/node_modules/inherits@2/package.json
.........    /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0
.........  d /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0/LICENSE
.........  d /opt/rh/nodejs010/root/usr/share/doc/nodejs010-nodejs-inherits-2.0.0/README.md

Additional info:
 * The python trigger scriptlet is not triggered as it is conditional nodejs-inherits < 2.0.0-4
 * Thu Lua scriptlet works correctly with RHEL 6 RPM too.
 * CPIO archives contain the correct structure.
 * Use rpm -vvU nodejs010-nodejs-inherits-2.0.0-9.el6.noarch.rpm to watch the different rpm behavior on 6 and 7.

Comment 4 Joe Orton 2016-10-12 12:31:00 UTC
Red Hat does not currently plan to provide any further changes to this collection in a Red Hat Software Collections update release.

This software collection is nearing the retirement date (October 2016) after which customers are encouraged either to upgrade to a later release or continue on as self-supported without official Red Hat Support.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/

Comment 6 Joe Orton 2017-03-31 15:02:02 UTC
In accordance with the Red Hat Software Collections Product Life Cycle, the support period for this collection has ended.

New bug fix, enhancement, and security errata updates, as well as technical support services will no longer be made available for this collection.

Customers are encouraged to upgrade to a later release.

Please contact Red Hat Support if you have further questions, or refer to the support lifecycle page for more information. https://access.redhat.com/support/policy/updates/rhscl/