godd examples fails to run: open /proc/self/mountinfo: permission denied

Bug #1544243 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Snapcraft
Fix Released
Low
Leo Arias

Bug Description

Running the binary godd.godd in a recent all-snaps snappy fails:

ubuntu@localhost:~$ godd.godd /home/ubuntu/snaps/godd.sideload/IMNKVFWFebJY/godd_1.0_amd64.snap /dev/null
failed to dd: open /proc/self/mountinfo: permission denied

The snappy-debug scanlog shows:

= AppArmor =
Time: Feb 10 19:21:54
Log: apparmor="DENIED" operation="open" profile="godd.sideload_godd_IMNKVFWFebJY" name="/proc/1570/mountinfo" pid=1570 comm="godd" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
File: /proc/1570/mountinfo (read)

Leo Arias (elopio)
description: updated
Revision history for this message
Leo Arias (elopio) wrote :

This snap needs the mount-observe interface.

tags: added: bitesize snap-docs tests
Changed in snapcraft:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Leo Arias (elopio)
milestone: none → 2.28
Revision history for this message
Leo Arias (elopio) wrote :
Changed in snapcraft:
status: In Progress → Fix Committed
Changed in snapcraft:
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.