Hi, I package the gogui and pentobi game and i have fall on a directory ownership problem :
%{_datadir}/thumbnailers/%{name}.thumbnailer or /usr/share/thumbnailers is owned by nobody
rpm -qf /usr/share/thumbnailers le fichier /usr/share/thumbnailers n'appartient à aucun paquetage (package owned by nobody)
Or thumbnailers directory has other programms
ll /usr/share/thumbnailers total 28 drwxr-xr-x. 2 root root 4096 23 nov. 11:31 . drwxr-xr-x. 307 root root 12288 12 déc. 14:26 .. -rw-r--r--. 1 root root 490 24 avril 2012 evince.thumbnailer -rw-r--r--. 1 root root 1304 13 nov. 15:35 gsf-office.thumbnailer -rw-r--r--. 1 root root 1731 4 juil. 2012 totem.thumbnailer
Is it normal that this /usr/share/thumbnailers is orphan ? Need we let him orphan ?
Thanks in advance
-- Chris
Hi, Please add %dir %{_datadir}/thumbnailers to %files section you can also add %{_datadir}/thumbnailers if all files under /thumbnailers should owned by the package (not separate packages such as devel etc)
On Tue, Jan 08, 2013 at 01:59:34PM +0400, Pavel Zhukov wrote:
Hi, Please add %dir %{_datadir}/thumbnailers to %files section you can also add %{_datadir}/thumbnailers if all files under /thumbnailers should owned by the package (not separate packages such as devel etc)
In this case it means that bugs should be filed against at least evince and totem (I only checked these two) who have files in this directory but do not own it.
Regards. Pierre
On 01/08/2013 12:08 PM, Pierre-Yves Chibon wrote:
On Tue, Jan 08, 2013 at 01:59:34PM +0400, Pavel Zhukov wrote:
Hi, Please add %dir %{_datadir}/thumbnailers to %files section you can also add %{_datadir}/thumbnailers if all files under /thumbnailers should owned by the package (not separate packages such as devel etc)
In this case it means that bugs should be filed against at least evince and totem (I only checked these two) who have files in this directory but do not own it.
Or file a RFE against filesystem to include %{_datadir}/thumbnailers
On Tue, Jan 08, 2013 at 12:44:56PM +0200, Manuel Wolfshant wrote:
On 01/08/2013 12:08 PM, Pierre-Yves Chibon wrote:
On Tue, Jan 08, 2013 at 01:59:34PM +0400, Pavel Zhukov wrote:
Hi, Please add %dir %{_datadir}/thumbnailers to %files section you can also add %{_datadir}/thumbnailers if all files under /thumbnailers should owned by the package (not separate packages such as devel etc)
In this case it means that bugs should be filed against at least evince and totem (I only checked these two) who have files in this directory but do not own it.
Or file a RFE against filesystem to include %{_datadir}/thumbnailers
This is the alternative and the reason why I asked Christophe to start the discussion here :)
Pierre
On 01/08/2013 11:50 AM, Pierre-Yves Chibon wrote:
On Tue, Jan 08, 2013 at 12:44:56PM +0200, Manuel Wolfshant wrote:
On 01/08/2013 12:08 PM, Pierre-Yves Chibon wrote:
On Tue, Jan 08, 2013 at 01:59:34PM +0400, Pavel Zhukov wrote:
Hi, Please add %dir %{_datadir}/thumbnailers to %files section you can also add %{_datadir}/thumbnailers if all files under /thumbnailers should owned by the package (not separate packages such as devel etc)
In this case it means that bugs should be filed against at least evince and totem (I only checked these two) who have files in this directory but do not own it.
Or file a RFE against filesystem to include %{_datadir}/thumbnailers
This is the alternative
Exactly.
The general rule of thumb is: Either all packages putting something into a directory must own it or all packages must have a common dependency owning the directory.
The "one common parent package" approach is easier to use. The "everybody must own" approach is more general, clearer, more flexible and less error prone approach.
I am clearly in favor of the later.
and the reason why I asked Christophe to start the discussion here :)
Ralf
packaging@lists.fedoraproject.org