Some of the upgrade paths use pkexec, so checking for PKEXEC_UID would
be a good idea.

@Mark Haney - the inhibitIdle function should only run if /usr/bin
/gnome-session-inhibit is available. Is it on your server?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1570947

Title:
  Trusty to Xenial upgrade KeyError: 'SUDO_UID'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1570947/+subscriptions

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

Reply via email to