Bug 1478353 - update crudini to 0.9: current version changes a symbolic link to a regular file
Summary: update crudini to 0.9: current version changes a symbolic link to a regular ...
Alias: None
Product: RDO
Classification: Community
Component: distribution
Version: trunk
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: trunk
Assignee: Lars Kellogg-Stedman
QA Contact: Shai Revivo
Depends On:
Blocks: RDO-PIKE
TreeView+ depends on / blocked
Reported: 2017-08-04 12:03 UTC by Alfredo Moralejo
Modified: 2017-08-05 09:41 UTC (History)
2 users (show)

Fixed In Version: crudini-0.9-2.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2017-08-05 09:41:45 UTC

Attachments (Terms of Use)

Description Alfredo Moralejo 2017-08-04 12:03:35 UTC
The openstack-config command changes a symbolic link to a regular file.

  For example, according to the Installation Reference, /etc/neutron/plugin.ini
  is a symbolic link to /etc/neutron/plugins/ml2/ml2_conf.ini

    # ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini
    # ll /etc/neutron/plugin.ini
    lrwxrwxrwx. 1 root root 37 Jun 13 14:38 /etc/neutron/plugin.ini -> /etc/neutron/plugins/ml2/ml2_conf.ini

  Then, configure the plugin file with the openstack-config command.

    # openstack-config --set /etc/neutron/plugin.ini ml2 tenant_network_types vlan
    # ll /etc/neutron/plugin.ini
    -rw-r-----. 1 root neutron 3959 Jun 13 14:39 /etc/neutron/plugin.ini

  The symbolic link file is changed to a regular file and its content is
  different from the original file.

This is fixed by crudini 0.9

Comment 1 Alfredo Moralejo 2017-08-05 09:41:19 UTC
crudini-0.9-2.el7 built in CBS and published to common-testing

Note You need to log in before you can comment on or make changes to this bug.