Libvirt AppArmor profile blocks ptrace call from snap
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Prometheus libvirt exporter charm |
Fix Released
|
Undecided
|
Unassigned | ||
prometheus-libvirt-exporter-snap |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
the exporter uses the libvirt interface.
When it is connected even if it is able to collect correctly all the metrics the kernel keeps logging:
```
Dec 15 11:43:57 peppepetra-XPS-13 kernel: [179654.196285] audit: type=1400 audit(163956503
Dec 15 11:44:10 peppepetra-XPS-13 kernel: [179667.726772] audit: type=1400 audit(163956505
Dec 15 11:44:16 peppepetra-XPS-13 kernel: [179673.103116] audit: type=1400 audit(163956505
```
Related branches
- 🤖 prod-jenkaas-bootstack (community): Approve (continuous-integration)
- James Troup (community): Needs Fixing
- Canonical IS Reviewers: Pending requested
- BootStack Reviewers: Pending requested
-
Diff: 176 lines (+109/-5)6 files modifiedMakefile (+3/-2)
src/reactive/prometheus-libvirt-exporter.py (+27/-0)
src/tests/unit/__init__.py (+1/-0)
src/tests/unit/requirements.txt (+4/-0)
src/tests/unit/test_prometheus_libvirt_exporter.py (+69/-0)
src/tox.ini (+5/-3)
Changed in charm-prometheus-libvirt-exporter: | |
status: | New → Fix Committed |
Changed in charm-prometheus-libvirt-exporter: | |
status: | Fix Committed → Fix Released |
Related bug https:/ /bugs.launchpad .net/snapd/ +bug/1954935