commit | 2ebc16da6068c8c61658b39cf70d157d7d0911eb | [log] [tgz] |
---|---|---|
author | Paul Stewart <pstew@chromium.org> | Thu Aug 23 10:38:39 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Fri Aug 24 14:27:48 2012 -0700 |
tree | cd35c39a367b5ff912c9bf5ce1c93387ef7569ae | |
parent | e285a84b38b81f5557b576da187d037ad24ae4af [diff] |
shill: profile: Mark invalid profiles as corrupted and ignore If we fail to open a profile due to a failure in loading the keyfile store, move the broken file out of the way, since we will never be able to load this file in later attempts. In situations where this is the default profile, this will allow us to start up successfully the next time. BUG=chromium-os:33822 TEST=Unit tests + manual (copy default.profile from the bug and ensure shill restarts itself and moves the corrupted profile out of the way.) Change-Id: Ia3b7716b36b52c559193f6f6e28c9b185a77c01e Reviewed-on: https://gerrit.chromium.org/gerrit/31374 Commit-Ready: Paul Stewart <pstew@chromium.org> Reviewed-by: Paul Stewart <pstew@chromium.org> Tested-by: Paul Stewart <pstew@chromium.org>