[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] 04-check-filelist
From:       Marcus Meissner <meissner () suse ! de>
Date:       2012-04-26 7:21:50
Message-ID: 20120426072150.GI1699 () suse ! de
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic