Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157142 Details for
Bug 243908
nanny blocks SIGALRM causing tftp client timeout not to be handled.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Patch for rhel5
piranha-243908.patch (text/plain), 1.73 KB, created by
Lon Hohberger
on 2007-06-15 18:45:32 UTC
(
hide
)
Description:
Patch for rhel5
Filename:
MIME Type:
Creator:
Lon Hohberger
Created:
2007-06-15 18:45:32 UTC
Size:
1.73 KB
patch
obsolete
>? RPM >? fos >? lvsd >? nanny >? piranha-0.8.0-link.patch >? pulse >? send_arp >Index: Changelog >=================================================================== >RCS file: /cvs/devel/piranha/Changelog,v >retrieving revision 1.41 >diff -u -r1.41 Changelog >--- Changelog 12 Jun 2007 15:54:06 -0000 1.41 >+++ Changelog 15 Jun 2007 18:44:17 -0000 >@@ -1,3 +1,6 @@ >+2007-06-15 Lon Hohberger <lhh@redhat.com> >+ * Fix 243908 >+ > 2007-05-07 Lon Hohberger <lhh@redhat.com> > * patch to enable 'sorry_server' support which is activated on a > per-LVS service by lvsd of all nannys monitoring a given virtual >Index: ipvs_exec.c >=================================================================== >RCS file: /cvs/devel/piranha/ipvs_exec.c,v >retrieving revision 1.1 >diff -u -r1.1 ipvs_exec.c >--- ipvs_exec.c 12 Jun 2007 15:54:06 -0000 1.1 >+++ ipvs_exec.c 15 Jun 2007 18:44:17 -0000 >@@ -44,6 +44,7 @@ > int status; > int rc; > int log_it; >+ sigset_t sigs; > > log_it = log_flag; > if (flags & NANNY_FLAG_VERBOSE) >@@ -56,6 +57,11 @@ > return 0; > > if (!(child = fork ())) { >+ sigfillset(&sigs); >+ sigprocmask(SIG_UNBLOCK, &sigs, NULL); >+ for (rc = 1; rc < _NSIG; rc++) >+ signal(rc, SIG_DFL); >+ > execv (argv[0], argv); > exit (1); > } >Index: nanny.c >=================================================================== >RCS file: /cvs/devel/piranha/nanny.c,v >retrieving revision 1.31 >diff -u -r1.31 nanny.c >--- nanny.c 12 Jun 2007 15:54:06 -0000 1.31 >+++ nanny.c 15 Jun 2007 18:44:17 -0000 >@@ -231,6 +231,12 @@ > dup2 (stderr, STDERR_FILENO); > } > >+ /* Child: Unblock & return all signals to default */ >+ sigfillset(&sigs); >+ sigprocmask(SIG_UNBLOCK, &sigs, NULL); >+ for (rc = 1; rc < _NSIG; rc++) >+ signal(rc, SIG_DFL); >+ > execvp (argv[0], argv); > exit (1); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 243908
:
157141
| 157142