sosreport doesn't collect all data from /etc/apparmor.d/
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sosreport (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
In Progress
|
Medium
|
Unassigned | ||
Vivid |
Won't Fix
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned | ||
Zesty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[SRU justification]
All the apparmor data needs to be collected
[Impact]
Problem in investigating AppArmor related issue without the data
[Fix]
Enhance the apparmor plugin to collect all the necessary data
[Test Case]
Without the fix, sosreport will only collect the following files :
./etc/apparmor.
./etc/apparmor/
./etc/apparmor/
With the fix, it will collect all of
./apparmor.d
./apparmor
and run :
ls -alh /etc/apparmor.
ls -alh /etc/apparmor.
[Regression]
Minimal, this plugin already runs on Yakkety, Xenial & Zesty
[Original description of the problem]
Sosreport appears to collect only sbin.dhclient from /etc/apparmor.d and ignores all other files/dirs.
I have observed this on 12.04, 13.10 and 14.04.
I would expect that it grabs all files/dirs from that directory.
Changed in sosreport (Ubuntu Yakkety): | |
status: | New → Fix Released |
Changed in sosreport (Ubuntu Xenial): | |
status: | New → Fix Released |
Changed in sosreport (Ubuntu Vivid): | |
status: | New → Won't Fix |
Changed in sosreport (Ubuntu Trusty): | |
status: | New → Triaged |
Changed in sosreport (Ubuntu Zesty): | |
status: | Triaged → Fix Released |
Changed in sosreport (Ubuntu Trusty): | |
importance: | Undecided → Medium |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
description: | updated |
Changed in sosreport (Ubuntu Trusty): | |
status: | Triaged → In Progress |
tags: | added: sts-sru |
tags: |
added: sts-sru-needed removed: sts-sru |
Changed in sosreport (Ubuntu Trusty): | |
assignee: | Louis Bouchard (louis) → nobody |
tags: | removed: sts-sru-needed |
It also doesn't grab sudo apparmor_status