Cockpit UI - Services: misleading hint about service status

The service status reported by the hint message is not correct (it is reversed), while the service list columns show the correct status.

As an example, when starting ntopng service a hint warns about the service being enabled but not running:

# systemctl is-enabled ntopng
disabled

# systemctl is-active ntopng
active
1 Like

yes you’re right, the label description is wrong.
What do you say we change it into:

“The service is enabled but not running, or the service is running but the service is not enabled”

?

1 Like

The service is running but not enabled.

1 Like

Yes, but there is only label error which applies to both cases. Basically the error raises if the is-running and is-enabled differ.

So what error label is the best match for all cases?

1 Like

Well this is basically wrong, it should be two labels then. :smiley:
But since there is one, I guess this fits:

The service is either not running or not enabled.

3 Likes

Excellent suggestion! The patch will be merged soon.