On 7/2/2015 10:39 AM, Kyle Mestery wrote:
On Thu, Jul 2, 2015 at 10:35 AM, Matt Riedemann
<[email protected] <mailto:[email protected]>> wrote:

    This change in neutron [1] renames the linuxbridge and openvswitch
    plugin config files.  I'm familiar with the %config(noreplace)
    directive in rpm but I'm not sure if there is a special trick with
    rpm to rename a config file while not losing the changes in the
    config file during the upgrade.

    Is this just something that has to be handled with trickery in the
    %post macro where we merge the contents together if the old config
    file exists?  Would symbolic links help?

    Changes like this seem like a potential giant pain in the ass for
    packagers.


While a pain in the ass, this should have been done when we deprecated
the agents two cycles ago, so this was really just bleeding the pain out
longer. I flagged this as DocImpact so we can add a documentation note,
and we'll update the Release Notes with this as well.

    [1] https://review.openstack.org/#/c/195277/

    --

    Thanks,

    Matt Riedemann


    __________________________________________________________________________
    OpenStack Development Mailing List (not for usage questions)
    Unsubscribe:
    [email protected]?subject:unsubscribe
    <http://[email protected]?subject:unsubscribe>
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Yeah, I'm just looking for ideas. Someone mentioned you could just copy the existing config and name it the new config so it'd have the old settings, and on install rpm won't overwrite it b/c of %config(noreplace). That's something easy to do in %pre or %post.

--

Thanks,

Matt Riedemann


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to