canonical / steam-snap

Steam as a snap
72 stars 10 forks source link

Log spam #261

Open katian opened 1 year ago

katian commented 1 year ago

Describe the bug

When I look at the log there is spam.

To Reproduce

Steps to reproduce the behavior:

Launch terminal $ journalctl -fe -t audit

Environment

os_release: 
    name:               "Ubuntu"
    version:            "22.04.2 LTS (Jammy Jellyfish)"
snap_info: 
    steam_revision:     146
    snapd_revision:     19361
lspci: 
    01:00.0:            NVIDIA Corporation TU116 [GeForce GTX 1650] (rev a1)
glxinfo: 
    gpu:                NVIDIA GeForce GTX 1650/PCIe/SSE2
    gpu_version:        4.6.0 NVIDIA 530.41.03
lscpu: 
    model_name:         12th Gen Intel(R) Core(TM) i5-12400
xdg_current_desktop:    ubuntu:GNOME
desktop_session:        ubuntu

Logs

AVC apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3409/environ" pid=93948 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 AVC apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3409/environ" pid=93948 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 AVC apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3409/environ" pid=93948 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 AVC apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3409/environ" pid=93948 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000 AVC apparmor="DENIED" operation="open" class="file" profile="snap.steam.steam" name="/proc/3409/environ" pid=93948 comm="steam" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000

Additional Context

$ snap connections steam 
Interface               Connecteur                    Prise                               Notes
audio-playback          steam:audio-playback          :audio-playback                     -
audio-record            steam:audio-record            -                                   -
bluez                   steam:bluez                   -                                   -
content[gaming-mesa]    steam:gaming-mesa             gaming-graphics-core22:gaming-mesa  -
content[gtk-3-themes]   steam:gtk-3-themes            gtk-common-themes:gtk-3-themes      -
content[icon-themes]    steam:icon-themes             gtk-common-themes:icon-themes       -
content[sound-themes]   steam:sound-themes            gtk-common-themes:sound-themes      -
desktop                 steam:desktop                 :desktop                            -
desktop-legacy          steam:desktop-legacy          :desktop-legacy                     -
fuse-support            steam:fuse-support            -                                   -
gsettings               steam:gsettings               :gsettings                          -
hardware-observe        steam:hardware-observe        :hardware-observe                   manual
home                    steam:home                    :home                               -
joystick                steam:joystick                :joystick                           -
mount-observe           steam:mount-observe           -                                   -
network                 steam:network                 :network                            -
network-control         steam:network-control         -                                   -
opengl                  steam:opengl                  :opengl                             -
personal-files          steam:dot-local-share-steam   -                                   -
process-control         steam:process-control         -                                   -
removable-media         steam:removable-media         :removable-media                    -
screen-inhibit-control  steam:screen-inhibit-control  :screen-inhibit-control             -
shared-memory           steam:shmem                   :shared-memory                      -
steam-support           steam:steam-support           :steam-support                      -
system-observe          steam:system-observe          :system-observe                     manual
uinput                  steam:uinput                  :uinput                             -
upower-observe          steam:upower-observe          :upower-observe                     -
wayland                 steam:wayland                 :wayland                            -
x11                     steam:x11                     :x11                                -
ashuntu commented 10 months ago

As far as we are aware, those denials should have no effect on your experience. We may try to silence those logs in the future.

smcv commented 7 months ago

I'm told there is process management functionality in Steam that relies on being able to read the /proc/*/environ of games. If it can't read the /proc/*/environ of at least its own processes, then that functionality (whatever it is) is not going to work as intended.

I can't clarify exactly what functionality (I am not a Steam developer and I don't have access to its proprietary code) but someone in Valve might be able to advise.