Bug 806976 - packaging: main pulp package includes files owned and referenced by subpackages
packaging: main pulp package includes files owned and referenced by subpackages
Status: CLOSED CURRENTRELEASE
Product: Pulp
Classification: Community
Component: rel-eng (Show other bugs)
1.0.0
Unspecified Unspecified
unspecified Severity urgent
: ---
: ---
Assigned To: Jeff Ortel
Preethi Thomas
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-26 12:32 EDT by Jeff Ortel
Modified: 2012-05-25 10:15 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-05-25 10:15:56 EDT
Type: ---
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 Jeff Ortel 2012-03-26 12:32:31 EDT
Description of problem:

All of the conf files under /etc/pulp are being included in the main pulp package event when owned by and included in subpackages.

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

1.0.0-5

How reproducible:

Always

Steps to Reproduce:
1. Install older version of pulp and pulp-admin on the same box.
2. Edit /etc/pulp/admin/admin.conf
3. yum update pulp
  
Actual results:
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package pulp.noarch 0:1.0.0-5.el6 will be updated
---> Package pulp.noarch 0:1.0.0-6.el6 will be an update
--> Processing Dependency: grinder >= 0.0.141 for package: pulp-1.0.0-6.el6.noarch
--> Running transaction check
---> Package grinder.noarch 0:0.0.139-1.el6 will be updated
---> Package grinder.noarch 0:0.0.141-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package          Arch            Version                   Repository     Size
================================================================================
Updating:
 pulp             noarch          1.0.0-6.el6               pulp          715 k
Updating for dependencies:
 grinder          noarch          0.0.141-1.el6             pulp          138 k

Transaction Summary
================================================================================
Upgrade       2 Package(s)

Total size: 852 k
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Transaction Check Error:
  file /etc/pulp/admin/admin.conf from install of pulp-1.0.0-6.el6.noarch conflicts with file from package pulp-admin-1.0.0-5.el6.noarch
  file /etc/pulp/admin/job.conf from install of pulp-1.0.0-6.el6.noarch conflicts with file from package pulp-admin-1.0.0-5.el6.noarch
  file /etc/pulp/admin/task.conf from install of pulp-1.0.0-6.el6.noarch conflicts with file from package pulp-admin-1.0.0-5.el6.noarch

Error Summary
-------------


Expected results:

No errors.


Additional info:
Comment 1 Jeff Ortel 2012-03-26 16:36:02 EDT
Fixed.
Comment 2 Jeff Ortel 2012-03-26 16:36:19 EDT
build: 1.0.0-8
Comment 3 Preethi Thomas 2012-03-26 16:38:09 EDT
[root@pulp-v1-server ~]# yum update pulp
Loaded plugins: product-id, security, subscription-manager
Updating certificate-based repositories.
epel/metalink                                            |  10 kB     00:00     
epel                                                     | 4.0 kB     00:00     
epel/primary_db                                          | 4.3 MB     00:02     
pulp-v1-testing                                          | 1.3 kB     00:00     
pulp-v1-testing/primary                                  | 6.6 kB     00:00     
pulp-v1-testing                                                           21/21
rhel6                                                    | 4.0 kB     00:00     
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package pulp.noarch 0:1.0.0-6.el6 will be updated
---> Package pulp.noarch 0:1.0.0-8.el6 will be an update
--> Processing Dependency: grinder >= 0.0.142 for package: pulp-1.0.0-8.el6.noarch
--> Running transaction check
---> Package grinder.noarch 0:0.0.141-1.el6 will be updated
---> Package grinder.noarch 0:0.0.144-1.el6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package        Arch          Version              Repository              Size
================================================================================
Updating:
 pulp           noarch        1.0.0-8.el6          pulp-v1-testing        714 k
Updating for dependencies:
 grinder        noarch        0.0.144-1.el6        pulp-v1-testing        139 k

Transaction Summary
================================================================================
Upgrade       2 Package(s)

Total download size: 853 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): grinder-0.0.144-1.el6.noarch.rpm                  | 139 kB     00:00     
(2/2): pulp-1.0.0-8.el6.noarch.rpm                       | 714 kB     00:02     
--------------------------------------------------------------------------------
Total                                           205 kB/s | 853 kB     00:04     
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : grinder-0.0.144-1.el6.noarch                                 1/4 
  Updating   : pulp-1.0.0-8.el6.noarch                                      2/4 
  Cleanup    : pulp-1.0.0-6.el6.noarch                                      3/4 
  Cleanup    : grinder-0.0.141-1.el6.noarch                                 4/4 
Installed products updated.

Updated:
  pulp.noarch 0:1.0.0-8.el6                                                     

Dependency Updated:
  grinder.noarch 0:0.0.144-1.el6                                                

Complete!
Comment 4 Preethi Thomas 2012-03-26 16:40:44 EDT
verified
upgraded pulp without error.
Comment 5 Jeff Ortel 2012-03-26 16:41:15 EDT
Also fixed on pulp_v1 and master.
Unfortunately pulp.spec files fixes need to be tested separately on all (3) branches to QE needs to set back to MODIFIED after verification.
Comment 6 Preethi Thomas 2012-05-25 10:15:56 EDT
Pulp v1.1 Release

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