DevHeads.net

Policy regarding service preset enabled (e.g. performance co-pilot)

Hello,

is there a policy regarding auto-enabling/disabling an installed systemd
service?

I'm asking because installing the dstat replacement[1] in Fedora 29
resulted in 3 additional always running systemd services[2] and 2 open
ports.

In contrast, after installing postgresql the postgresql systemd service
has vendor preset disabled (i.e. it is disabled, by default).

Perhaps it's just me, but having 3 services enabled after installing the
dstat replacement ('which strives for 100% output compatibility with the
original dstat') feels like a violation of the principle of least
astonishment.

Best regards
Georg

[1]: i.e. pcp-system-tools
cf. <a href="https://fedoraproject.org/wiki/Changes/MergeDstatAndPerformanceCoPilot" title="https://fedoraproject.org/wiki/Changes/MergeDstatAndPerformanceCoPilot">https://fedoraproject.org/wiki/Changes/MergeDstatAndPerformanceCoPilot</a>
[2]: pmcd, pmlogger and pmie

Comments

Re: Policy regarding service preset enabled (e.g. performance co

By Tom Hughes at 02/09/2019 - 15:02

There is, yes:

<a href="https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/#_enabling_services_by_default" title="https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultServices/#_enabling_services_by_default">https://docs.fedoraproject.org/en-US/packaging-guidelines/DefaultService...</a>

That sounds like it would require an exception.

Tom