Bug 894195 - duplicate directory ownership with perl-libs and perl
Summary: duplicate directory ownership with perl-libs and perl
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: perl
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-11 00:43 UTC by Michael S.
Modified: 2013-06-12 12:08 UTC (History)
11 users (show)

Fixed In Version: perl-5.16.3-278.fc20
Clone Of:
Environment:
Last Closed: 2013-06-12 12:08:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
patch to make the directory owned only by perl-libs (538 bytes, patch)
2013-01-11 17:52 UTC, Michael S.
no flags Details | Diff

Description Michael S. 2013-01-11 00:43:32 UTC
$ rpm -qf /usr/lib64/perl5
perl-libs-5.16.2-235.fc18.x86_64
perl-5.16.2-235.fc18.x86_64

I guess it only belong to perl-libs

Comment 1 Petr Pisar 2013-01-11 09:15:40 UTC
It should, but currently `perl' package contains a lot files residing in the directory. This will be fixed once `perl' package will own no files there.

Comment 2 Michael S. 2013-01-11 11:05:04 UTC
Well, perl requires perl-libs, so the directory would not be unowned in any case ?
( and sorry to have waited to enter this bug, as you have already pushed a update for another issue )

Comment 3 Ralf Corsepius 2013-01-11 11:23:55 UTC
(In reply to comment #2)
> Well, perl requires perl-libs, so the directory would not be unowned in any
> case ?
Are you sure this is correct? I am not.

Actually I think it's a case where dual ownership is correct.

> ( and sorry to have waited to enter this bug, as you have already pushed a
> update for another issue )
Well, technically there is nothing wrong with the directory being owned by both packages.

Comment 4 Michael S. 2013-01-11 12:25:33 UTC
From my chroot :

# rpm -q --requires perl | grep libs
perl-libs
perl-libs = 4:5.16.2-244.fc19

Comment 5 Ralf Corsepius 2013-01-11 17:08:34 UTC
(In reply to comment #4)
> From my chroot :
> 
> # rpm -q --requires perl | grep libs
> perl-libs
> perl-libs = 4:5.16.2-244.fc19

And your point is?

* Multiple owners of directories are allowed and do work.
* This dependency is manually added. Whether is it's technically necessary is to be analyzed.

Comment 6 Michael S. 2013-01-11 17:52:36 UTC
Created attachment 677016 [details]
patch to make the directory owned only by perl-libs

Being allowed is not the point, this is just not necessary. 

I am trying to write a tool to detect such issues ( double owned directy, unowned one ), because there is case where it break, when the permission are different and no one , see #894369 . The less noise we have, the better it will be for long term maintenance.

So as long as this doesn't bring anything, except noise when searching for issues, I think this should be corrected.

The dependency is likely needed to have the exact EVR between perl and perl-libs.

here is a patch that should clean the package

Comment 7 Marcela Mašláňová 2013-01-14 11:33:52 UTC
Yes, your patch will fix it, but in Perl it's common to "double own directory".


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