Bug 63596
| Summary: | missing stdout/stderr breaks hotplug /sbin/ifup | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Sam Varshavchik <mrsam> |
| Component: | initscripts | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED DUPLICATE | QA Contact: | Brock Organ <borgan> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.3 | CC: | rvokal |
| 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: | 2002-04-16 03:28:26 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: | |||
My hotplug isn't hotplugging. Despite reassuring beeps, the pcmcia card does not come up when it should. Manually running 'ifup eth0' works. Further investigation revealed this is what happens each time /sbin/ifup runs grep, when it is kicked off by /etc/hotplug/net.agent: execve("/bin/grep", ["grep", "eth0"], [/* 7 vars */]) = 0 ... close(1) = -1 EBADF (Bad file descriptor) write(2, "grep: ", 6) = -1 EBADF (Bad file descriptor) write(2, "write error", 11) = -1 EBADF (Bad file descriptor) write(2, ": Bad file descriptor", 21) = -1 EBADF (Bad file descriptor) write(2, "\n", 1) = -1 EBADF (Bad file descriptor) _exit(1) = ? Looks like there's no stdout or stderr. As a temporary fix, adding exec 1>/dev/null to /sbin/ifup gets hotplug working again. Not sure if this is the right fix.