Comment 2 for bug 1723480

Revision history for this message
Frode Nordahl (fnordahl) wrote : Re: openvswitch-switch package upgrade triggers openvswitch-switch service restart

1) A upgrade of the openvswitch-switch package will in itself trigger a restart of the openvswtich daemons.

The charm does not react to any change of /etc/default/openvswitch-switch independently.

2) In the event of the config-changed hook being fired at a later date after the /etc/default/openvswitch-switch file was changed, the /etc/default/openvswtich-switch file will be rewritten and subsequently the service will be restarted.

This is the bit we need to consider and address in this bug.

The solution might involve changing the deb package behavior and its handling of the /etc/default/openvswitch-switch file.