Bug 1563157
| Summary: | ppp: Partial Fedora build flags injection | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
| Component: | ppp | Assignee: | Jaroslav Škarvada <jskarvad> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 28 | CC: | fweimer, jaskalnik, jskarvad, jsynacek, me, msekleta, thaller, thozza |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ppp-2.4.7-19.fc28 ppp-2.4.7-21.fc28 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-10 22:58:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1539083 | ||
|
Description
Florian Weimer
2018-04-03 09:45:46 UTC
ppp-2.4.7-19.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1c76f6986b ppp-2.4.7-19.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-1c76f6986b Sorry, but in ppp-2.4.7-19.fc28.x86_64, LDFLAGS are still missing from the invocation of the linker for the plug-ins, for example: cc -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o ppp-2.4.7-19.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. (In reply to Florian Weimer from comment #3) > Sorry, but in ppp-2.4.7-19.fc28.x86_64, LDFLAGS are still missing from the > invocation of the linker for the plug-ins, for example: > > cc -o rp-pppoe.so -shared plugin.o discovery.o if.o common.o Thanks for testing, new version ppp-2.4.7-20 should fix it. ppp-2.4.7-20.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-bee1f20ab4 Now:
$ LD_DEBUG=all LD_BIND_NOW=1 LD_PRELOAD=/usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so /usr/sbin/pppd --help
...
4609: relocation processing: /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so
4609: symbol=ip_up_notifier; lookup in file=/usr/sbin/pppd [0]
4609: symbol=ip_up_notifier; lookup in file=/usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so [0]
4609: symbol=ip_up_notifier; lookup in file=/lib64/libudev.so.1 [0]
...
4609: symbol=ip_up_notifier; lookup in file=/lib64/libpcre2-8.so.0 [0]
4609: /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so: error: symbol lookup error: undefined symbol: ip_up_notifier (fatal)
/usr/sbin/pppd: symbol lookup error: /usr/lib64/pppd/2.4.7/nm-pptp-pppd-plugin.so: undefined symbol: ip_up_notifier
with NetworkManager-pptp-1.2.6-1.fc28.x86_64.
It works against ppp-2.4.7-18.fc28.x86_64, but fails against -19 and -20.
See
- https://bugzilla.redhat.com/show_bug.cgi?id=1564459
- https://bugzilla.redhat.com/show_bug.cgi?id=1564598
Florian, do you know what's the problem?
The daemon program is no longer linked with -Wl,-E for some reason, which prevents exports of the symbols used by the plug-ins. The Fedora build flags are compatbible with -Wl,-E, it's just that the ppp makefile no longer passes the flag. ppp-2.4.7-20.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-bee1f20ab4 ppp-2.4.7-21.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5ee177b23 ppp-2.4.7-21.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d5ee177b23 ppp-2.4.7-21.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 1564598 has been marked as a duplicate of this bug. *** |