>
>
> Hi,
> usually a package on Fedora/RHEL7+ is never enabled by default, unless
> it's necessary to enable it for a really good reason.
>

I would like to put an argument on why this a good reason in this case.

When I did a grep on 2 large repositories at VMware that use openvswitch
RPMs, there is a lot of test and dev code and places where there is an
assumption made that the openvswitch rpms enable services after
installation (which has been the case so far with rhel/openvswitch.spec)
and there is a history of 10 years there. So as a large user of openvswitch
RPMs, I should not have to go and change every bit of code that uses
openvswitch rpms to change the previous behavior.

And the code changes here does not get activated by default. Just provides
an option for openvswitch users to enable the service automatically if they
so desire.



>
> So any Fedora/RHEL7+ user knows (and expect) that he need to manually
> enable/start a service after it's installed.
>

> Probably it's better to put something like (postun?):
>
> if /sbin/chkconfig --level 3 openvswitch; then
>
>     /bin/systemctl enable openvswitch.service >/dev/null 2>&1 || :
>     /bin/systemctl restart openvswitch.service >/dev/null 2>&1 || :
> fi
>

I would like to have the ability to auto enable service even when it is a
new installation.

Thanks
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to