Bug 744914

Summary: Unowned directories
Product: [Fedora] Fedora Reporter: Christoph Wickert <cwickert>
Component: colordAssignee: Richard Hughes <hughsient>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: hughsient, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-11 09:33:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Christoph Wickert 2011-10-10 20:07:49 UTC
Description of problem:
colord places files into %{_datadir}/color/icc/colord/ but does not own %{_datadir}/color/ or %{_datadir}/color/icc/.

Version-Release number of selected component (if applicable):
colord-0.1.7-1.fc15

Additional info:
https://fedoraproject.org/wiki/Packaging:Guidelines#File_and_Directory_Ownership

Comment 1 Richard Hughes 2011-10-10 20:31:36 UTC
[hughsie@hughsie-t510]$ rpm -qf /usr/share/color/icc/
color-filesystem-1-8.noarch

Isn't that enough?

Comment 2 Christoph Wickert 2011-10-10 21:09:54 UTC
It's not enough as colord doesn't depend on color-filesystem

$ rpm -q --requires colord | grep filesystem
$ LANG=C rpm -qf /usr/share/color/icc/
file /usr/share/color/icc is not owned by any package
$ LANG=C rpm -qf /usr/share/color/
file /usr/share/color is not owned by any package

Comment 3 Richard Hughes 2011-10-11 08:57:10 UTC
[hughsie@hughsie-t510 gnome-color-manager (master %)]$ rpm -e color-filesystem
error: Failed dependencies:
	color-filesystem is needed by (installed) shared-color-profiles-0.1.5-0.22.20110907git.noarch
	color-filesystem is needed by (installed) shared-color-targets-0.1.0-1.fc16.noarch
	color-filesystem >= 1-7 is needed by (installed) gnome-color-manager-3.2.0-1.fc16.x86_64

But, colord does require shared-color-profiles.

So I'm a bit confused how color-filesystem isn't installed on your system...

I suppose eitherway it does make sense to make the color-filesystem require explicit for colord.

Comment 4 Christoph Wickert 2011-10-11 09:15:03 UTC
I'm on F15 and here colord does not depend on shared-color-profiles.

$ rpm -q --requires colord
/sbin/ldconfig  
/sbin/ldconfig  
config(colord) = 0.1.7-1.fc15
libc.so.6()(64bit)  
libc.so.6(GLIBC_2.2.5)(64bit)  
libc.so.6(GLIBC_2.4)(64bit)  
libcolord.so.1()(64bit)  
libgio-2.0.so.0()(64bit)  
libglib-2.0.so.0()(64bit)  
libgmodule-2.0.so.0()(64bit)  
libgobject-2.0.so.0()(64bit)  
libgthread-2.0.so.0()(64bit)  
libgudev-1.0.so.0()(64bit)  
liblcms2.so.2()(64bit)  
libm.so.6()(64bit)  
libpolkit-gobject-1.so.0()(64bit)  
libpthread.so.0()(64bit)  
librt.so.1()(64bit)  
libsane.so.1()(64bit)  
libsqlite3.so.0()(64bit)  
libusb-1.0.so.0()(64bit)  
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rtld(GNU_HASH)  
rpmlib(PayloadIsXz) <= 5.2-1

I guess this is the bigger problem. But if you already fixed it in F >= 16 that's fine, don't push an update unless you have to fix something in colord anyway.

Comment 5 Richard Hughes 2011-10-11 09:33:11 UTC
(In reply to comment #4)
> I'm on F15 and here colord does not depend on shared-color-profiles.

Ahh, I missed the version! Sorry for the confusion. This is indeed fixed in F16 onwards, and I don't really plan updating colord in F15 other than for security fixes. I'll include color-filesystem as an explicit Requires anyway in F16+ also as it's probably the right thing to do. Thanks.

Richard.