Re: [PATCH] spec: Avoid RPM verification errors on nwfilter XMLs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 19, 2017 at 10:31:17 +0100, Daniel P. Berrange wrote:
> On Thu, Apr 13, 2017 at 02:41:42PM +0200, Jiri Denemark wrote:
> > On Thu, Apr 13, 2017 at 13:28:18 +0100, Daniel P. Berrange wrote:
> > > On Thu, Apr 13, 2017 at 02:23:08PM +0200, Jiri Denemark wrote:
> > > > /etc/libvirt/nwfilter/*.xml files are installed with no UUID, which
> > > > means libvirtd will automatically alter all of them once it starts. Thus
> > > > RPM verification will always fail on them. Let's use a trick similar to
> > > > the default network XML and store nwfilter XMLs in /usr/share. They will
> > > > be copied into /etc in %post. Additionally the /etc files are marked as
> > > > %ghost so that they are uninstalled if the RPM package is removed.
> > > 
> > > This feels wrong to me - we don't remove any other XML files in /etc/libvirt
> > > when we uninstall the RPMs.
> > 
> > Well, it matches what we do now. We do remove nwfilter files from /etc
> > since our current spec file considers the nwfilter XMLs as data files.
> 
> Ok, I didn't realize that. ACK on the basis that it isn't worse.

Pushed, thanks.

Jirka

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux