[Bug 1204593] New: own telegraf.service gets overwritten when OS is updated
http://bugzilla.opensuse.org/show_bug.cgi?id=1204593 Bug ID: 1204593 Summary: own telegraf.service gets overwritten when OS is updated Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: aarch64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: hslager@hotmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After Tumbleweed OS/distro updating, telegraf fails (and failed) to get running somtimes. Reason is that an MQTT host might not be online (yet) and telegraf.service autorestarting is too fast, so then no telegraf active and failures due to that in my homeautomation. I added: RestartSec=30 in telegraf.service, after the comments line: # end of automatic additions So my expectation is: During a next update, my own modified telegraf.service stays as is. But it is actually overwritten by a newer / package provided version. A telegraf.service.rpmnew is created also, but that is quite useless if the resulting telegraf.service is the same and my own fixes get overwrittng. Solution would be to not overwrite the users modifications or at least not after a comment line that suggests that user changes after that are save. Other solution is to take my RestartSec=30 as default in the package, so others might also benefit from it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1204593 http://bugzilla.opensuse.org/show_bug.cgi?id=1204593#c1 Andreas Stieger <Andreas.Stieger@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |Andreas.Stieger@gmx.de Resolution|--- |WORKSFORME --- Comment #1 from Andreas Stieger <Andreas.Stieger@gmx.de> --- You are not supposed to edit the units provides by the packages in /usr/lib/systemd/system/ Instead place your own custom adapted unit into /etc/systemd/system/ -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com