The steam profile in 4.0.0~alpha2-0ubuntu7 does not support steam installed by steam-installer package

Bug #2047343 reported by Xu Zhen
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
New
Undecided
Unassigned
steam-installer (Ubuntu)
New
Undecided
Unassigned

Bug Description

The steam profile in 4.0.0~alpha2-0ubuntu7 only supports steam installed from the official website (https://cdn.cloudflare.steamstatic.com/client/installer/steam.deb), but does not support the installation by the steam-installer in the repository.

The new user namespace creation restrictions will prevent steam installed by steam-installer from running Windows games.

Revision history for this message
John Johansen (jjohansen) wrote :

The following profile worked for me, if it works for you I will get it uploaded asap. You can just drop it in a file and do

sudo apparmor_parser -r /path/to/your/file

to test it.

# This profile allows everything and only exists to give the
# application a name instead of having the label "unconfined"

abi <abi/4.0>,
include <tunables/global>

profile steam /usr/{lib/steam/bin_steam.sh,games/steam} flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/steam>
}

Revision history for this message
John Johansen (jjohansen) wrote :

the adjusted steam profile has been uploaded to https://launchpad.net/~apparmor-dev/+archive/ubuntu/unprivileged-userns ppa for testing

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.