Bug 192920 - ypserv -debuginfo package is useless
Summary: ypserv -debuginfo package is useless
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: ypserv
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Chris Feist
QA Contact: Jay Turner
Depends On:
Blocks: 190430
TreeView+ depends on / blocked
Reported: 2006-05-24 08:00 UTC by Bastien Nocera
Modified: 2015-01-08 00:12 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2007-06-11 18:37:16 UTC

Attachments (Terms of Use)
ypserv-2.8-no-strip-automake-complete.patch (223.75 KB, patch)
2006-05-24 08:00 UTC, Bastien Nocera
no flags Details | Diff
ypserv-2.8-spec-file-missing-var-yp.patch (539 bytes, patch)
2006-05-24 08:01 UTC, Bastien Nocera
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0448 normal SHIPPED_LIVE ypserv bug fix update 2007-06-07 20:21:50 UTC

Description Bastien Nocera 2006-05-24 08:00:30 UTC

The ypserv Makefiles strip the binaries before installation, thus rendering the
-debuginfo package pretty useless.

Attached is a patch against the current RHEL3 ypserv-2.8-21, with aclocal-1.7
and automake-1.7 run (they're not available on RHEL3, so needed to include those
in the patch), and a build fix (ypserv wasn't linking against libresolv despite
detecting it).

Also attached is a patch for the .spec file to install the /var/yp directory and
/var/yp/Makefile. I think that installation might still fail as the real /var/yp
will be installed by the Makefile.am in scripts/:
        $(mkinstalldirs) $(DESTDIR)$(varypdir)
        $(INSTALL_DATA) $(top_builddir)/scripts/ypMakefile

Comment 1 Bastien Nocera 2006-05-24 08:00:31 UTC
Created attachment 129905 [details]

Comment 2 Bastien Nocera 2006-05-24 08:01:25 UTC
Created attachment 129906 [details]

Comment 3 Chris Feist 2007-03-09 17:40:01 UTC
This bug will be fixed in the RHEL3.9 ypserv.

I ended up doing a much smaller patch to fix the problem (just patched the
Makefiles instead of the entire autoconf file).

Comment 4 Chris Feist 2007-03-09 20:08:56 UTC
Fix has been built into ypserv-2.8-22

Comment 6 Kiersten (Kerri) Anderson 2007-03-19 17:51:46 UTC
Devel ACK.

Comment 11 Red Hat Bugzilla 2007-06-11 18:37:16 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.