Bug 6400

Summary: VirtualBox-guest-additions for EL 9
Product: Fedora Reporter: Thomas Stephen Lee <lee.jnk>
Component: VirtualBox-kmodAssignee: Sérgio Basto <sergio>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: leigh123linux
Priority: P1    
Version: unspecified   
Hardware: x86_64   
OS: GNU/Linux   
namespace:

Description Thomas Stephen Lee 2022-08-25 11:11:09 CEST
Hi,

Kindly provide VirtualBox-guest-additions for RHEL/Rocky/Alma Linux 9.

Thanks
Comment 1 leigh scott 2022-08-25 18:05:52 CEST
You will need to request it at fedora bugzilla as it's a fedora package.
Comment 2 Sérgio Basto 2022-08-25 18:09:42 CEST
https://rpmfusion.org/Howto/VirtualBox#Install_virtual-guest-additions_on_Centos_9_.28stream.29

dnf install centos-release-kmods
dnf install virtualbox-guest-additions
systemctl enable vboxservice
Comment 3 Thomas Stephen Lee 2022-08-26 12:56:50 CEST
(In reply to leigh scott from comment #1)
> You will need to request it at fedora bugzilla as it's a fedora package.

From repo is rpmfusion-free-updates not Fedora

On EL8 machine

dnf info VirtualBox-guest-additions

Installed Packages
Name         : VirtualBox-guest-additions
Version      : 6.1.36
Release      : 1.el8
Architecture : x86_64
Size         : 8.5 M
Source       : VirtualBox-6.1.36-1.el8.src.rpm
Repository   : @System
From repo    : rpmfusion-free-updates
Summary      : VirtualBox Guest Additions
URL          : http://www.virtualbox.org/wiki/VirtualBox
License      : GPLv2 or (GPLv2 and CDDL)
Description  : This subpackage is like the VirtualBox Guest Additions but just for Fedora,
             : therefore it should be installed only in a Fedora guest system.
             : This subpackage provides tools that use kernel modules for supporting
             : integration with the Host, including file sharing, clipboard sharing,
             : X.org X11 video and mouse driver, USB and webcam proxy and Seamless mode.


http://download1.rpmfusion.org/free/el/updates/8/x86_64/v/VirtualBox-guest-additions-6.1.36-1.el8.x86_64.rpm

thanks
Comment 4 Thomas Stephen Lee 2022-08-26 12:58:10 CEST
(In reply to Sérgio Basto from comment #2)
> https://rpmfusion.org/Howto/VirtualBox#Install_virtual-guest-
> additions_on_Centos_9_.28stream.29
> 
> dnf install centos-release-kmods
> dnf install virtualbox-guest-additions
> systemctl enable vboxservice

no such package on RHEL 9 and Alma Linux 9
Comment 5 Sérgio Basto 2022-08-26 13:22:27 CEST
dnf install centos-release-kmods , after install centos-release-kmods after `dnf repolist` will show repo centos-kmods, the virtualbox-guest-additions updated is there
Comment 6 leigh scott 2022-08-26 14:52:57 CEST
(In reply to Sérgio Basto from comment #5)
> dnf install centos-release-kmods , after install centos-release-kmods after
> `dnf repolist` will show repo centos-kmods, the virtualbox-guest-additions
> updated is there

Please remove the VirtualBox-guest-additions sub-package, we have a non-replacement policy.
Comment 7 leigh scott 2022-08-26 15:42:59 CEST
(In reply to Thomas Stephen Lee from comment #4)
> (In reply to Sérgio Basto from comment #2)
> > https://rpmfusion.org/Howto/VirtualBox#Install_virtual-guest-
> > additions_on_Centos_9_.28stream.29
> > 
> > dnf install centos-release-kmods
> > dnf install virtualbox-guest-additions
> > systemctl enable vboxservice
> 
> no such package on RHEL 9 and Alma Linux 9



http://mirror.stream.centos.org/SIGs/9-stream/kmods/x86_64/packages-main/Packages/v/
Comment 8 Sérgio Basto 2022-08-26 16:08:28 CEST
and http://mirror.stream.centos.org/SIGs/9-stream/kmods/x86_64/packages-main/Packages/k/ 
(kmod-vbox-guest-additions-5.14.0~148-1.el9s.x86_64.rpm)
Comment 9 Sérgio Basto 2022-08-26 16:09:24 CEST
(In reply to leigh scott from comment #6)
> (In reply to Sérgio Basto from comment #5)
> > dnf install centos-release-kmods , after install centos-release-kmods after
> > `dnf repolist` will show repo centos-kmods, the virtualbox-guest-additions
> > updated is there
> 
> Please remove the VirtualBox-guest-additions sub-package, we have a
> non-replacement policy.

VirtualBox-guest-additions sub-package is just available for el7 e el8
Comment 10 Thomas Stephen Lee 2022-08-27 08:32:41 CEST
(In reply to Sérgio Basto from comment #8)
> and
> http://mirror.stream.centos.org/SIGs/9-stream/kmods/x86_64/packages-main/
> Packages/k/ 
> (kmod-vbox-guest-additions-5.14.0~148-1.el9s.x86_64.rpm)

OK,

If it is in CentOS Stream 9, it should be part of a future EL 9 release.
I guess I will have to wait for now.
Comment 11 Sérgio Basto 2022-08-27 22:16:32 CEST
(In reply to Thomas Stephen Lee from comment #10)
> (In reply to Sérgio Basto from comment #8)
> > and
> > http://mirror.stream.centos.org/SIGs/9-stream/kmods/x86_64/packages-main/
> > Packages/k/ 
> > (kmod-vbox-guest-additions-5.14.0~148-1.el9s.x86_64.rpm)
> 
> OK,
> 
> If it is in CentOS Stream 9, it should be part of a future EL 9 release.
> I guess I will have to wait for now.

I think you are confused or mistaken because you can install this external in any Centos 9 based 

see I had to build kbuild package on epel 9 https://bugzilla.redhat.com/show_bug.cgi?id=2043939 , may you are just missing enable the epel packages ...
Comment 12 Thomas Stephen Lee 2022-09-22 09:21:54 CEST
https://lists.centos.org/pipermail/centos/2022-September/715699.html

How to use kmods in EL 9.

Just in case somebody comes here.
Comment 13 Sérgio Basto 2022-09-22 12:14:06 CEST
(In reply to Thomas Stephen Lee from comment #12)
> https://lists.centos.org/pipermail/centos/2022-September/715699.html
> 
> How to use kmods in EL 9.
> 
> Just in case somebody comes here.

Thanks ,I added the info on wiki (https://rpmfusion.org/Howto/VirtualBox#Install_virtual-guest-additions_on_Centos_9_.28stream.29 )
Comment 14 Thomas Stephen Lee 2022-09-23 09:29:58 CEST
Thanks, Sérgio

The steps that I did are

$ wget https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Kmods -O /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-SIG-Kmods

$ wget https://gitlab.com/CentOS/kmods/rpms/centos-release-kmods/-/raw/c9/centos-kmods.repo -O /etc/yum.repos.d/centos-kmods.repo

$ dnf install kmod-vbox-guest-additions

As per Peter Georg in the mail thread, these steps will not be needed in the future.