puritine click not installed by custom tarball does not work

Bug #1576406 reported by Kyle Nitzsche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Libertine
Status tracked in Devel
Devel
Fix Released
Medium
Christopher Townsend
Trunk
Fix Released
Medium
Christopher Townsend
libertine (Ubuntu)
Fix Released
Medium
Christopher Townsend

Bug Description

OTA 10

links created by puritine-conf upstart are not updated to ContainersConfig.json and the rootfs when puritine click is installed not through custom tarball.

Since the links are not updated, libertine does not try to use the new puritine container (it still points to the old one).

So after updated puritine click install:

phablet@ubuntu-phablet:~/.local/share/libertine$ ls -l ContainersConfig.json
lrwxrwxrwx 1 phablet phablet 100 Apr 28 12:37 ContainersConfig.json-> /custom/click/.click/users/@all/com.ubuntu.puritine/libertine-config/libertine/ContainersConfig.json

But that should be:
lrwxrwxrwx 1 phablet phablet 111 Apr 28 16:07 ContainersConfig.json -> /opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.puritine/libertine-config/libertine/ContainersConfig.json

And:
phablet@ubuntu-phablet:~/.cache/libertine-container/puritine$ ls -l rootfs
lrwxrwxrwx 1 phablet phablet 102 Apr 28 12:37 rootfs -> /custom/click/.click/users/@all/com.ubuntu.puritine/libertine-data/libertine-container/puritine/rootfs

But that should be:
lrwxrwxrwx 1 phablet phablet 113 Apr 28 15:46 rootfs -> /opt/click.ubuntu.com/.click/users/phablet/com.ubuntu.puritine/libertine-data/libertine-container/puritine/rootfs

VERSION INFO
phablet@ubuntu-phablet:~$ dpkg -S /usr/share/upstart/sessions/puritine-click.conf
libertine-demo: /usr/share/upstart/sessions/puritine-click.conf
phablet@ubuntu-phablet:~$ apt-cache policy libertine-demo
libertine-demo:
  Installed: 0.99.12+15.04.20160321-0ubuntu1

Related branches

Revision history for this message
Kyle Nitzsche (knitzsche) wrote :

Simply deleting the two links and rebooting fixes the issue since the upstart script that creates them only does so if they do not exist.

Revision history for this message
Christopher Townsend (townsend) wrote :

I'm trying to work out a way to use a click hook for handling all of this instead of an Upstart script.

Changed in libertine (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Libertine CI Bot (libertine-ci-bot) wrote :

Fix committed into lp:libertine at revision 217, scheduled for release in libertine, milestone Unknown

Changed in libertine:
status: In Progress → Fix Committed
Changed in libertine (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Christopher Townsend (townsend)
description: updated
description: updated
description: updated
Changed in libertine (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.