question

Ian-9281 avatar image
0 Votes"
Ian-9281 asked MichaelMurphy-7853 edited

Teams RRM doesn;t work with fapolicyd on RHEL

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.

office-teams-linux-itpro
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @Ian-9281

Does anyone else have the same problem in your organization?

According to your description, it seems this phenomenon is occured in RPM, what about if using DEB package?

0 Votes 0 ·

@Ian-9281

It has been a while, how is everything going?
If you have any update about this issue, please feel free to post back.

0 Votes 0 ·

1 Answer

MichaelMurphy-7853 avatar image
0 Votes"
MichaelMurphy-7853 answered MichaelMurphy-7853 edited

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.