[bug] Jailshell/Bubblewrap update issue (different versions)

Richard G

Verified User
Joined
Jul 6, 2008
Messages
13,776
Location
Maastricht
I just updated to the new DA version and also imagemick, jailshell and bubblewrap were updated in the process.

However, I see this at the end of the update:
Code:
imagick 3.7.0 PHP extension has been installed successfully.
Updating Jailshell
########################################
        file /usr/bin/bwrap from install of bubblewrap-0.3.3-2.el7.x86_64 conflicts with file from package bubblewrap-0.3.0-1.el7.x86_64
        file /usr/share/man/man1/bwrap.1.gz from install of bubblewrap-0.3.3-2.el7.x86_64 conflicts with file from package bubblewrap-0.3.0-1.el7.x86_64
/usr/bin/jailshell has been installed.

Now I don't care a lot about the man pages, but I do care about the binary. I don't know if the old one is overwritten by the new one or how to fix this issue.
The current /usr/bin/wrap file is from may 2022:
-rwsr-xr-x 1 root root 222K 2022-05-15 01:07 bwrap

So now I'm confused if that is the good version or what is going wrong here and how to fix it.
 
Curious so looking into this (i'm bored and it's late). Looking at the custombuild script it's just blindly installing on centos/rhel 7, it's not checking to see if it's installed first, or is an upgrade, so it's failing for using the wrong rpm setting when a version is already installed.

You can check the installed version with: bwrap --version

Wonder what the recommended/best bwrap version or max version we can use.
 
Thank you, but in that case it's happening on Almalinux 8.7 too.

Still it's odd, because packages says bublewrap 0.3.3-2 for el7, but on Centos 7 and Alma 8 the output of the command:
bwrap --version bubblewrap 0.6.2
so now I'm even more confused. :)
 
Don't have a server running a redhat derived OS to test with.

Looks like custombuild is getting the version number from /etc/redhat-release, first line that has a number. Guessing there's a 7 it's finding there.

That is confusing, as RPM thinks package 0.3.0 is installed but you clearly have 0.6.2 (at least in your path). Something installed an updated version or you have more than one? Maybe see if there is more than one? which bwrap and /usr/bin/bwrap --version if they are different you have more than one installed.
 
I have no clue. Doesn't bubblewrap also gets installed with MariaDB.

Seems indeed something is conflicting. But the "which bwrap" only gives the /usr/bin/wrap as output.

@smtalk what is this?
 
Back
Top