#20780 closed defect (fixed)
VBox 6.1.30 and 6.1.32 GAs in S10 guests produce error on install and are unable to be uninstalled => fixed in trunk/6.1.x x>32
回報者: | rlhamil | 負責人: | |
---|---|---|---|
元件: | other | 版本: | VirtualBox 6.1.32 |
關鍵字: | 副本: | ||
Guest type: | other | Host type: | other |
描述
For the Solaris Guest Additions, the line in install/postinstall and install/preremove that looks like (give or take leading spaces:
refgroup=$(LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null)
should use backticks (
pair) rather than $( ) notation, because /bin/sh on Solaris 10 does not support $( )
Otherwise, both install and remove partially fail. (tested this by extracting the package, editing those scripts, and editing the manifest to reflect the modified sizes and checksums of those scripts)
This is actually present in at least 6.1.30 and 6.1.32.
更動歷史 (4)
comment:1 3 年 前 由 編輯
摘要: | guest additions install or remove fails on Solaris 10 → VBox 6.1.30 Guest Additions install or remove fails on Solaris 10 => fixed in 6.1.32 |
---|---|
狀態: | new → closed |
處理結果: | → fixed |
comment:2 3 年 前 由 編輯
狀態: | closed → reopened |
---|---|
處理結果: | fixed |
Note that if a Solaris 10 guest does have the 6.1.30 GAs installed the following edit to the /var/sadm/pkg/SUNWvboxguest/install/preremove file (as root) is needed in order for 'pkgrm SUNWvboxguest' to succeed:
@@ -53,7 +53,7 @@ if [ -f /etc/dev/reserved_devnames ]; then # Solaris 11 SRU6 and later use group root (check a file which isn't # tainted by VirtualBox install scripts and allow no other group) - refgroup=$(LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null) + refgroup=`LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null` if [ $? -eq 0 -a "x$refgroup" = "xroot" ]; then group=root fi
comment:3 3 年 前 由 編輯
摘要: | VBox 6.1.30 Guest Additions install or remove fails on Solaris 10 => fixed in 6.1.32 → VBox 6.1.30 and 6.1.32 GAs in S10 guests produce error on install and are unable to be uninstalled => fixed in trunk/6.1.x x>32 |
---|
Upon closer inspection it turns out that a few more files needed to be updated so the full fix will be part of the next maintenance release of VirtualBox. The fix will also be available in any Guest Additions (GAs) downloaded from the Testbuilds which are later than revision r149820.
To summarize, this issue affects VirtualBox GAs from 6.1.30 and 6.1.32 which are installed in Solaris 10 guests. Due to this issue, it isn't possible to remove the VirtualBox GAs package, SUNWvboxguest, until the following change is made to /var/sadm/pkg/SUNWvboxguest/install/preremove (as root):
@@ -53,7 +53,7 @@ if [ -f /etc/dev/reserved_devnames ]; then # Solaris 11 SRU6 and later use group root (check a file which isn't # tainted by VirtualBox install scripts and allow no other group) - refgroup=$(LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null) + refgroup=`LC_ALL=C /usr/bin/ls -lL /etc/dev/reserved_devnames | awk '{ print $4 }' 2>/dev/null` if [ $? -eq 0 -a "x$refgroup" = "xroot" ]; then group=root fi
comment:4 3 年 前 由 編輯
狀態: | reopened → closed |
---|---|
處理結果: | → fixed |
The issue should be fixed in VirtualBox 6.1.34. Closing.
This was introduced in VirtualBox 6.1.30 but is fixed in 6.1.32: