session migration script shouldn't exit 1 on non-errors

Bug #1503190 reported by Sebastien Bacher
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-credentials (Ubuntu)
Fix Released
Low
dobey

Bug Description

Using wily, the session logs have a session-migration.log

"Exited with an error
stdout: no U1 account found; exiting"

that's because http://bazaar.launchpad.net/~ubuntuone-control-tower/ubuntuone-credentials/trunk/view/head:/acl-updater/acl-updater exit 1 if there are no accounts found, which means the script is retried at every login and log an error ... not having an account seems like a case for clearing off the migration with an exit 0 rather?

Related branches

Changed in ubuntuone-credentials (Ubuntu):
importance: Undecided → Low
dobey (dobey)
Changed in ubuntuone-credentials (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-credentials - 15.11+16.10.20160608

---------------
ubuntuone-credentials (15.11+16.10.20160608) yakkety; urgency=medium

  [ Rodney Dawes ]
  * Don't exit 1 on non-errors, and set -e to exit on normal errors.
    (LP: #1503190)
  * Remove the superfluous validateInput method.

  [ Timo Jyrinki ]
  * Stop depending on transitional packages. (LP: #1583079) Run wrap-
    and-sort -a -t -s on the packaging. (LP: #1583079)

 -- Rodney Dawes <email address hidden> Wed, 08 Jun 2016 16:31:42 +0000

Changed in ubuntuone-credentials (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.