[DTrace-devel] [oracle/dtrace-utils] de65d3: dtprobed: make sure the daemon is started in the f...

Nick Alcock noreply at github.com
Sat Mar 9 17:11:10 UTC 2024


  Branch: refs/heads/devel
  Home:   https://github.com/oracle/dtrace-utils
  Commit: de65d31a701e290d9db72789c85f2919a891a1cc
      https://github.com/oracle/dtrace-utils/commit/de65d31a701e290d9db72789c85f2919a891a1cc
  Author: Nick Alcock <nick.alcock at oracle.com>
  Date:   2024-03-09 (Sat, 09 Mar 2024)

  Changed paths:
    M dtrace.spec

  Log Message:
  -----------
  dtprobed: make sure the daemon is started in the first place

The work done earlier only suffices to restart the daemon automatically on
upgrade.  There appears to be no attempt to start newly-installed daemons at
a distro level, only to enable them (via presets).  Most daemons already in
the distro don't bother, apparently relying on the post-installation reboot
to start them.

We'd rather do the job right, so explicitly do a start in %posttrans (which
it looks like will usually be late enough that the thing will already have
been enabled even if presets don't do the job -- we have no way of running
later other than hooking into at jobs or something, at any rate.)

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



To unsubscribe from these emails, change your notification settings at https://github.com/oracle/dtrace-utils/settings/notifications



More information about the DTrace-devel mailing list