debian: add maintscript helper to remove usr.lib.snapd.snap-confine in snap-confine #3181

Merged
merged 2 commits into from Apr 13, 2017

Conversation

Projects
None yet
4 participants
Collaborator

mvo5 commented Apr 12, 2017

The old snap-confine package used to own the usr.lib.snapd.snap-confine
conffile. So we need to put the maintscript helper into the transitional
snap-confine package to get this file really removed.

LP: 1682023

Add maintscript helper to remove usr.lib.snapd.snap-confine in snap-c…
…onfine

The old snap-confine package used to own the usr.lib.snapd.snap-confine
conffile. So we need to put the maintscript helper into the transitional
snap-confine package to get this file really removed.

zyga approved these changes Apr 12, 2017

The mysteries of dpkg continue to amaze

I am able to reproduce this issue locally using an old 2.22.6 and the latest 2.23.6 binaries Using packages built with this fix applied the errant profile is correctly removed during reinstall:

Removing obsolete conffile /etc/apparmor.d/usr.lib.snapd.snap-confine ...

Contributor

jdstrand commented Apr 12, 2017

LGTM

@zyga zyga merged commit 537a6bc into snapcore:master Apr 13, 2017

6 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
xenial-amd64 autopkgtest finished (success)
Details
xenial-i386 autopkgtest finished (success)
Details
xenial-ppc64el autopkgtest finished (success)
Details
yakkety-amd64 autopkgtest finished (success)
Details
zesty-amd64 autopkgtest finished (success)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment