[opensuse-packaging] 04-check-filelist
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, this morning I investigated a mysterious failure of an automated test (on SLES-11-SP2 but should apply to openSUSE as well) that had been working unchanged for weeks, but there were no recent changes to the relevant components. It turned out to be, that 1. /var/lib/nova was owned by root, even though the openstack-nova package correctly had it marked as owner=nova 2. rpm -qf /var/lib/nova showed that there was a 2nd package that claimed to own it 3. we recently changed dependencies between packages, so I think that the bad package was also pulled in now and that this caused the directory to be owned by the wrong user the bad package had a line %dir %attr(0755, root, root) %{_localstatedir}/lib/nova and when I dropped it, it failed to build with ... running 04-check-filelist ... checking filelist noVNC-2012.0.99.1328944883.master.22b9a75-0.noarch.rpm: directories not owned by a package: - /var/lib/nova and I think that this fatal check was the reason for someone to add the bad line and cause this problem. For now I added a BuildRequires: openstack-nova but I think there should be a better way to tell the build system (or check scripts) that it is OK for some file to not be owned by any package. Using these pseudo BuildRequires causes extra rebuilds on OBS and all for no good reason. Ciao Bernhard M. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk+XwGQACgkQSTYLOx37oWSqWgCfYDiVCp3ry7d+mj85cm/2OJZY v2wAn1H5bF9NkR2N3T0UYTFQsvylqF7x =Rr8p -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, Apr 25, 2012 at 11:14:13AM +0200, Bernhard M. Wiedemann wrote:
Hi,
this morning I investigated a mysterious failure of an automated test (on SLES-11-SP2 but should apply to openSUSE as well) that had been working unchanged for weeks, but there were no recent changes to the relevant components.
It turned out to be, that
1. /var/lib/nova was owned by root, even though the openstack-nova package correctly had it marked as owner=nova
2. rpm -qf /var/lib/nova showed that there was a 2nd package that claimed to own it
3. we recently changed dependencies between packages, so I think that the bad package was also pulled in now and that this caused the directory to be owned by the wrong user
the bad package had a line %dir %attr(0755, root, root) %{_localstatedir}/lib/nova
and when I dropped it, it failed to build with
... running 04-check-filelist ... checking filelist noVNC-2012.0.99.1328944883.master.22b9a75-0.noarch.rpm: directories not owned by a package: - /var/lib/nova
and I think that this fatal check was the reason for someone to add the bad line and cause this problem.
For now I added a BuildRequires: openstack-nova but I think there should be a better way to tell the build system (or check scripts) that it is OK for some file to not be owned by any package. Using these pseudo BuildRequires causes extra rebuilds on OBS and all for no good reason.
Yes, it is called %dir /var/lib/nova Why does it need this directory and what is in it? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Bernhard M. Wiedemann
-
Marcus Meissner