64-bit binaries of shotwell 0.23.2 do not get installed to the correct library directory
Submitted by Kevin McBride
Link to original bug (#767894)
Description
<Garitaiya>
hello. Currently investigating an issue with 0.23.2 where the paths are correct to the libraries. SELinux on my Fedora 23 is set to Permissive after finding an access violation in the SELinux audit log.
<Garitaiya>
for some reason, shotwell 64-bit is attempting to use the 32 bit libraries, which may have caused an access violation. Have you ever came across something like this, Jens?
<Garitaiya>
type=ANOM_ABEND msg=audit(1466458673.218:394): auid=1000 uid=1000 gid=1000 ses=1 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=11540 comm="shotwell-transi" exe="/usr/lib/shotwell/plugins/builtin/shotwell-transitions.so" sig=11
-NickServ- You are already identified.
<Garitaiya>
[kevin@SAPHIRE7 ~]$ ls /usr/lib/shotwell/plugins/builtin/shotwell-data-imports.so -l
<Garitaiya>
-rwxr-xr-x. 1 root root 553776 Jun 20 16:38 /usr/lib/shotwell/plugins/builtin/shotwell-data-imports.so
<Garitaiya>
[kevin@SAPHIRE7 ~]$ ls /usr/lib64/shotwell/plugins/builtin/shotwell-data-imports.so -l
<Garitaiya>
-rwxr-xr-x. 1 root root 155040 May 24 12:58 /usr/lib64/shotwell/plugins/builtin/shotwell-data-imports.so
<Garitaiya>
ls -l /usr/bin/shotwell
<Garitaiya>
-rwxr-xr-x. 1 root root 15085208 Jun 20 16:38 /usr/bin/shotwell
<Garitaiya>
[root@SAPHIRE7 kevin]# readelf -h /usr/bin/shotwell
<Garitaiya>
ELF Header:
<Garitaiya>
Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
<Garitaiya>
Class: ELF64
<Garitaiya>
okay, that is all the information I can provide at this time.
<Garitaiya>
after playing around with the configure script, the 64 bit libraries were put in /usr/lib. Fedora 23's SELinux did the right thing by preventing a 64 bit program from potentially opening a 32 bit library. I still have to manually move the library from /usr/usr/lib64 to /usr/lib64. All plugins do work now. I will paste my findings into a bug report.
Also, I took out an extra --lib and no longer have to manually copy the library files.
./configure --prefix=/usr --lib=lib64 --debug --install-headers
Version: 0.23.x
Resolution: RESOLVED NOTABUG