Bug 679989
| Summary: | bind dies on USR1 signal (SIGUSR1) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | vince |
| Component: | bind | Assignee: | Adam Tkac <atkac> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | atkac, ovasik, vince |
| 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: | 2011-02-24 13:24:34 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: | |||
|
Description
vince
2011-02-24 02:33:34 UTC
This doesn't seem like a bug for me. Per named(8) manual page:
...
SIGNALS
In routine operation, signals should not be used to control the nameserver; rndc should be used instead.
SIGHUP
Force a reload of the server.
SIGINT, SIGTERM
Shut down the server.
The result of sending any other signals to the server is undefined.
...
May I ask you where did you find SIGUSR1/SIGUSR2 signals should increase/decrease debug output? `rndc trace` should be used instead.
Shoot, I'm showing my age here. Older named versions used SIGUSR1/SIGUSR2 to do the rndc trace function. Should the server die when receiving any other signal than the three defined? Seems like it should just ignore them instead. So, yeah, not a bug in that it's not supposed to do a debug change, but maybe it should ignore the signal altogether instead of die. (In reply to comment #2) > Shoot, I'm showing my age here. Older named versions used SIGUSR1/SIGUSR2 to do > the rndc trace function. > > Should the server die when receiving any other signal than the three defined? > Seems like it should just ignore them instead. Well, other signals use their default signal handlers. SIGUSR* default handler is to terminate the running process (check `man 7 signal`) so they do what is expected. Closing as notabug. |