https://bugzilla.redhat.com/show_bug.cgi?id=1087697

            Bug ID: 1087697
           Summary: man page inaccuracy about --sig-proxy and --tty
           Product: Fedora
           Version: 20
         Component: docker-io
          Assignee: l...@redhat.com
          Reporter: ldok...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: admil...@redhat.com, golang@lists.fedoraproject.org,
                    l...@redhat.com, mat...@redhat.com,
                    mgold...@redhat.com, skott...@redhat.com,
                    vba...@redhat.com



Description of problem:
Hi guys,

the man page states:
            --sig-proxy=true: Proxify all received signal to the process (even
in non-tty mode)

But the real behavior is, that sig-proxy doesn't work when --tty=true. It
should be mentioned in there, taht --sig-proxy is incompatible with --tty.

Version-Release number of selected component (if applicable):
docker-io-0.9.1-1.fc21.x86_64


How reproducible:
always

Steps to Reproduce:
1. man docker


Actual results:
man page says it works even in non-tty


Expected results:
man page warns that --tty can't be used with --sig-proxy

How to verify:
1. docker run --tty=true -i --rm fedora bash -c 'for NUM in `seq 1 64`; do trap
"echo Received $NUM, ignoring..." $NUM; done; while :; do sleep 1; done'
2. ps -ax | grep docker
3. kill -SIGUSR1 $PID
4. (with --tty=true no signals are received, when you try the same with
--tty=false, signals are proxified and messages are displayed)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
golang mailing list
golang@lists.fedoraproject.org
https://lists.fedoraproject.org/mailman/listinfo/golang

Reply via email to