apparmor denials during autopilot testing

Bug #1319382 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Calendar App
Fix Released
Undecided
Nicholas Skaggs
Ubuntu Music App
Fix Released
High
Nicholas Skaggs

Bug Description

During autopilot testing of calendar on flo #22 I note that we're getting apparmor denials:-

http://paste.ubuntu.com/7462273/

creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: calendar'QIODevice::write: device not open
libust[4484/4487]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
libust[4484/4487]: Error: Error opening shm /lttng-ust-wait-5-32011 (in get_wait_shm() at lttng-ust-comm.c:886)
Testability driver loaded. Wire protocol version is "1.4".
QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
Could not create thumbnailer: Could not create base dir - Permission denied

(process:4484): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied. dconf will not work properly.

(process:4484): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied. dconf will not work properly.

(process:4484): dconf-CRITICAL **: unable to create file '/run/user/32011/dconf/user': Permission denied. dconf will not work properly.
callbacks 0xb3d9dce5 0xb3d9dbdd
creating surface at (0, 58) with size (1200, 1862) with title 'qmlscene: calendar'}}}
11:35:01.565 ERROR testresult:46 - /var/log/syslog: {{{
May 14 11:34:40 ubuntu-phablet kernel: [ 506.154663] type=1400 audit(1400067280.788:300): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.config/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:40 ubuntu-phablet kernel: [ 506.154907] type=1400 audit(1400067280.788:301): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.config/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:40 ubuntu-phablet kernel: [ 506.158294] type=1400 audit(1400067280.788:302): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 506.956115] type=1400 audit(1400067281.589:303): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.config/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 507.314453] type=1400 audit(1400067281.950:304): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 507.314544] type=1400 audit(1400067281.950:305): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.fontconfig/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 507.314941] type=1400 audit(1400067281.950:306): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 507.315002] type=1400 audit(1400067281.950:307): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.fontconfig/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 507.315551] type=1400 audit(1400067281.950:308): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:41 ubuntu-phablet kernel: [ 507.315612] type=1400 audit(1400067281.950:309): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.fontconfig/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:46 ubuntu-phablet kernel: [ 511.537780] audit_printk_skb: 12 callbacks suppressed
May 14 11:34:46 ubuntu-phablet kernel: [ 511.537811] type=1400 audit(1400067286.174:314): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:46 ubuntu-phablet kernel: [ 511.537872] type=1400 audit(1400067286.174:315): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.fontconfig/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:46 ubuntu-phablet kernel: [ 512.027038] type=1400 audit(1400067286.664:316): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:46 ubuntu-phablet kernel: [ 512.027099] type=1400 audit(1400067286.664:317): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.fontconfig/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:46 ubuntu-phablet kernel: [ 512.181182] type=1400 audit(1400067286.814:318): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.cache/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:46 ubuntu-phablet kernel: [ 512.181274] type=1400 audit(1400067286.814:319): apparmor="DENIED" operation="mkdir" parent=1616 profile="com.ubuntu.calendar_calendar_0.4.269" name="/tmp/tmp2ehg9zff/.fontconfig/" pid=4484 comm="qmlscene" requested_mask="c" denied_mask="c" fsuid=32011 ouid=32011
May 14 11:34:50 ubuntu-phablet kernel: [ 516.036407] bq27541_get_psp voltage_now= 4175000 uV
May 14 11:34:50 ubuntu-phablet kernel: [ 516.038696] bq27541_get_psp status: Charging ret= 0x0180
May 14 11:34:50 ubuntu-phablet kernel: [ 516.041137] bq27541_get_psp current = 110 mA
May 14 11:34:50 ubuntu-phablet kernel: [ 516.041870] bq27541_get_psp voltage_now= 4175000 uV
May 14 11:34:50 ubuntu-phablet kernel: [ 516.042633] bq27541_get_capacity = 94% ret= 93
May 14 11:34:50 ubuntu-phablet kernel: [ 516.043334] bq27541_get_psp temperature= 272 (0.1¢XC)
}}}

Related branches

Changed in ubuntu-calendar-app:
assignee: nobody → Nicholas Skaggs (nskaggs)
Changed in ubuntu-calendar-app:
status: New → Confirmed
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:ubuntu-calendar-app at revision 284, scheduled for release in ubuntu-calendar-app, milestone alpha-1

Changed in ubuntu-calendar-app:
status: Confirmed → Fix Committed
Changed in music-app:
status: New → Triaged
importance: Undecided → High
Changed in ubuntu-calendar-app:
status: Fix Committed → In Progress
Changed in music-app:
status: Triaged → In Progress
assignee: nobody → Nicholas Skaggs (nskaggs)
Changed in music-app:
status: In Progress → Fix Committed
Changed in ubuntu-calendar-app:
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision 496, scheduled for release in music-app, milestone 1.0

Changed in ubuntu-calendar-app:
status: Fix Committed → Fix Released
Changed in music-app:
status: Fix Committed → 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.