Upstart jobs find wrong helpers when included in a Snap
Bug #1623694 reported by
Ted Gould
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Ted Gould | ||
ubuntu-app-launch (Ubuntu) |
Fix Released
|
High
|
Ted Gould |
Bug Description
The helpers when UAL is included in a Snap aren't found because they're looked for on absolute paths. We need a way to tell UAL that it isn't installed in the root directory and should look for helpers and Upstart jobs stuff in a different subdirectory.
Related branches
lp:~ted/ubuntu-app-launch/install-root
- Charles Kerr (community): Approve
- unity-api-1-bot: Needs Fixing (continuous-integration)
- dobey: Pending requested
- Ted Gould: Pending requested
- Marcus Tomlinson: Pending requested
-
Diff: 869 lines (+598/-20)21 files modifiedCMakeLists.txt (+25/-0)
debian/ubuntu-app-launch.install (+1/-0)
docs/index.rst (+50/-0)
libubuntu-app-launch/application-impl-legacy.cpp (+23/-8)
libubuntu-app-launch/application-impl-snap.cpp (+3/-1)
libubuntu-app-launch/jobs-systemd.cpp (+48/-3)
libubuntu-app-launch/registry-impl.cpp (+11/-0)
libubuntu-app-launch/registry-impl.h (+8/-0)
libubuntu-app-launch/ubuntu-app-launch.cpp (+5/-1)
snappy-xmir-envvars.c (+112/-0)
snappy-xmir.c (+212/-0)
tests/CMakeLists.txt (+5/-0)
tests/snappy-xmir-test-check.sh (+32/-0)
tests/snappy-xmir-test-helper-long.sh (+12/-0)
tests/snappy-xmir-test-helper.sh (+12/-0)
tests/snappy-xmir-test-libertine-launch.sh (+5/-0)
tests/snappy-xmir-test.sh.in (+30/-0)
upstart-jobs/application-click.conf.in (+0/-1)
upstart-jobs/application-snap.conf.in (+0/-1)
upstart-jobs/untrusted-helper.conf.in (+0/-1)
xmir-helper.c (+4/-4)
Superseded
for merging
into
lp:ubuntu-app-launch/16.10
- Ted Gould: Pending requested
- Marcus Tomlinson: Pending requested
- unity-api-1-bot: Pending (continuous-integration) requested
-
Diff: 258 lines (+85/-23)11 files modifieddocs/index.rst (+41/-0)
libubuntu-app-launch/registry-impl.cpp (+8/-0)
libubuntu-app-launch/registry-impl.h (+12/-0)
libubuntu-app-launch/ubuntu-app-launch.cpp (+5/-1)
upstart-jobs/application-click.conf.in (+4/-5)
upstart-jobs/application-failed.conf.in (+1/-1)
upstart-jobs/application-legacy.conf.in (+4/-4)
upstart-jobs/application-snap.conf.in (+4/-5)
upstart-jobs/application.conf.in (+1/-1)
upstart-jobs/untrusted-helper-type-end.conf.in (+1/-1)
upstart-jobs/untrusted-helper.conf.in (+4/-5)
Changed in canonical-devices-system-image: | |
milestone: | none → p1 |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Pat McGowan (pat-mcgowan) |
importance: | Undecided → High |
status: | New → In Progress |
Changed in canonical-devices-system-image: | |
milestone: | p1 → p2 |
Changed in canonical-devices-system-image: | |
assignee: | Pat McGowan (pat-mcgowan) → Ted Gould (ted) |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
This bug was fixed in the package ubuntu-app-launch - 0.9+17. 04.20170202. 2-0ubuntu1
--------------- 04.20170202. 2-0ubuntu1) zesty; urgency=medium
ubuntu-app-launch (0.9+17.
* SystemD backend added
* Make UAL relocatable for Snappy installs (LP: #1623694)
* Prioritize 'unity8' interfaces over other supported interfaces
* Handle deprecated functions in Mir 0.26
-- Ted Gould <email address hidden> Thu, 02 Feb 2017 15:10:39 +0000