~ubuntu-installer/ubiquity/trunk

Viewing all changes in revision 6639.

  • Committer: Iain Lane
  • Date: 2018-04-26 14:37:19 UTC
  • Revision ID: iain.lane@canonical.com-20180426143719-5c5lyjzr9sxgl3fz
Move the Gio.Settings code into the constructor of the wizard

This runs with dropped privileges (uid = 0, euid = 999) whereas run() runs as
root (uid = 0, euid = 0). When run as 0 / 0, dconf creates its
XDG_RUNTIME_DIR/dconf/user database as root. We need to ensure that it runs in
a context with dropped privileges. (LP: #1767067)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: