[ovs-dev] [PATCH 2/2] rhel:Change service providers to 'openvswitch'

Flavio Leitner fbl at redhat.com
Tue Oct 28 13:33:05 UTC 2014


On Wed, Oct 15, 2014 at 10:00:29AM +0800, lichunhe at huawei.com wrote:
> From: Chunhe Li <lichunhe at huawei.com>
> 
> In rethat OS, the service name is "openvswitch", providers also should
> be change to "openvswitch"

I don't see a reason for this change because:

1) You can't just remove from Provides because it may break
   other services that requires the old service name. Although
   I am not aware of any, they might exist out there.

2) It's not needed to add the service name to the Provides: line
   because it's implicit added by the system.

fbl
 
> Signed-off-by: Chunhe Li <lichunhe at huawei.com>
> Signed-off-by: Dongdong <dongdong1 at huawei.com>
> ---
>  rhel/etc_init.d_openvswitch | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/rhel/etc_init.d_openvswitch b/rhel/etc_init.d_openvswitch
> index 2878d39..3921aab 100755
> --- a/rhel/etc_init.d_openvswitch
> +++ b/rhel/etc_init.d_openvswitch
> @@ -19,7 +19,7 @@
>  # See the License for the specific language governing permissions and
>  # limitations under the License.
>  ### BEGIN INIT INFO
> -# Provides:          openvswitch-switch
> +# Provides:          openvswitch
>  # Required-Start:
>  # Required-Stop:
>  # Default-Start:     2 3 4 5
> -- 
> 1.9.2.0
> 
> 
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
> 



More information about the dev mailing list