Bug 145992
| Summary: | crond does not explicitly open file descriptor 0 if it is not available while startup | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 3 | Reporter: | Mustafa Mahudhawala <mmahudha> | ||||
| Component: | vixie-cron | Assignee: | Jason Vas Dias <jvdias> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Brock Organ <borgan> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.0 | CC: | katzj, laroche | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | i386 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2005-05-20 00:05:24 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: | |||||||
| Attachments: |
|
||||||
|
Description
Mustafa Mahudhawala
2005-01-24 16:18:09 UTC
Created attachment 110129 [details]
Patch to open fd 0 if not already open
This patch needs to be applied after all the other vixie-cron-3.0.1 patches
have been applied
This problem is now fixed in vixie-cron-4.1-2_EL3, which is the latest version for RHEL-3, currently undergoing QA testing, and which should be in RHEL-3-U5. Meanwhile, you can download it from: http://people.redhat.com/~jvdias/vixie-cron/RHEL-3 Thank You Jason, vixie-cron-4.1-2_EL3 works fine. Btw, just to correct my explaination, stdin_pipe[READ_PIPE] is un-intentionally closed not by setsid, but by close(STDIN) called just before dup2(stdin_pipe[READ_PIPE], STDIN) since it was using fd 0. 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. http://rhn.redhat.com/errata/RHBA-2005-291.html |