~pitti/unity-gtk-module/env-race

Viewing all changes in revision 339.

  • Committer: Martin Pitt
  • Date: 2016-09-13 14:38:40 UTC
  • Revision ID: martin.pitt@canonical.com-20160913143840-3y5ajhamalwukp1t
Fix $GTK_MODULES race condition

Partially revert r337: Keep the upstart job as it is to let it take care of
setting the env var in upstart, and only set the systemd+dbus variable in the
systemd unit. We cannot order systemd units against upstart job, thus cannot
enforce that upstart jobs run after unity-gtk-module.service, which caused the
variable to be wrong in a lot of upstart-launched programs.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: