Merge lp:~jdstrand/media-hub/1356883 into lp:media-hub
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jim Hodapp | ||||
Approved revision: | 58 | ||||
Merged at revision: | 75 | ||||
Proposed branch: | lp:~jdstrand/media-hub/1356883 | ||||
Merge into: | lp:media-hub | ||||
Diff against target: |
31 lines (+8/-0) 1 file modified
debian/usr.bin.media-hub-server (+8/-0) |
||||
To merge this branch: | bzr merge lp:~jdstrand/media-hub/1356883 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jim Hodapp (community) | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Review via email: mp+231962@code.launchpad.net |
Commit message
debian/
- allow read access to /etc/udev/udev.conf (LP: #1356883)
- add video abstraction
- silence access to /run/udev/data/** like we do elsewhere
- allow read on /dev/video*
- allow read on /sys/devices/
- allow read on /sys/devices/
Description of the change
allow read access to /etc/udev/udev.conf for gstreamer. This access is a common noisy denial and not high priority, but it may be confusing for people so just allow it (the contents of the file are harmless). Allow several other readonly accesses based on denials seen with mediascanner2.
The rules only add accesses that were previously denied so there should be no risk of regression. You can test the profile compiles with:
$ apparmor_parser -QTK ./debian/
PASSED: Continuous integration, rev:57 jenkins. qa.ubuntu. com/job/ media-hub- ci/86/ jenkins. qa.ubuntu. com/job/ media-hub- utopic- amd64-ci/ 28 jenkins. qa.ubuntu. com/job/ media-hub- utopic- armhf-ci/ 27 jenkins. qa.ubuntu. com/job/ media-hub- utopic- armhf-ci/ 27/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ media-hub- utopic- i386-ci/ 26
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/media- hub-ci/ 86/rebuild
http://