Teams RRM doesn;t work with fapolicyd on RHEL

Ian 1 Reputation point
2022-02-24T01:05:31.33+00:00

Hi,

The RHEL Teams package teams-1.4.00.26453-1.x86_64.rpm doesn't work on RHEL8.5 when fapolicyd is installed and active which should work when teams is installed as an RPM.
The fapolicyd is configured with the RPM backend by default

rule=7 dec=deny_audit perm=open auid=17200001 pid=211613 exe=/usr/share/teams/teams : path=/usr/share/teams/libffmpeg.so ftype=application/x-sharedlib

fapolicyd is a security policy whitelist tool.

Microsoft 365 and Office | Skype for Business | Linux
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Murphy 1 Reputation point
    2022-03-28T19:32:11.23+00:00

    According to the fapolicyd documentation found here: https://github.com/linux-application-whitelisting/fapolicyd

    Starting with the 0.9.4 release, the rpm backend filters most files in the /usr/share directory. It keeps anything with a with a python extension or a libexec directory. It also keeps /usr/src/kernel so that Akmod can still build drivers on a kernel update.

    You would have to add a rule to /etc/fapolicyd/fapolicyd.rules to allow open/execute from the /usr/share/teams directory. I am trying to do the same with VS Code.

    Also, /usr/share is not a great place for applications to be installed. For reference:
    https://refspecs.linuxfoundation.org/FHS_2.3/fhs-2.3.html#PURPOSE26

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.