← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1360418] [NEW] Incorrect path used for .state files

 

Public bug reported:

I don't know if this is related to bug #1288742 or bug #1360366 or if its something else, however, apps are getting apparmor denials of the form:
apparmor="DENIED" operation="mknod" profile="com.ubuntu.clock_clock_1.0.485" name="/com.ubuntu.clock_clock_1.0.485.state.nS4718" pid=NNN comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
apparmor="DENIED" operation="mknod" profile="com.ubuntu.sudoku_sudoku_1.1.260" name="/com.ubuntu.sudoku_sudoku_1.1.260.state.E10491" pid=NNN comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

Notice the path is '/com.ubuntu.sudoku_sudoku_1.1.260.state.E10491'.
This is clearly wrong. I imagine the code setting this path is not
properly evaluating TMPDIR.

** Affects: qtbase-opensource-src (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: application-confinement

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to qtbase-opensource-src in
Ubuntu.
https://bugs.launchpad.net/bugs/1360418

Title:
  Incorrect path used for .state files

Status in “qtbase-opensource-src” package in Ubuntu:
  New

Bug description:
  I don't know if this is related to bug #1288742 or bug #1360366 or if its something else, however, apps are getting apparmor denials of the form:
  apparmor="DENIED" operation="mknod" profile="com.ubuntu.clock_clock_1.0.485" name="/com.ubuntu.clock_clock_1.0.485.state.nS4718" pid=NNN comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
  apparmor="DENIED" operation="mknod" profile="com.ubuntu.sudoku_sudoku_1.1.260" name="/com.ubuntu.sudoku_sudoku_1.1.260.state.E10491" pid=NNN comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011

  Notice the path is '/com.ubuntu.sudoku_sudoku_1.1.260.state.E10491'.
  This is clearly wrong. I imagine the code setting this path is not
  properly evaluating TMPDIR.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1360418/+subscriptions


Follow ups

References