Bug 842228
Summary: | nis ypbind crash because SIGPIPE is not caught | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Honza Horak <hhorak> | ||||
Component: | ypbind | Assignee: | Honza Horak <hhorak> | ||||
Status: | CLOSED ERRATA | QA Contact: | Jakub Prokes <jprokes> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 6.4 | CC: | jprokes, mmuzila, olchansk, ovasik, psklenar, tlavigne, todoleza | ||||
Target Milestone: | rc | Keywords: | Patch | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: |
Cause:
SIGPIPE is not in the proper signal set
Consequence:
ypbind crash when network connectivity is lost
Fix:
Add SIGPIPE to the proper signal set
Result:
ypbind does not crash
|
Story Points: | --- | ||||
Clone Of: | 717069 | Environment: | |||||
Last Closed: | 2015-07-22 06:44:30 UTC | Type: | --- | ||||
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: | 717069 | ||||||
Bug Blocks: | 947782, 1159825 | ||||||
Attachments: |
|
Description
Honza Horak
2012-07-23 08:06:38 UTC
In RHEL-6 there is already SIGPIPE masked, but is missing in sigwait call. Unlike in RHEL-5, where ypbind crashes when receiving SIGPIPE, in RHEL-6 only a message "Ignoring SIGPIPE" is missing, but ypbind doesn't crash, because the signal is masked properly. So fixing this is only a cosmetic and missing fix wouldn't be actually a regression. Created attachment 599711 [details]
add SIGPIPE to proper signal set
There is no reproducer, but it has been fixed upstream for long time, so let's take this as sanity fix. I am the original reporter of this problem. Thank you for pushing the patch through. FWIW, with el6 I see evidence that ypbind sometimes quits when network connection is down for long periods of time. This is with releases 6.5, 6.6. Was unable to reproduce this under controlled conditions yet. In el7 same problem? Cannot tell, only have one machine in testing. K.O. (In reply to Konstantin Olchanski from comment #19) > FWIW, with el6 I see evidence that ypbind sometimes quits when network > connection is down for long periods of time. This is with releases 6.5, 6.6. > Was unable to reproduce this under controlled conditions yet. In el7 same > problem? Cannot tell, only have one machine in testing. First time hearing that, so would be glad for any further info, in case you're able to find something. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1332.html |