Bug 1096296
| Summary: | man page inaccuracy about --sig-proxy and --tty | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Lukáš Doktor <ldoktor> |
| Component: | docker | Assignee: | Michal Minar <miminar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.0 | CC: | admiller, cevich, dwalsh, golang-updates, jkeck, mattdm, mgoldman, ohadlevy, vbatts, whenry |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1087697 | Environment: | |
| Last Closed: | 2016-01-07 21:39:34 UTC | Type: | Bug |
| 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: | 1087697 | ||
| Bug Blocks: | |||
|
Description
Lukáš Doktor
2014-05-09 15:23:11 UTC
This turns out to be a bug in docker and not in the man page. I believe the conclusion was the --sig-proxy should work with --tty Neat! Glad we could do our part to help find it :D Matt has this bug been fixed upstream? Is it fixed in docker-1.0.0-10.el7.x86_64 Upstream is looking at the pull request. It still needs some work before I would say it is done and ready for inclusion in RHEL builds - need comments on how to proceed with a potentially significant change. Any update on this? Lukas upstream closed this issue as being fixed in current docker-1.3. Could you verify it, or comment on the github issue. https://github.com/docker/docker/pull/7567 Hi Daniel, if I understand the PR it was rejected. I tested it on docker-1.3.0-5.el7.HTB.x86_64 with the same results as before; tty version doesn't proxify, non-tty version does. Man pages still claim it should work even in non-TTY mode:
--sig-proxy=true|false
Proxy received signals to the process (even in non-TTY mode).
SIGCHLD, SIGSTOP, and SIGKILL are not proxied. The default is
true.
which is true, it does work even in non-TTY mode, but it does not work in TTY mode. So it's let's say confusing. Given the fact that upstream doesn't like to change this how about changing the sentence to `(only non-TTY mode)`?
That works for me. Michal can you make the PR? Sure, will do. I've easily reproduced this. And the patch from Matthew fixes this correctly. It's pity they've dismissed it. Fixed in docker-1.3.2 |