This bug was due to my lack of understanding of the way upstart works. I've confirmed that crashes and subsequent respawns will use the original environment variables.
That said, if ofono is restarted ( stop ofono/start ofono, or restart ofono ), the environment variables are not set in the user's session ( as rild.conf didn't run in the user session ), so the default values of 'ril' and 1 are used. So lesson learned, if you want to restart ofono on krillin, make sure to specify the environment variables. ** Changed in: lxc-android-config (Ubuntu) Status: New => Invalid ** Changed in: lxc-android-config (Ubuntu) Assignee: Alfonso Sanchez-Beato (alfonsosanchezbeato) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1379572 Title: [krillin] Restart ofono, cause repeated crashes in ril plugin To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc-android-config/+bug/1379572/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs