You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suppose it's related to how debian package tools automatically handle service found in deb packages, and differences between buster and bullseye versions.
Anyway, i also see that it's a common practice to force daemon-reload in postinst scripts, just like - for instance - hashicorp consul: https://github.com/hashicorp/consul/blob/main/.release/linux/postinstall
The text was updated successfully, but these errors were encountered:
My understanding is that is is useful to have RESTART_ON_UPGRADE as a safety mechanism to prevent unintended restarts of stateful services by configuration management tools or otherwise.
However, this should only be considered for upgrades and it makes sense to me that the service should start automatically on install so introducing the logic to do that seems reasonable.
On April 9, 2024, Grafana Labs announced Grafana Alloy, the spirital successor to Grafana Agent and the final form of Grafana Agent flow mode. As a result, Grafana Agent has been deprecated and will only be receiving bug and security fixes until its end-of-life around November 1, 2025.
To make things easier for maintainers, we're in the process of migrating all issues tagged variant/flow to the Grafana Alloy repository to have a single home for tracking issues. This issue is likely something we'll want to address in both Grafana Alloy and Grafana Agent, so just because it's being moved doesn't mean we won't address the issue in Grafana Agent :)
We just run in the same issue while upgrading alloy from 1.2.0 to 1.3.0. Weirdly, half of our server fleet just updated correctly, the other half did not.
I've tested with current release
0.30.1-1
. Here is a simple test scenario:I've also tested it on debian bullseye, but this time grafana-agent service is well detected:
I suppose it's related to how debian package tools automatically handle service found in deb packages, and differences between buster and bullseye versions.
Anyway, i also see that it's a common practice to force daemon-reload in postinst scripts, just like - for instance - hashicorp consul: https://github.com/hashicorp/consul/blob/main/.release/linux/postinstall
The text was updated successfully, but these errors were encountered: