[DTrace-devel] [oracle/dtrace-utils] ec0c3c: test: clean up orphaned tracing events between tests

Kris Van Hees noreply at github.com
Thu Jun 8 05:51:49 UTC 2023


  Branch: refs/heads/dev
  Home:   https://github.com/oracle/dtrace-utils
  Commit: ec0c3cfb324c373663a8300c5f7db460a073b437
      https://github.com/oracle/dtrace-utils/commit/ec0c3cfb324c373663a8300c5f7db460a073b437
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M runtest.sh
    M test/utils/Build
    A test/utils/clean_probes.sh

  Log Message:
  -----------
  test: clean up orphaned tracing events between tests

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Nick Alcock <nick.alcock at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>


  Commit: 579eeb705f62392423f8b5c58b5476ca5091613f
      https://github.com/oracle/dtrace-utils/commit/579eeb705f62392423f8b5c58b5476ca5091613f
  Author: Nick Alcock via DTrace-devel <dtrace-devel at oss.oracle.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M dtrace.spec

  Log Message:
  -----------
  spec, dtprobed: restart on install/update if already running

If we don't restart dtprobed when a yum update happens, we're going to
keep running an older version, with all its bugs and/or limitations.  I
thought %systemd_postun handled this, but in fact it doesn't: you need
to use the barely-documented %systemd_postun_with_restart instead.  Of
course, that doesn't really work: being in %postun, the *package being
uninstalled* already needs to have it.  So do a try-restart in %post
instead, so that the new version gets it. If we do a try-restart before
the enable/start, it should work fine even on first install, when it's
not already running.

While we're at it, fix %systemd_postun to not mention .targets,
only .services: it doesn't make sense to stop targets :)

Signed-off-by: Nick Alcock <nick.alcock at oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees at oracle.com>
Reviewed-by: Eugene Loh <eugene.loh at oracle.com>


  Commit: 42f15d3235bcf816ed814b88d64492a63fc5f0f0
      https://github.com/oracle/dtrace-utils/commit/42f15d3235bcf816ed814b88d64492a63fc5f0f0
  Author: Kris Van Hees <kris.van.hees at oracle.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M NEWS
    M dtrace.spec

  Log Message:
  -----------
  Update NEWS and spec file for errata release 2.0.0-1.13.1

Signed-off-by: Kris Van Hees <kris.van.hees at oracle.com>


Compare: https://github.com/oracle/dtrace-utils/compare/54eaa8936464...42f15d3235bc



More information about the DTrace-devel mailing list