Merge lp://staging/~mardy/ubuntuone-credentials/lp1376445-migration into lp://staging/ubuntuone-credentials/rtm-14.09

Proposed by David Barth
Status: Rejected
Rejected by: dobey
Proposed branch: lp://staging/~mardy/ubuntuone-credentials/lp1376445-migration
Merge into: lp://staging/ubuntuone-credentials/rtm-14.09
Diff against target: 75 lines (+34/-1)
4 files modified
acl-updater/acl-updater (+29/-0)
debian/control (+3/-0)
debian/libubuntuoneauth-2.0-0.migrations (+1/-0)
debian/rules (+1/-1)
To merge this branch: bzr merge lp://staging/~mardy/ubuntuone-credentials/lp1376445-migration
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
dobey (community) Disapprove
Review via email: mp+251235@code.staging.launchpad.net

Commit message

Upgrades the ACL of U1 accounts registered in the Online Accounts database.
Add dependencies on sqlite3 and account-plugin-tools for migration script.

Description of the change

This branch upgrades the ACL of u1 accounts registered in the Online Accounts database. This avoids the bug where older accounts are removed by the u1 code to force their re-creation.

This is an old merge proposal, but I feel this would solve the problem in a more consistent way for users upgrading from old to newer releases.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
dobey (dobey) wrote :

This will break multi-arch support in the packages, as this "script" is a compiled binary and not actually an architecture-independent script.

From dh_migrations man page:

       debian/package.migrations
           List the files and migration scripts to install into each package.
           The format is a set of lines, where each line lists a script file
           to install into into usr/share/session-migration/scripts in the
           package build directory.

           The name of the files (or directories) to install should be given
           relative to the current directory.

I'm also not confident that this will even work. If I understand how the ACL works, this program won't work, as it will be running unconfined, and unconfined will not yet be in the ACL. So when it tries to access the identity info, the request will be denied, meaning it won't be able to add anything to the ACL. And if this does actually work when the program is not in the ACL, and signon-apparmor-extension is installed, would it not be better to just integrate this into the normal code flow, rather than as an external migration script?

review: Disapprove
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
dobey (dobey) wrote :

Please add dependencies on sqlite3 and account-plugin-tools to the libubuntuoneauth-2.0-0 package in debian/control.

Also, please submit an MP with these same changes to trunk, so we can land this in Vivid as well.

review: Needs Fixing
Revision history for this message
dobey (dobey) :
review: Approve
Revision history for this message
dobey (dobey) :
review: Needs Fixing
Revision history for this message
dobey (dobey) wrote :
review: Disapprove
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches