interfaces: add log-observe from ubuntu-core-security #723

Merged
merged 12 commits into from Mar 31, 2016

Conversation

Projects
None yet
5 participants
Contributor

jdstrand commented Mar 23, 2016

interfaces: add log-observe from ubuntu-core-security

jdstrand added some commits Mar 23, 2016

@jdstrand jdstrand changed the title from Log observe to interfaces: add log-observe from ubuntu-core-security Mar 23, 2016

Member

chipaca commented Mar 25, 2016

add to whitelist

Collaborator

mvo5 commented Mar 30, 2016

This looks fine. Fwiw I used https://github.com/ubuntu-core/snappy/compare/master...jdstrand:log-observe?expand=1 to compare, for some reason the github diff included changes that are already in master.

However I doubt the value of the tests, it seems they are mostly testing what is already tested from commonInterface, i.e. the NewLogObserverInterface in itself has only the apparmor snippet and the name that is unique and different from commonInterface.

Contributor

zyga commented Mar 30, 2016

LGTM

FYI: for tests I'd keep them as is. It will be easier to add interface-specific tests (e.g. regression checks or anything similar) this way. We could spend some time de-duplicating them after 16.04.

Contributor

niemeyer commented Mar 31, 2016

I'm merging all security interface branches, and adding a single card in Trello to track the points raised which were not addressed.

@niemeyer niemeyer merged commit aec7bc4 into snapcore:master Mar 31, 2016

3 of 4 checks passed

Integration tests 66 tests run, 0 skipped, 1 failed.
Details
autopkgtest Success No test results found.
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.06%) to 77.389%
Details

@jdstrand jdstrand deleted the jdstrand:log-observe branch May 12, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment