Ok, it seems that the culprit is my quick-fix add_custom_to_xdg_data.sh
in profile.d! I tracked it down and it seems to be causing the invalid
.profile. The reason is yet unknown, but I suppose something changed and
now it was applied in a different order than on vivid. I checked the
values and it seems that /etc/profile.d/add_custom_to_xdg_data.sh was
run *before* /usr/bin/ubuntu-touch-session, not the other way around as
it was intended. This cause corruption as ubuntu-touch-session was
written in a way assuming that XDG_DATA_DIRS is empty (or at least
sane), where in this case it only had this one additional entry we
wanted for customized notification sounds.

Anyway, need to figure out what happened exactly, but removing
add_custom_to_xdg_data.sh from /etc/profile.d is a quick workaround for
now.

** Changed in: ubuntu-touch-session (Ubuntu)
   Importance: Undecided => Critical

** Changed in: ubuntu-touch-session (Ubuntu)
       Status: New => In Progress

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

Title:
  Unity 8 fails to start on staging (xenial) on the phone when --wipe is
  used for flashing

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1604421/+subscriptions

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

Reply via email to