upstart-app-launch does not set (at least) TMPDIR correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Application Launcher |
Fix Released
|
Critical
|
Ted Gould | ||
upstart-app-launch (Ubuntu) |
Fix Released
|
Critical
|
Unassigned |
Bug Description
My app "Rad.io" (available on the store) can't parse playlists anymore, i believe because it's using temp file to store them (using QTemporaryFile), i am also seeing errors like :
libust[3229/3231]: Error: Error opening shm /lttng-ust-wait-5 (in get_wait_shm() at lttng-ust-
and
(qmlscene:3229): dconf-CRITICAL **: unable to create file '/run/user/
from the dmesg :
[ 504.841843] type=1400 audit(138671635
[ 504.909720] type=1400 audit(138671635
App output http://
and here is the cpp code i use for the plugin https:/
QML : https:/
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apparmor-
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.7-0ubuntu2
Architecture: armhf
Date: Wed Dec 11 21:18:34 2013
InstallationDate: Installed on 2013-12-11 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20131211)
PackageArchitec
ProcEnviron:
TERM=linux
PATH=(custom, no user)
XDG_RUNTIME_
SHELL=/bin/bash
SourcePackage: apparmor-
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
- Charles Kerr (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 37 lines (+5/-1)1 file modifiedclick-exec.c (+5/-1)
Changed in upstart-app-launch: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Ted Gould (ted) |
Changed in upstart-app-launch: | |
status: | Fix Committed → Fix Released |
The dconf denial should be harmless, unless you adjsted your app to use gsettings (you shouldn't, gsettings isn't currently supported in the SDK).
/run/user/ 32011/confined/ com.ubuntu. developer. daker.rad- io.TJ3229 is not the correct path though. It seems like something isn't evaluating TMPDIR correctly. TMPDIR should be set to /run/user/ 32011/confined/ com.ubuntu. developer. daker.rad- io. Can you give the value of TMPDIR when your app is running?