Bug 13387

Summary: [Update Request 2021] virtualbox 7.0.6 -> 7.0.8 (kernel 6.3.x support)
Product: [ROSA-based products] ROSA Fresh Reporter: Giovanni Mariani <mc2374>
Component: Packages from MainAssignee: ROSA Linux Bugs <bugs>
Status: VERIFIED FIXED QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: a.proklov, e.malashin, survolog, v.potapov, victorr2007
Version: Plasma5Flags: v.potapov: qa_verified+
a.proklov: published+
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Platform: 2021.1 ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:
Attachments: слетел перевод
и ещё тут

Description Giovanni Mariani 2023-05-28 18:45:53 MSK
Bring virtualbox package to the latest 7.0.8 release to add support for kernel 6.3.x.
Comment 1 Giovanni Mariani 2023-05-28 18:47:08 MSK
Advisory:
Update virtualbox to the latest 7.0.8 release.

Packages for Rosa 2021.1 / Main:
https://abf.rosalinux.ru/build_lists/4446410
https://abf.rosalinux.ru/build_lists/4446411
Comment 2 e.malashin@rosalinux.ru 2023-05-31 16:25:28 MSK
Created attachment 5902 [details]
слетел перевод
Comment 3 e.malashin@rosalinux.ru 2023-05-31 16:27:17 MSK
Created attachment 5903 [details]
и ещё тут
Comment 4 Giovanni Mariani 2023-05-31 17:45:30 MSK
(In reply to e.malashin@rosalinux.ru from comment #3)
> Created attachment 5903 [details]
> и ещё тут
(In reply to e.malashin@rosalinux.ru from comment #2)
> Created attachment 5902 [details]
> слетел перевод

Someone knowing about Russian must update the translation files... I cannot do it.
Comment 5 VictorR2007 2023-06-02 15:41:38 MSK
Fixed Russian translation

Packages for Rosa 2021.1

https://abf.rosalinux.ru/build_lists/4461759
https://abf.rosalinux.ru/build_lists/4461765
Comment 6 Vladimir Potapov 2023-06-02 17:49:04 MSK
(In reply to VictorR2007 from comment #5)
> Fixed Russian translation
> 
> Packages for Rosa 2021.1
> 
> https://abf.rosalinux.ru/build_lists/4461759
> https://abf.rosalinux.ru/build_lists/4461765

***********************************************
The update sent to testings
Comment 7 Vladimir Potapov 2023-06-05 12:50:31 MSK
Can't open PID file /run/user/500/.vboxclient-clipboard.pid (yet?) after start: Operation not permitted
Comment 8 Vladimir Potapov 2023-06-05 12:52:41 MSK
VirtualBox-7.0.6-pidfile-path.patch need added
Comment 9 Giovanni Mariani 2023-06-05 16:58:31 MSK
(In reply to Vladimir Potapov from comment #8)
> VirtualBox-7.0.6-pidfile-path.patch need added
This won't apply...
It's missing a critical part in src/VBox/Additions/x11/VBoxClient/main.cpp (ie where it should be used the stuff added in the patch other hunks):
********************************************
diff -ur VirtualBox-7.0.6/src/VBox/Additions/x11/VBoxClient/main.cpp VirtualBox-7.0.6_patched/src/VBox/Additions/x11/VBoxClient/main.cpp
--- VirtualBox-7.0.6/src/VBox/Additions/x11/VBoxClient/main.cpp	2023-01-11 17:35:45.000000000 +0300
+++ VirtualBox-7.0.6_patched/src/VBox/Additions/x11/VBoxClient/main.cpp	2023-03-07 11:28:18.015459434 +0300
@@ -607,9 +607,9 @@
         VBClLogFatalError("Initializing critical section failed: %Rrc\n", rc);
     if (g_Service.pDesc->pszPidFilePath)
     {
-        rc = RTPathUserHome(g_szPidFile, sizeof(g_szPidFile));
+        rc = RTPathPidFile(g_szPidFile, sizeof(g_szPidFile));
         if (RT_FAILURE(rc))
-            VBClLogFatalError("Getting home directory failed: %Rrc\n", rc);
+            VBClLogFatalError("Getting PIDfile directory failed: %Rrc\n", rc);
         rc = RTPathAppend(g_szPidFile, sizeof(g_szPidFile), g_Service.pDesc->pszPidFilePath);
         if (RT_FAILURE(rc))
             VBClLogFatalError("Creating PID file path failed: %Rrc\n", rc);
************************************************

This simply does not match what is in the main.cpp from 7.0.8 sources: see lines 436-491 and 742-774.
ATM, by looking at the files, I have no idea how to adapt the old patch to the new sources...
Comment 10 Grigorev Andrey 2023-06-05 17:40:48 MSK
Revert pidfile path patch.
Let's try for luck.

virtualbox 7.0.8-3
https://abf.io/build_lists/4480469
https://abf.io/build_lists/4480468
Comment 11 Vladimir Potapov 2023-06-05 17:47:59 MSK
(In reply to Grigorev Andrey from comment #10)
> Revert pidfile path patch.
> Let's try for luck.
> 
> virtualbox 7.0.8-3
> https://abf.io/build_lists/4480469
> https://abf.io/build_lists/4480468

Can't open PID file /run/user/500/.vboxclient-clipboard.pid (yet?) after start: Operation not permitted
Comment 13 Vladimir Potapov 2023-06-05 18:53:44 MSK
(In reply to Vladimir Potapov from comment #12)
> virtualbox-7.0.8-4
> https://abf.rosalinux.ru/build_lists/4480569
> https://abf.rosalinux.ru/build_lists/4480568
**************************************************
The update sent to testings
Comment 14 Vladimir Potapov 2023-06-15 10:53:51 MSK
virtualbox-7.0.8-4
https://abf.rosalinux.ru/build_lists/4480569
https://abf.rosalinux.ru/build_lists/4480568
*************************** Advisory **************************
Update virtualbox to the latest 7.0.8 release.
***************************************************************
QA Verified