← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1260079] Re: upstart-app-launch does not set (at least) TMPDIR correctly

 

Adding the following to /var/lib/apparmor/profiles/click_com.ubuntu.developer.daker.rad-io_rad.io_0.7:
/run/shm/lttng-ust-wait-[0-9]* r,

and running:
$ sudo apparmor_parser -r /var/lib/apparmor/profiles/click_com.ubuntu.developer.daker.rad-io_rad.io_0.7 makes the denials go away, but upstart-app-launch is still not setting TMPDIR correctly.

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to upstart-app-launch in Ubuntu.
https://bugs.launchpad.net/bugs/1260079

Title:
  upstart-app-launch does not set (at least) TMPDIR correctly

Status in “upstart-app-launch” package in Ubuntu:
  New

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-comm.c:715)

  and

  (qmlscene:3229): dconf-CRITICAL **: unable to create file
  '/run/user/32011/dconf/user': Permission non accordée.  dconf will not
  work properly.

  from the dmesg :
  [ 504.841843] type=1400 audit(1386716356.945:169): apparmor="DENIED" operation="mknod" parent=1525 profile="com.ubuntu.developer.daker.rad-io_rad.io_0.7" name="/run/user/32011/confined/com.ubuntu.developer.daker.rad-io.TJ3229" pid=3229 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
  [ 504.909720] type=1400 audit(1386716357.015:170): apparmor="DENIED" operation="open" parent=1525 profile="com.ubuntu.developer.daker.rad-io_rad.io_0.7" name="/run/user/32011/dconf/user" pid=3229 comm="qmlscene" requested_mask="rwc" denied_mask="rwc" fsuid=32011 ouid=32011

  App output http://paste.ubuntu.com/6553674/

  and here is the cpp code i use for the plugin https://bazaar.launchpad.net/~rad.io-devs/rad.io/trunk/view/head:/plugin/player.cpp
  QML : https://bazaar.launchpad.net/~rad.io-devs/rad.io/trunk/view/head:/rad.io.qml

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: apparmor-easyprof-ubuntu 1.0.42
  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)
  PackageArchitecture: all
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   SHELL=/bin/bash
  SourcePackage: apparmor-easyprof-ubuntu
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upstart-app-launch/+bug/1260079/+subscriptions