telegraf can't read its charm-generated config file when using the snap

Bug #1914603 reported by Laurent Sesquès
8
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://snapcraft.io/docs/services-and-daemons

Related branches

Revision history for this message
Joe Guo (guoqiao) wrote :

I have confirmed this patch is already released.

Changed in charm-telegraf:
status: New → Fix Committed
importance: Undecided → High
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.