agent icon indicating copy to clipboard operation
agent copied to clipboard

Why agent requires adm group on deb package?

Open gcb opened this issue 6 months ago • 2 comments

What's wrong?

seeing https://github.com/grafana/agent/issues/524 and the fix https://github.com/grafana/agent/issues/737

files moved around, new location at https://github.com/rfratto/agent/blob/main/packaging/grafana-agent/deb/control/postinst#L23 still without explanation

instead of simply adding the user to the journald reader permission group systemd-journal, it is also added to adm group with no further explanation why.

adm is usually not required to read logs and can act on a lot more in regular setups.

Steps to reproduce

  1. install
  2. remove user from group
  3. nothing bad happens as far as i can tell.

System information

No response

Software version

No response

Configuration

No response

Logs

No response

gcb avatar Aug 21 '24 16:08 gcb