Robin Bowes wrote:
>
> Looking at what's installed, I see that the i386 version has different
> file permissions:
>
> -rw-r--r-- root root system_u:object_r:lib_t
> /usr/share/squeezecenter/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
> -rwxr-xr-x root root system_u:object_r:lib_t
> /usr/share/squeezecenter/CPAN/arch/5.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so
>
> So, try chmod +x
> /usr/share/squeezecenter/CPAN/arch/5.8/i386-linux-thread-multi/auto/DBD/mysql/mysql.so
>
> If that fixes things, then change the permissions in the repo, commit,
> and rebuild the RPM.
That's not the issue. I removed execute bit from the x86_64 version and
it still loaded OK for me.
I then did lsof | grep mysql.so and can see that I am using the
system-installed DBD:
# lsof | grep mysql.so
squeezece 22316 squeezecenter mem REG 253,0 116488
694187
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi/auto/DBD/mysql/mysql.so
So, it looks like the library search logic is different for x86_64 than
it is for i386.
I suggest that we need to bottom out that issue, and then we'll need to
add another SELinux rule to allow the system-provided mysql.so to be used.
R.
_______________________________________________
beta mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/beta