Unable to finish install on Rocky Linux 9

I’m testing out a new install of Pritunl using Rocky Linux 9, but can’t finish the install as packages are missing from the repos. I’ve check stable & unstable but the packages just aren’t available. Is the build system failing or is Rocky Linux 9 unsupported at this time?
https://repo.pritunl.com/stable/yum/oraclelinux/9/

Supporting RHEL 9 will require updating the SELinux policies which hasn’t been done. For now it is recommended to use RHEL 8 distributions.

Do we have some RoadMap since Oracle Linux 9 and RHEL9 were released in 2022?

Thanks for the clarification Zach. I’ll re-deploy my VM under Rock Linux 8.

The RHEL 9 SELinux policies have been completed and RHEL 9 builds will be included in the next release.

Is the new release for RHEL9 already available? If not, is there an approximate release date? I’m thinking about whether it still makes sense to set up an “old” RHEL8 server.

I can see a release from a week ago (here) but failed to install on Orace Linux 9.3. I use the current Oracle Linux 9 repository, found here.

There is an Oracle Linux 9 release in the unstable repository, I haven’t finished the SELinux policies for it. Below are the commands to install on Oracle Linux 9. There are still a lot of SELinux errors that need to be fixed and SELinux would need to be disabled to run the server.

sudo tee /etc/yum.repos.d/pritunl.repo << EOF
[pritunl]
name=Pritunl Repository
baseurl=https://repo.pritunl.com/unstable/yum/oraclelinux/9/
gpgcheck=1
enabled=1
gpgkey=https://raw.githubusercontent.com/pritunl/pgp/master/pritunl_repo_pub.asc
EOF

sudo tee /etc/yum.repos.d/mongodb-org-6.0.repo << EOF
[mongodb-org-6.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/9/mongodb-org/6.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
EOF

sudo yum -y install oracle-epel-release-el9
sudo yum-config-manager --enable ol9_developer_EPEL

sudo yum -y install pritunl mongodb-org
sudo systemctl start mongod pritunl
sudo systemctl enable mongod pritunl
1 Like

@zach Thank you very much for the detailed instructions. We’ll start by installing a new productive server on version 8 initially, and additionally set up one on version 9 with SELinux functionality disabled for testing purposes.

I believe we’ll then attempt to port the setup from version 8 to version 9 once it’s production-ready.

Hi guys there is some news about Rocky 9 ? This month there is a commit on your repo about SELINUX 9.

The RHEL 9 support was added in the v1.32.3805.95 release back in February. The documentation is still recommending RHEL 8 but the RHEL 9 builds have been tested and should be working. For Rocky Linux the Oracle Linux 9 repository should be used. There are Alma Linux builds but the Alma Linux 9 builds were failing so currently Oracle Linux 9 is the only RHEL 9 build. This build should work on all RHEL 9 distributions. There were some minor changes in the SELinux policies, this was to fix a rare issue with some DNS server configurations. Those changes are only on the unstable repository but the stable repository has RHEL 9 builds. The same installation instructions can be used just change the repository URLs to 9 for both Pritunl and MongoDB.