RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1168745 - Problem with symlinks after upgrade with -devel/-debuginfo present
Summary: Problem with symlinks after upgrade with -devel/-debuginfo present
Keywords:
Status: CLOSED DUPLICATE of bug 1101861
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rpm
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Florian Festi
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-27 17:35 UTC by Alois Mahdal
Modified: 2014-11-28 08:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-28 08:17:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
rpm log - install (12.55 KB, text/plain)
2014-11-27 17:40 UTC, Alois Mahdal
no flags Details
rpm log - upgrade (17.38 KB, text/plain)
2014-11-27 17:40 UTC, Alois Mahdal
no flags Details
rpm verification - stdout (1.49 KB, text/plain)
2014-11-27 17:42 UTC, Alois Mahdal
no flags Details
rpm verification - stderr (52.22 KB, text/plain)
2014-11-27 17:43 UTC, Alois Mahdal
no flags Details

Description Alois Mahdal 2014-11-27 17:35:38 UTC
Description of problem
======================

With some packages, upgrading when also -debuginfo / -devel package is installed leads to problem with symlinks, as later reported by --verify.  This does not seem to affect ability to upgrade the main package.

For example, upgrade of libvpd from rhel7.0 to rhel7.1 is affected by this so that: if libvpd and libvpd-devel are both present, upgrading and checking with rpm --verify shows problem:

    # rpm --verify "libvpd-*"
    ....L....    /usr/lib64/libvpd-2.2.so.2
    ....L....    /usr/lib64/libvpd_cxx-2.2.so.2


According to libvpd maintainer, there's nothing wrong with libvpd.spec, so the problem is likely in RPM itself.


Version-Release number of selected component (if applicable)
======================

rpm-4.11.1-16.el7


How reproducible
================

Always with certain packages


Steps to Reproduce
==================

    rpm -i libvpd-2.2.1-3.el7.ppc64.rpm libvpd-devel-2.2.1-3.el7.ppc64.rpm
    rpm -U libvpd-2.2.4-1.el7.ppc64.rpm libvpd-devel-2.2.4-1.el7.ppc64.rpm
    rpm --verify "libvpd-*"


Actual results
==============

    ....L....    /usr/lib64/libvpd-2.2.so.2
    ....L....    /usr/lib64/libvpd_cxx-2.2.so.2


Expected results
================

(nothing)


Additional info
===============

I'm not sure about other packages that might be affected by this.  Scenario described in bz#1126795 is sort of similar, but there --verify complains about files from s390utils-debuginfo and problem is triggered if *other* (from unrelated packages) debuginfos are present.

Note that libvpd is ppc64-only so you will need ppc64 machine for investigation.

Also I was not able to make RPM explain what exactly is the problem with paths, i.e. where the links *should* point.

Comment 2 Alois Mahdal 2014-11-27 17:40:19 UTC
Created attachment 962229 [details]
rpm log - install

Comment 3 Alois Mahdal 2014-11-27 17:40:49 UTC
Created attachment 962230 [details]
rpm log - upgrade

Comment 4 Alois Mahdal 2014-11-27 17:42:24 UTC
Created attachment 962231 [details]
rpm verification - stdout

Comment 5 Alois Mahdal 2014-11-27 17:43:09 UTC
Created attachment 962232 [details]
rpm verification - stderr

Comment 6 Panu Matilainen 2014-11-28 08:17:50 UTC

*** This bug has been marked as a duplicate of bug 1101861 ***


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