| Summary: | RPM package does not have debug symbols | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Vikas Gorur <vikas> |
| Component: | build | Assignee: | Lakshmipathi G <lakshmipathi> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.1.0 | CC: | fharshav, gluster-bugs, vijay |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Harshavardhana
2010-10-26 19:32:53 UTC
The GlusterFS RPM packages should be built with debug symbols. Without them it is impossible to get any information if a crash happens on a production deployment. I don't think it is useful to have a "debuginfo" package like it was done in earlier versions. It would be better to simply build the default package with debuginfo. Any sysadmin who really doesn't want the symbols can always strip them. Seems like there is another method -
Adding following entry to ~/.rpmmacros file
%debug_package %{nil}
creates binary that's not striped and didn't not create separate debuginfo package.
#file /opt/glusterfs/3.2.3qa5/sbin/glusterfsd
/opt/glusterfs/3.2.3qa5/sbin/glusterfsd: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
Will include one of these two methods in version >=3.2.4
Fixed with 3.2.4 |