[ovs-git] [openvswitch/ovs] 672530: openvswitch-switch.postinst: Replace tabs by space...

GitHub noreply at github.com
Wed Jul 12 17:05:41 UTC 2017


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: 672530e491e34b17968cf782712b5ea6ed089ecb
      https://github.com/openvswitch/ovs/commit/672530e491e34b17968cf782712b5ea6ed089ecb
  Author: Gurucharan Shetty <guru at ovn.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M debian/openvswitch-switch.postinst

  Log Message:
  -----------
  openvswitch-switch.postinst: Replace tabs by spaces

There was some inconsistency with some tabs and some spaces
used.

Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


  Commit: 8fbfe9cca6fd21d9e6719a835eeb11655d01f6b1
      https://github.com/openvswitch/ovs/commit/8fbfe9cca6fd21d9e6719a835eeb11655d01f6b1
  Author: Gurucharan Shetty <guru at ovn.org>
  Date:   2017-07-12 (Wed, 12 Jul 2017)

  Changed paths:
    M debian/openvswitch-switch.postinst

  Log Message:
  -----------
  openvswitch-switch.postinst: Remove upstart files.

For a while, ubuntu used upstart scripts as an alternative
for sysv scripts. For e.g popular releases like ubuntu12.04
and ubuntu14.04 have upstart infrastructure. From Ubuntu16.04,
they have moved to systemd.

Ubuntu maintainers have a fork of openvswitch packages with
upstart scripts. When a user installs openvswitch-switch
package on a ubuntu 14.04 with 'apt-get install openvswitch-switch',
two upstart files are added to /etc/init directory.

Now, when the same user builds debian packages from this repo
and then installs them, the older upstart files don't get
deleted. What this means is that a command like
'invoke-rc.d openvswitch-switch restart' calls initctl scripts
instead of sysv script that this repo provides. In our sysv
scripts we have logic to carefully upgrade kernel module and
save openflow flows. This breaks the intent of the package from
this repo.

This commit deletes any stale upstart files that have remained
in the system.

Signed-off-by: Gurucharan Shetty <guru at ovn.org>
Acked-by: Ben Pfaff <blp at ovn.org>


Compare: https://github.com/openvswitch/ovs/compare/79ff8e802433...8fbfe9cca6fd


More information about the git mailing list