telegraf can't read its charm-generated config file when using the snap
Bug #1914603 reported by
Laurent Sesquès
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Telegraf Charm |
Fix Released
|
High
|
Unassigned |
Bug Description
In fixing lp:1896467, we introduced a regression.
The charm writes telegraf config files with ownership to root:telegraf, but when using the snap, there is no 'telegraf' group (unless the deb was also installed).
The recommended way is to run non-root daemons as 'snap_daemon':
https:/
Related branches
~sajoupa/charm-telegraf:snap_daemon_user
- Benjamin Allot: Approve
- BootStack Reviewers: Pending requested
-
Diff: 114 lines (+43/-5)4 files modifiedsrc/reactive/telegraf.py (+25/-1)
src/tests/functional/tests/base.py (+4/-2)
src/tests/functional/tests/test_compute.py (+1/-1)
src/tests/unit/test_telegraf.py (+13/-1)
To post a comment you must log in.
I have confirmed this patch is already released.