# Ubuntu vs Oracle linux with SELINUX

**URL:** <https://forum.pritunl.com/t/ubuntu-vs-oracle-linux-with-selinux/92>\
**Category:** Pritunl VPN\
**Created:** [April 26, 2022, 8:56am UTC](https://forum.pritunl.com/t/ubuntu-vs-oracle-linux-with-selinux/92 "2022-04-26T08:56:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![l0rdraiden](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@l0rdraiden](https://forum.pritunl.com/u/l0rdraiden)\
**Post date:** [April 26, 2022, 8:56am UTC](https://forum.pritunl.com/t/ubuntu-vs-oracle-linux-with-selinux/92/1 "2022-04-26T08:56:18Z")

</div>

The documentation says is better to use  
[## Oracle Linux](https://docs.pritunl.com/docs/installation#selinux-support)  
It is recommend to only use Red Hat Enterprise Linux, Oracle Linux or CentOS for Pritunl servers.  
Compatibility with rocky linux is in the roadmap?

It’s really a problem install it on ubuntu server? will be any real difference?

---

<div class="post-metadata">

**Author:** ![zach](https://forum.pritunl.com/user_avatar/forum.pritunl.com/zach/32/1105_2.png) [@zach](https://forum.pritunl.com/u/zach)\
**Post date:** [April 26, 2022, 3:21pm UTC](https://forum.pritunl.com/t/ubuntu-vs-oracle-linux-with-selinux/92/2 "2022-04-26T15:21:45Z")

</div>

The Pritunl server a [**dual web server**](https://docs.pritunl.com/docs/infrastructure) design with an internal and external web server. The [**external web server**](https://github.com/pritunl/pritunl-web) is run in a separate process and will sanitize incoming web requests in addition to handling SSL. Both processes have [**SELinux policies**](https://github.com/pritunl/pritunl/tree/master/selinux8), this provides a high level of proctection from RCE attacks on the external `pritunl-web` process.

The Oracle Linux 8 repository should work on Rocky Linux and AlmaLinux.

---

<div class="post-metadata">

**Author:** ![l0rdraiden](https://forum.pritunl.com/letter_avatar_proxy/v4/letter/l/b5a626/32.png) [@l0rdraiden](https://forum.pritunl.com/u/l0rdraiden)\
**Post date:** [April 26, 2022, 9:18pm UTC](https://forum.pritunl.com/t/ubuntu-vs-oracle-linux-with-selinux/92/3 "2022-04-26T21:18:38Z")

</div>

I have installed pritunl in almalinux and I get this problem with SELINUX

Is this a bug?

```auto
type=AVC msg=audit(1651007832.963:53): avc: denied { search } for pid=1572 comm="killall" name="1324" dev="proc" ino=27991 scontext=system_u:system_r:pritunl_t:s0 tcontext=system_u:system_r:cockpit_ws_t:s0 tclass=dir permissive=0
type=SYSCALL msg=audit(1651007832.963:53): arch=c000003e syscall=4 success=no exit=-13 a0=7ffea9791680 a1=7ffea97915f0 a2=7ffea97915f0 a3=0 items=0 ppid=933 pid=1572 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="killall" exe="/usr/bin/killall" subj=system_u:system_r:pritunl_t:s0 key=(null) 

```

How can I fix it?

the solution proposed here doesn’t work

 ![imagen](https://forum-static.pritunl.com/original/1X/dec34b058d6d70b8505e79ef730157ad10f37e24.png)

using default permissions fixed it “semodule -i my-killall.pp”
