From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010712 Description of problem: pdksh-5.2.14-13 that has shown up with roswell has a awfully annoying tty job control message being printed to STDOUT when ksh is invoked. busted5$ ksh ksh: No controlling tty (open /dev/tty: No such device or address) ksh: warning: won't have full job control How reproducible: Always Steps to Reproduce: 1. type 'ksh' 2. 3. Actual Results: busted5$ ksh ksh: No controlling tty (open /dev/tty: No such device or address) ksh: warning: won't have full job control Expected Results: no printing of tty warning Additional info: 5.2.14-12 did not have this 'feature', could this not be enabled by default?
It doesn't happen for me - it works fine. The only change from -12 (shipped in RHL 7.1) to -13 is a rebuild, and I can't reproduce the problem. Have you done anything to your system, like compiling your own kernel?
We (Red Hat) should try to fix this before next release.
I'll do some additional checking and see if I can figure what is causing the message to be displayed, and if it is indeed coming from the ksh sources. I'm using the stock 2.4.6-3.1 kernel provided by redhat. asdfjkl$ rsh busted4 ksh: No controlling tty (open /dev/tty: No such device or address) ksh: warning: won't have full job control busted4$ uname -a Linux busted4 2.4.6-3.1smp #1 SMP Tue Jul 24 15:38:18 EDT 2001 ia64 unknown busted4$
Can you try util-linux from the rawhide push yesterday (util-linux-2.11f-8 )?
No help. # rpm -Uvh util-linux-2.11f-8.ia64.rpm --force --nodeps Preparing... ########################################### [100%] 1:util-linux ########################################### [100%] # ksh ksh: No controlling tty (open /dev/tty: No such device or address) ksh: warning: won't have full job control #
Can you check if this is a problem also after a restart? I'm not sure what could cause this... I'm confident it's not pdksh problem, and it doesn't happen for me with same ksh (but newer binaries all around it..)
The issue appears to be rather transient. I don't get it on every single login. asdfjkl$ rsh busted4 ksh: No controlling tty (open /dev/tty: No such device or address) ksh: warning: won't have full job control busted4$ exit rlogin: connection closed. asdfjkl$ rsh busted4 busted4$
*** This bug has been marked as a duplicate of 51044 ***