Updating profiles is a pain and known problem.  The current plans for
dealing with this are two fold.  We have been working on a merge tool,
which will allow two and three way profile merging.  The tool will
provide both automatic and manual merging of profiles.  The other way of
dealing with this for some users will be the profile repository; which
will allow users to replace packaged profiles with profiles from an
internet based repository that they can synch against.  Access to the
repository is being built into the tools (genprof/logprof), so it should
just become part of the flow for managing profiles.  The profile
repository should be released soon, and the merge tool will follow
eventually.

For the curious a little detail on the merge tool plans

Two way merge:
- The result of an automatic merge is the union of permissions of the two 
profiles.
  Conflicting x permissions must be dealt with specially but it can be done.
- In manual mode the user will get prompted to resolve differences

Three way  merge: (uses an original copy, modified local copy, update of 
original copy)
- In automatic mode the additions, deletions made by the user are detected 
(semantic diff of original and,
  local copy) and merged into the update profile (per two way merge).
- In manual mode the user will get promted about each change they made that 
resulted in the local
  copy.

-- 
Conflict in profiles in complain mode when upgrading apparmor-profiles
https://bugs.launchpad.net/bugs/117852
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to