Skip to content

Instantly share code, notes, and snippets.

@chesty
Last active October 31, 2018 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chesty/428ed208c467f7f4e20c1244cfc3210a to your computer and use it in GitHub Desktop.
Save chesty/428ed208c467f7f4e20c1244cfc3210a to your computer and use it in GitHub Desktop.
= AppArmor =
Time: Oct 31 21:48:11
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/home/michaelc/.ssh/known_hosts" pid=7219 comm="SshMasterConnec" requested_mask="ac" denied_mask="ac" fsuid=1098200003 ouid=1098200003
File: /home/michaelc/.ssh/known_hosts (write)
Suggestion:
* adjust program to write to $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:48:11
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/home/michaelc/.ssh/known_hosts" pid=7219 comm="SshMasterConnec" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=1098200003
File: /home/michaelc/.ssh/known_hosts (read)
Suggestions:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
* add 'ssh-keys' to 'plugs'
= AppArmor =
Time: Oct 31 21:43:45
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/snap/core/5837/lib/x86_64-linux-gnu/libuuid.so.1.3.0" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /snap/core/5837/lib/x86_64-linux-gnu/libuuid.so.1.3.0 (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:45
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/snap/core/5837/lib/x86_64-linux-gnu/libsystemd.so.0.14.0" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /snap/core/5837/lib/x86_64-linux-gnu/libsystemd.so.0.14.0 (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:45
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/snap/core/5837/lib/x86_64-linux-gnu/libselinux.so.1" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /snap/core/5837/lib/x86_64-linux-gnu/libselinux.so.1 (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:45
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/snap/core/5837/lib/x86_64-linux-gnu/liblzma.so.5.0.0" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /snap/core/5837/lib/x86_64-linux-gnu/liblzma.so.5.0.0 (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:45
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/snap/core/5837/lib/x86_64-linux-gnu/libgcrypt.so.20.0.5" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /snap/core/5837/lib/x86_64-linux-gnu/libgcrypt.so.20.0.5 (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:45
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/snap/core/5837/lib/x86_64-linux-gnu/libgpg-error.so.0.17.0" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /snap/core/5837/lib/x86_64-linux-gnu/libgpg-error.so.0.17.0 (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:47
Log: apparmor="DENIED" operation="open" profile="snap.x2goclient.x2goclient" name="/etc/xdg/Trolltech.conf" pid=7219 comm="x2goclient" requested_mask="r" denied_mask="r" fsuid=1098200003 ouid=0
File: /etc/xdg/Trolltech.conf (read)
Suggestion:
* adjust program to read necessary files from $SNAP, $SNAP_DATA, $SNAP_COMMON, $SNAP_USER_DATA or $SNAP_USER_COMMON
= AppArmor =
Time: Oct 31 21:43:47
Log: apparmor="DENIED" operation="connect" profile="snap.x2goclient.x2goclient" name="/run/user/1098200003/bus" pid=7219 comm="x2goclient" requested_mask="wr" denied_mask="wr" fsuid=1098200003 ouid=1098200003
File: /run/user/1098200003/bus (write)
Suggestions:
* adjust program to use $SNAP_DATA
* adjust program to use /run/shm/snap.$SNAP_NAME.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment