[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-19 Thread Launchpad Bug Tracker
This bug was fixed in the package ubuntu-touch-session -
0.108+16.10.20160817.1-0ubuntu1

---
ubuntu-touch-session (0.108+16.10.20160817.1-0ubuntu1) yakkety; urgency=medium

  [ Łukasz 'sil2100' Zemczak ]
  * Modify the add_custom_to_xdg_data.sh profile.d hook to not modify
the XDG_DATA_DIRS if it's not set yet. (LP: #1604421)
  * Do not save the ubuntu-touch-session environment to the local
.profile files as this is not required (and bad practice).

 -- Łukasz Zemczak   Wed, 17 Aug 2016
13:53:09 +

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

-- 
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

[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-19 Thread Jean-Baptiste Lallement
** Changed in: canonical-devices-system-image
   Status: In Progress => Fix Committed

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-17 Thread Łukasz Zemczak
** Branch linked: lp:~sil2100/ubuntu-touch-
session/fix_bootability_on_xenial

** Changed in: gsettings-ubuntu-touch-schemas (Ubuntu)
   Status: New => Invalid

** Changed in: canonical-devices-system-image
   Status: Confirmed => In Progress

** Changed in: canonical-devices-system-image
 Assignee: Michał Sawicz (saviq) => Łukasz Zemczak (sil2100)

-- 
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

[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-17 Thread Łukasz Zemczak
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-17 Thread Łukasz Zemczak
** Changed in: ubuntu-touch-session (Ubuntu)
 Assignee: (unassigned) => Łukasz Zemczak (sil2100)

-- 
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

[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Andrea Azzarone
** No longer affects: unity (Ubuntu)

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Łukasz Zemczak
It seems as if XDG_DATA_DIRS gets cleared out at some time (you can see
the "::" where the previous XDG_DATA_DIRS content should have been),
wonder what component could have caused this. There was no change in
ubuntu-touch-session that actually sets the .profile file.

As Pat pointed out on IRC a valid lead would be to check what's being
run in /etc/profile.d/ on the broken machine. The only script that
touches XDG_DATA_DIRS is my old hack for enabling customized
notification sounds, /etc/profile.d/add_custom_to_xdg_data.sh. Maybe it
would be a good experiment to try and remove it in the broken system.
Doesn't look like much could have gotten broken there. Could anyone list
the contents of the /etc/profile.d directory on the xenial non-booting
device?

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Michał Sawicz
The problem seems to be:

$ initctl get-env -g XDG_DATA_DIRS
/usr/share/ubuntu-touch:/usr/share/ubuntu-touch:/usr/share/ubuntu-touch:/usr/share/ubuntu-touch::/custom/usr/share/:/custom/usr/share/

Compared to a working, upgraded device:
$ initctl get-env -g XDG_DATA_DIRS
/custom/xdg/data:/usr/share/ubuntu-touch:/usr/share/ubuntu-touch:/usr/share/ubuntu-touch:/usr/local/share:/usr/share:/custom/usr/share/

** Also affects: ubuntu-touch-session (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: unity8 (Ubuntu)
   Status: Incomplete => Invalid

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Sebastien Bacher
** No longer affects: glib2.0 (Ubuntu)

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Łukasz Zemczak
Looking at the commitlog, from the packages that could have touched
anything related to schemas, I see two package uploads happening between
image #40 (xenial working) and image #41 (xenial broken):

- gsettings-ubuntu-touch-schemas (0.0.7+16.04.20160615.1-0ubuntu1) > 
gsettings-ubuntu-schemas:
http://launchpadlibrarian.net/267243088/gsettings-ubuntu-touch-schemas_0.0.6+16.04.20160414-0ubuntu1_0.0.7+16.10.20160615.1-0ubuntu1.diff.gz
- unity (7.4.0+16.04.20160705-0ubuntu1) > unity-schemas:
http://launchpadlibrarian.net/272410280/unity_7.4.0+16.04.20160526.1-0ubuntu1_7.4.0+16.04.20160705-0ubuntu1.diff.gz

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Michał Sawicz
** Also affects: unity (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: gsettings-ubuntu-touch-schemas (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Łukasz Zemczak
Commitlog for 41 if needed.

** Attachment added: "41.commitlog"
   
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1604421/+attachment/4722067/+files/41.commitlog

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Michał Sawicz
Confirmed, something on vivid makes the schemas work, if you wipe or
bootstrap, glib can't find them.

glib-compile-schemas doesn't help, something else must be different
between a vivid upgrade and fresh xenial.

** Also affects: glib2.0 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Michał Sawicz
The unity8 crash seems to be a glib fatal error:

"No GSettings schemas are installed on the system"

Also supporting this:

$ gsettings list-schemas
No schemas installed

This could also explain why it works on upgrade, if vivid finds and
prepares the schemas fine.

** Changed in: unity8 (Ubuntu)
   Status: Confirmed => Incomplete

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Jean-Baptiste Lallement
I confirm Timo's findings. vivid + upgrade (with udf) works, fresh
xenial doesn't boot. Here is the diff between writable parts of the 2
installation. Left is vivid+upgrade, right is xenial.

** Patch added: "vivid-xenial.diff"
   
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1604421/+attachment/4721963/+files/vivid-xenial.diff

-- 
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


[Bug 1604421] Re: Unity 8 fails to start on staging (xenial) on the phone when --wipe is used for flashing

2016-08-16 Thread Timo Jyrinki
Updated to the fact that it's possible to get staging working by not
using using wipe/bootstrap.

** Summary changed:

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

** Description changed:

+ Update: this only happens when --wipe (or --bootstrap) is used for
+ flashing. It is possible to get functional xenial/staging running by
+ doing non-destructive flash update from rc-proposed.
+ 
  Unity 8 fails to start on staging (=xenial + xenial-overlay) on my
  krillin.
  
  unity-system-compositor.log: http://paste.ubuntu.com/20035267/ - shows
  Opening/Closing/Opening/Closing when starting unity8.
  
  unity8.log attached.
  
  Using ubuntu-touch/staging/bq-aquaris.en channel on krillin.
  version_detail:
  ubuntu=20160719,device=20160606-ab415b2,custom=20160701-981-38-14,version=49
  
  Crash file at http://people.ubuntu.com/~timo-
  jyrinki/unity8/_usr_bin_unity8.32011.crash
  
  Xenial can be flashed on the phone with eg:
  ubuntu-device-flash touch --channel=ubuntu-touch/staging/ubuntu 
--developer-mode --password= --wipe --boostrap
  (ubuntu channel)
  ubuntu-device-flash touch --channel=ubuntu-touch/staging/bq-aquaris.en 
--developer-mode --password= --wipe --recovery-image recovery-krillin.img
  (Bq channel)

-- 
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