[ovs-dev] [PATCH] debian: Add SYSTEMCTL_SKIP_REDIRECT to init files

Greg Rose gvrose8192 at gmail.com
Wed May 24 20:27:47 UTC 2017


On Wed, 2017-05-24 at 19:56 +0000, root wrote:
> From: Raymond Burkholder <ray at oneunified.net>
> 
> Current versions of systemd in Debian Stretch use
> SYSTEMCTL_SKIP_REDIRECT instead of _SYSTEMCTL_SKIP_REDIRECT.
> Provide both variables in the .init files.
> 
> Signed-off-by: Raymond Burkholder <ray at oneunified.net>
> Suggested-by: Guru Shetty <guru at ovn.org>

Maybe this is a silly question but are we sure someone at Debian didn't
make a typo?

I mean, why?  Why would they do this?

- Greg

> ---
>  debian/openvswitch-switch.init  | 1 +
>  debian/ovn-central.init         | 1 +
>  debian/ovn-controller-vtep.init | 1 +
>  debian/ovn-host.init            | 1 +
>  4 files changed, 4 insertions(+)
> 
> diff --git a/debian/openvswitch-switch.init b/debian/openvswitch-switch.init
> index 1e94015d1..5c7c08b3a 100755
> --- a/debian/openvswitch-switch.init
> +++ b/debian/openvswitch-switch.init
> @@ -28,6 +28,7 @@
>  (test -x /usr/sbin/ovs-vswitchd && test -x /usr/sbin/ovsdb-server) || exit 0
>  
>  _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>  
>  . /usr/share/openvswitch/scripts/ovs-lib
>  test -e /etc/default/openvswitch-switch && . /etc/default/openvswitch-switch
> diff --git a/debian/ovn-central.init b/debian/ovn-central.init
> index 0c5b09e6a..60cee95a3 100755
> --- a/debian/ovn-central.init
> +++ b/debian/ovn-central.init
> @@ -16,6 +16,7 @@ test -x /usr/bin/ovn-northd  || exit 0
>  test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
>  
>  _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>  
>  . /usr/share/openvswitch/scripts/ovs-lib
>  if [ -e /etc/default/ovn-central ]; then
> diff --git a/debian/ovn-controller-vtep.init b/debian/ovn-controller-vtep.init
> index acba3297d..be0a24358 100755
> --- a/debian/ovn-controller-vtep.init
> +++ b/debian/ovn-controller-vtep.init
> @@ -16,6 +16,7 @@ test -x /usr/bin/ovn-controller-vtep  || exit 0
>  test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
>  
>  _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>  
>  . /usr/share/openvswitch/scripts/ovs-lib
>  if [ -e /etc/default/ovn-controller-vtep ]; then
> diff --git a/debian/ovn-host.init b/debian/ovn-host.init
> index bddf62815..39c3bcf16 100755
> --- a/debian/ovn-host.init
> +++ b/debian/ovn-host.init
> @@ -16,6 +16,7 @@ test -x /usr/bin/ovn-controller  || exit 0
>  test -x /usr/share/openvswitch/scripts/ovn-ctl || exit 0
>  
>  _SYSTEMCTL_SKIP_REDIRECT=yes
> +SYSTEMCTL_SKIP_REDIRECT=yes
>  
>  . /usr/share/openvswitch/scripts/ovs-lib
>  if [ -e /etc/default/ovn-host ]; then
> -- 
> 2.11.0
> 
> 





More information about the dev mailing list