Author Topic: CHROOT Fixes For AlmaLinux  (Read 872 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CHROOT Fixes For AlmaLinux
« on: February 22, 2024, 05:18:51 PM »
Please can you add AlmaLinux to the /scripts/chroot_add /scripts/chroot_remove scripts?

From my testing, you should only need to add 'almalinux' to the CentOS version grep code. eg:

centosversion=$(rpm -qa \*-release | grep -Ei "oracle|redhat|centos|cloudlinux|almalinux" | cut -d"-" -f3 | cut -d"." -f 1 | head -n 1)

Without this the persistent home directory mounting code does not run, so the mount will not be there on reboot!

Thanks,
Mark

Offline
*****
Re: CHROOT Fixes For AlmaLinux
« Reply #1 on: February 22, 2024, 06:25:41 PM »
There are allot of RHEL clones out there.

That would mean this would get long, since Rocky Linux would also have to be added.

Curious if there is one here on the forums, could answer how Rocky answers.

Offline
*
Re: CHROOT Fixes For AlmaLinux
« Reply #2 on: February 22, 2024, 08:52:15 PM »
If it's not in that list the script won't fully work.
Going forward CentOS is no longer enterprise ready I'd expect AlmaLinux and Rocky to be added to that list as a minimum.

Offline
*****
Re: CHROOT Fixes For AlmaLinux
« Reply #3 on: February 22, 2024, 10:25:54 PM »
Ja, now that CWP has abstracted from being CentOS Web Panel to Control Web Panel, they could/should drop CentOS Stream support and just support the truly server-ready EL releases. 5 distros probably won't tip the scales as being too encumbering...