Comment 50 for bug 626723

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

Dave,
The problem is NOT with stty. The problem is, the apache2 init script was calling stty with the 'sane' option, which, according to the manpage, is equivalent to:
cread -ignbrk brkint -inlcr -igncr icrnl -iutf8 -ixoff -iuclc -ixany imaxbel opost -olcuc
              -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe
              echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

Which is a large number of args. Hence, the right way to fix would be to get apache to run it with only the required args. Well, due to this bug, the stty change has been reverted and 'fixed for the meantime'.