Bug 1316626 - Leftover /opt/rh/rh-nodejs4/root/usr/share/licenses after uninstallation
Leftover /opt/rh/rh-nodejs4/root/usr/share/licenses after uninstallation
Status: ON_QA
Product: Red Hat Software Collections
Classification: Red Hat
Component: rh-nodejs4 (Show other bugs)
rh-nodejs4
Unspecified Unspecified
low Severity low
: beta
: 2.2
Assigned To: Zuzana Svetlikova
Miroslav Hradílek
: Reopened
Depends On:
Blocks: 1420294
  Show dependency treegraph
 
Reported: 2016-03-10 11:04 EST by Miroslav Hradílek
Modified: 2017-09-05 09:54 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
The /opt/rh/rh-nodejs4/root/usr/share/licenses/ directory is not owned by any package. Consequently, when the rh-nodejs4 collection is uninstalled, this directory is not removed. To work around this problem, remove the directory manually after uninstalling rh-nodejs4.
Story Points: ---
Clone Of:
: 1420294 (view as bug list)
Environment:
Last Closed: 2016-04-21 10:11:14 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miroslav Hradílek 2016-03-10 11:04:31 EST
Description of problem:

There is: /opt/rh/rh-nodejs4/root/usr/share/licenses leftover after collection uninstallation due to not being owned by any package.

Version-Release number of selected component (if applicable):
rh-nodejs4-2.2-5.el7.x86_64 (unreleased)


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: rh-nodejs4
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Using package list
:: [   FAIL   ] :: All files in /opt/rh/rh-nodejs4 owned by that collection 
:: [   LOG    ] :: Files in the question:
:: [   LOG    ] :: /opt/rh/rh-nodejs4/root/usr/share/licenses
:: [   LOG    ] :: Duration: 11s
:: [   LOG    ] :: Assertions: 0 good, 1 bad
:: [   FAIL   ] :: RESULT: rh-nodejs4

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Destructive part
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   LOG    ] :: Using package list
:: [   FAIL   ] :: No files left after the yum remove 
:: [   LOG    ] :: /opt/rh/rh-nodejs4/root/usr/share/licenses
:: [   LOG    ] :: Duration: 5m 4s
:: [   LOG    ] :: Assertions: 0 good, 1 bad
:: [   FAIL   ] :: RESULT: Destructive part
Comment 1 Zuzana Svetlikova 2016-04-21 10:07:57 EDT
This bug is caused by filesystem not owning the directory, not bug in scl package.

https://bugzilla.redhat.com/show_bug.cgi?id=1278300
Comment 2 Miroslav Hradílek 2016-04-21 12:31:30 EDT
Does this explanation count for collections and therefor /opt/rh/rh-nodejs4 prefixed path?
Comment 3 Zuzana Svetlikova 2016-06-14 02:27:11 EDT
Yes.
Comment 4 Miroslav Hradílek 2017-02-08 07:08:28 EST
Reopening this because it is still an issue even after filesystem-3.2-21

# rpm -q filesystem rh-nodejs4
filesystem-3.2-21.el7.x86_64
rh-nodejs4-2.2-5.el7.x86_64
# rpm -qf /opt/rh/rh-nodejs6/root/usr/share/licenses
file /opt/rh/rh-nodejs6/root/usr/share/licenses is not owned by any package

Note You need to log in before you can comment on or make changes to this bug.