On 28 Jan 2022, at 12:28, Tomasz Torcz <tomek(a)pipebreaker.pl>
wrote:
On Fri, Jan 28, 2022 at 12:01:43PM +0000, Barry Scott wrote:
> I just had to fix a number of my servers that use node exporter.
>
> The service name has been changed. Why was this done and did no one
> think about the impact on users?
This was done here:
https://src.fedoraproject.org/rpms/golang-github-prometheus-node-exporter...
as part of the fix for
https://bugzilla.redhat.com/show_bug.cgi?id=2039257
(golang-github-prometheus-node-exporter installs service unit in /etc)
Moving the unit is fine, but rename should not happen stable release.
At least some compat symlinks/Alias= should be provided.
> In the worst case I had a server fail to reboot because I had
> Requires=node_exporter.service in the default target.
It is unfortunate. It is also unfortunate no-one cared enough about
node-exporter to have it tested during 2 weeks time
(
https://bodhi.fedoraproject.org/updates/FEDORA-2022-e52d3d8db2)
before it was submitted to stable.
I guess what is surprising me is that it's a breaking change and that was not
noticed in review or dev testing.
I have now updated golong-github-prometheus that has more breaking changes to handle.
The change in the way that .service file handles arguments is welcome.
But its not compatible with the previous .service files handling.
Barry