On Friday, 28 January 2022 12:01:43 GMT 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?
In the worst case I had a server fail to reboot because I had
Requires=node_exporter.service in the default target.
Was:
$ rpm -ql golang-github-prometheus-node-exporter-1.2.2-1.fc35.x86_64 | grep
service
/etc/systemd/system/node_exporter.service
/usr/share/doc/golang-github-prometheus-node-exporter/examples/systemd/
node_exporter.service
Now is:
$ rpm -ql golang-github-prometheus-node-exporter-1.3.1-4.fc35.x86_64 | grep
service
/usr/lib/systemd/system/prometheus-node-exporter.service
/usr/share/doc/golang-github-prometheus-node-exporter/examples/systemd/
node_exporter.service
So the why is that it puts the service file in the right place.
That leaves the impact of the fix.
Barry