[bitnami/php-fpm] Where we can find the php-fpm debug symbol file?
Opened this issue · 1 comments
Name and Version
bitnami/wordpress-nginx:6.7.1
What architecture are you using?
amd64
What steps will reproduce the bug?
When run gdb /opt/bitnami/php/sbin/php-fpm
it shows no debugging symbols found
$ gdb /opt/bitnami/php/sbin/php-fpm
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/bitnami/php/sbin/php-fpm...
(No debugging symbols found in /opt/bitnami/php/sbin/php-fpm)
What is the expected behavior?
It's better to include the debug symbol file within the image itself. Or provide an external way to be able to download the debug symbol files separately
What do you see instead?
No debugging symbols found in /opt/bitnami/php/sbin/php-fpm
Additional information
I tried to install the debug symbol file from the debian website through
echo "deb http://deb.debian.org/debian-debug/ bookworm-debug main" >> /etc/apt/sources.list
apt-get install php8.2-fpm-dbgsym
But the build id is different from what we actually use in the bitnami/wordpress-nginx image.
Thanks @xahhy for using bitnami/containers.
I am afraid we can not include this information in the image. We try to avoid any debug information or tool (gdb
is not part of the bitnami/wordpress-nginx image) in our images to reduce the size the surface area for vulnerabilities and enhances security. These lean images also improve performance by limiting the container to only essential components, making them a reliable choice for production environments.