Ubuntu vs Oracle linux with SELINUX

The documentation says is better to use
## Oracle Linux
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?

The Pritunl server a dual web server design with an internal and external web server. The external web server is run in a separate process and will sanitize incoming web requests in addition to handling SSL. Both processes have SELinux policies, 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.

1 Like

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

Is this a bug?

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

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