Bug 1319968 - no rpm owns some files/dirs + leftovers after uninstall
Summary: no rpm owns some files/dirs + leftovers after uninstall
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: httpd
Version: httpd24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 2.2
Assignee: Jan Kaluža
QA Contact: Ondřej Pták
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-22 01:18 UTC by Ondřej Pták
Modified: 2016-05-31 10:17 UTC (History)
4 users (show)

Fixed In Version: httpd24-1.1-12.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-31 10:17:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1154 0 normal SHIPPED_LIVE httpd24 bug fix and enhancement update 2016-05-31 13:48:49 UTC

Description Ondřej Pták 2016-03-22 01:18:12 UTC
Description of problem:
Packages from httpd24 collection creates some files/directories without owning them, which is probably also reason why they are not deleted when all httpd24 packages are removed.

Version-Release number of selected component (if applicable):
httpd24-httpd-2.4.18-4
httpd24-curl-7.47.1-1.1
httpd24-1.1-11
... and several others

How reproducible:
always

Steps to Reproduce:
1. yum install httpd24\*
2. check rpm ownership of every file/dir in /opt/rh/httpd24 # every package should have owner
3. yum remove httpd24\*
4. find /opt/rh/httpd24 # should be empty

Actual results:

Files/dirs not owned by any package on rhel-6:
* /opt/rh/httpd24/root/usr/share/zsh

Files/dirs not owned by any package on rhel-7:
* /opt/rh/httpd24/root/usr/share/licenses
* /opt/rh/httpd24/root/usr/share/man/man3
* /opt/rh/httpd24/root/usr/share/zsh

Files/dirs left after uninstall on rhel-6:
* /opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp5.so
* /opt/rh/httpd24/root/usr/share/zsh

Files/dirs left after uninstall on rhel-7:
* /opt/rh/httpd24/root/usr/bin
* /opt/rh/httpd24/root/usr/share/doc
* /opt/rh/httpd24/root/usr/share/licenses
* /opt/rh/httpd24/root/usr/share/man/man1
* /opt/rh/httpd24/root/usr/share/man/man3
* /opt/rh/httpd24/root/usr/share/zsh

Expected results:

No files not owned by any package and all files removed when all httpd24 packages are removed.

Additional info:
This is difference from previous release of httpd24.
If some of these files are expected, please provide explanation and I'll add them into whitelist.

Comment 1 Joe Orton 2016-04-08 09:40:00 UTC
Most of these are coming from libcurl/libnghttp2; can you whitelist them?  Nothing very serious.

I'm not sure how this:

/opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp5.so

... gets left behind, checking with Remi.

Comment 2 Joe Orton 2016-04-08 09:50:58 UTC
We are not sure out what created that libphp5.so in that particular location.  Is it a symlink?

No package /opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp5.so available.

None of php54-php, php55-php, rh-php56-php create that file.

Comment 3 Ondřej Pták 2016-04-11 13:26:27 UTC
/opt/rh/httpd24/root/usr/lib64/httpd/modules/libphp5.so is caused by another test.
For the rest, I can add that to the whitelist, but I'm not sure it's the right think to do. I would prefer to solve this by letting libcurl/libnghttp2 to own that files/dirs (not necessary this release).

Comment 12 errata-xmlrpc 2016-05-31 10:17:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1154


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